One Final Question...
i want to use actionscript to display a drop down list which when an item is selected changes the properties of different text boxes. I have this attached example but need to relate it to my xml. Any ideas how i can refer it to my xml so that it displays artists names? (my xml attached too "Album.xml")
I have a reasonable understanding of xml, my action script is a little rusty.
Cheers, Ben.
SitePoint > Design Your Site > Flash and Actionscript
Posted on: May 22, 2006, 14:37
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Final Cut Pro >> Flv
Hai,
Im exporting clips of an project i've done in FCP to flv.
But I only get sound and an still frame.. no moving picture...
someone ?
please help
cheers
Final Code
Oops (this is a reply to the following message:
http://board.flashkit.com/board/show...hreadid=198199 )
Thanx for you'r reply. I finally came up with this code:
Code:
if (var1 ne "") {
var1length = _level0.var1.length;
// THE SPLIT FUNCTION CREATES AN ARRAY OF WORDS
var words = var2.split(" ");
for (i=0; words[i] != undefined; i++) {
set ("wrd" add i, words[i]);
set ("wrd" add i add "length", words[i].length);
nrWords = i;
}
nrWords++;
stop ();
} else {
gotoAndPlay (1);
}
//
//
main._visible = false;
i = 0;
xpos = main._x;
while (i<nrWords) {
duplicateMovieClip ("main", "main" add i, i);
q = eval("main" add i);
wordWidth = getStringWidth(eval("wrd" add i), 2.0, 2.1, 2.2, 2.3, 2.5, 3.4, 4.3, 4.5, 4.8, 5, 5.2, 5.4, 5.8, 5.9, 6.2, 6.3, 6.6, 6.7, 6.8, 7.0, 7.2, 7.3, 7.4, 7.5, 7.7, 7.8, 7.9, 8.0, 8.2, 8.3, 8.4, 8.6, 8.8, 8.9, 9.2, 9.9, 10.8, 11.4, 12.7, 13.7, 4);
// trace ("wordlength = " add eval("wrd" add i add "length") add " - " add i add " = " add wordWidth);
// trace (xpos);
//trace ("wordWidth" add i add " = " add wordWidth);
q._x = xpos;
q.title = eval("wrd" add i);
q._visible = true;
i++;
letterWidth = 3;
space = 11;
xpos += wordWidth+space;
}
//
//
// Returns the width of a lowercase string of text
// displayed in a proportional space font
function getStringWidth (theWord, width1, width2, width3, width4, width5, width6, width7, width8, width9, width10, width11, width12, width13, width14, width15, width16, width17, width18, width19, width20, width21, width22, width23, width24, width25, width26, width27, width28, width29, width30, width31, width32, width33, width34, width35, width36, width37, width38, width39, width40, charWidth) {
// Create a temp variable to store the width
// of the word
var wordWidth = 0;
// Cycle through each letter in the string.
for (var i = 1; i<=theWord.length; i++) {
// Determine the current character.
// Don't use charAt() cause it's so slow in Flash 5.
// Use Flash 4's old substring function cause it's quick.
thisChar = substring(theWord, i, 1);
// Add different amounts of room depending
// on the letter. Depending on the font some
// custom tweaking may be required.
if (thisChar == "'") {
wordWidth += Width1;
} else if (thisChar == "i" || thisChar == "l") {
wordWidth += Width2;
} else if (thisChar == ".") {
wordWidth += Width3;
} else if (thisChar == ":") {
wordWidth += Width4;
} else if (thisChar == "!") {
wordWidth += Width5;
} else if (thisChar == ";" || thisChar == ",") {
wordWidth += Width6;
} else if (thisChar == "j") {
wordWidth += Width7;
} else if (thisChar == "(" || thisChar == ")" || thisChar == "-") {
wordWidth += Width8;
} else if (thisChar == "r") {
wordWidth += Width9;
} else if (thisChar == "f" || thisChar == "t") {
wordWidth += Width10;
} else if (thisChar == "I" || thisChar == '"') {
wordWidth += Width11;
} else if (thisChar == "J") {
wordWidth += Width12;
} else if (thisChar == "1") {
wordWidth += Width13;
} else if (thisChar == "?") {
wordWidth += Width14;
} else if (thisChar == "c" || thisChar == "s" || thisChar == "*") {
wordWidth += Width15;
} else if (thisChar == "z" || thisChar == "E" || thisChar == "F" || thisChar == "L") {
wordWidth += Width16;
} else if (thisChar == "h") {
wordWidth += Width17;
} else if (thisChar == "a" || thisChar == "n" || thisChar == "u") {
wordWidth += Width18;
} else if (thisChar == "b" || thisChar == "2" || thisChar == "5" || thisCHar == "7") {
wordWidth += Width19;
} else if (thisChar == "d" || thisChar == "e" || thisChar == "g" || thisChar == "k" || thisChar == "p" || thisChar == "k" || thisChar == "p" || thisChar == "q" || thisChar == "3" || thisChar == "$") {
wordWidth += Width20;
} else if (thisChar == "6" || thisChar == "9") {
wordWidth += Width21;
} else if (thisChar == "o" || thisChar == "P" || thisChar == "8" || thisChar == "0") {
wordWidth += Width22;
} else if (thisChar == "v" || thisChar == "Z") {
wordWidth += Width23;
} else if (thisChar == "y" || thisChar == "B" || thisChar == "C" || thisChar == "S" || thisChar == "4" || thisChar == "=") {
wordWidth += Width24;
} else if (thisChar == "x" || thisChar == "T") {
wordWidth += Width25;
} else if (thisChar == "H" || thisChar == "U" || thisChar == ">" || thisChar == "<") {
wordWidth += Width26;
} else if (thisChar == "+") {
wordWidth += Width27;
} else if (thisChar == "N") {
wordWidth += Width28;
} else if (thisChar == "G" || thisChar == "K") {
wordWidth += Width29;
} else if (thisChar == "D") {
wordWidth += Width30;
} else if (thisChar == "R") {
wordWidth += Width31;
} else if (thisChar == "Y") {
wordWidth += Width32;
} else if (thisChar == "Q" || thisChar == "X") {
wordWidth += Width33;
} else if (thisChar == "A" || thisChar == "O" || thisChar == "V") {
wordWidth += Width34;
} else if (thisChar == "M") {
wordWidth += Width35;
} else if (thisChar == "@" || thisChar == "&") {
wordWidth += Width36;
} else if (thisChar == "m") {
wordWidth += Width37;
} else if (thisChar == "w") {
wordWidth += Width38;
} else if (thisChar == "W") {
wordWidth += Width39;
} else if (thisChar == "%") {
wordWidth += Width40;
} else {
wordWidth += charWidth;
}
}
return wordWidth;
}
You can see a working example at: http://www.flashpro.nl/data.swf
Thanx again....
[Edited by flash.pro on 08-31-2001 at 06:54 AM]
Final Button
i want to put a buuton on my final *swf who will do something like this
if (button click)
{
open (www.mypage.com)
}else{
wait until button is presed;(and don't loop again the animation)
}
how can i do somethink like this ?
Final Swf Size
My final swf size for a publication to the web is 1.4 megs, is that just outrageously huge? I have a bunch of pretty big jpgs, so there really isn't anything i can do about it. IS is even possibe for a dial up user to view it within 2 or three minutes? how accurate is the streaming graph in Flash?? Thanks all!!!
The Final Level
all right.
how do i load ext. variables to an mc on the stage? and/or, how do i target items by a specific layer (ie duplicated mc's)?
this is an embarrassing question i am still confused by. i'm trying to load the variables of a txt file into a mc on the stage. i want them to load into a mc because i'm trying to build a pre-fab dynamic scroller, where i can just drop it into any movie i make.
but now i'm havin troubles... i do not seem to understand how the the levels are working. inside the movie scroller MC, i use this code:
Code:
loadVariablesNum("textfile.txt", 0);
when the scene this code is in is tested, it works. because the scene that is tested is treated as the _root level. if i test the movie, the code doesn't work.
ok, that makes sense. but when i try to target the level as "1", nothing happens.
this is how i understand it:
Code:
_level0, _level1, _level2, ... _levelN
_root.parent.child.... childN
any enlightenment or explanation will be much appreciated.
thanks,
jwt
Final EXE Question
Okay this is my problem. First of all i'm using Flash MX and i'm trying to have a button to link to a .exe file. The .exe file is named install.exe. The code that i have been trying is this if anyone has anything to help that would be great. The file and the movie are in the same folder.
on (release){
fscommand("exec","install.exe");
}
Final Swf To Vcd Help Topic
Ok this is the last time I will ask this. It seems that it drops to the bottom and nobody see it. My question is if you can convert an INTERACTIVE flash movie to a dvd or vcd. I do not know of a way to do it with keeping the interactive thing working. Any help is thanked!
Final Project, Please Help
Using Flash MX.
Hello,
We have three buttons and when they are pressed we want a Movieclip to play. We have tried putting the three buttons into an array but if you click one button in the array the Movieclip plays. All three buttons must be clicked before the clip plays.
Any Ideas?
Final Help For The Night
OK, got it sorted how I want it, just can't get the on(release) to work.
Must be simple... ...please help.
TIA
Final Shape
Is there how can you make the published version of the fla be an od shape, say for example the movie is a simple circle, the entire movie is the circle and not a circle within the flash square so you could click around the circle and it would come up with a normal menu not the flash one.
ive seen it in lots of places where the movie is like a curved border at the top and so on.
thanks for any help.
Static Or Final ?
Hi,
How is it possible to make a variable constant or final in actionscript ?
Help With The Final Tweeks
Hi,
I have posted a few times about this site before but still have a few questions.
site
Firstly if you look at some of the text it is still a little blurred. I have made sure that it is all sitting directly on top of a pixel which work for most of the text, but not for all of it.
I am using static text boxes at the moment if that helps?
Could the problem be something to do with characters?
Thanks in advance.
Dave
[FINAL]SpeedTester
This is my first movie using AS3 and made with my new laptop, which suppose to be fast!!! but i am not sure if my laptop is actually fast, so i make my first movie in as3 to see if my laptop really fast, by comparing it to others.
my specs are: intel core 2 duo processor T7300 2ghz, 2RAM, geforce 8600.
here is the link: SpeedTester
the description is inside there, but i'll copy it here anyway:
This is how Arian speedmeter works: Every frame (30FPS) a new very small movieclip will be created randomly
somewhere in the middle of the window. The number at the left shows the number of created movieclip. The other one shows the number of MovieClip created per second which will tend to decrease. You can use 90% or 50% rate
decrease to compare your computer with mine. 90% means when the number at the right falls to 27, and 50% when it falls to 15.
Arian's PC =
90% performance at 3186:27
50% performance at 6800:15
and, if possible, please download the link and play it not using player plugged in your browser, but play it using flash player 9. so it run at full speed! and could you please post your computer specs and your performance so i have an idea of... whether my code is working...
Exporting SWF For Final Cut Pro
Hello and thank you in advance for your help. I am exporting a Flash movie to use in my FCP movie, which will be output ultimately on VHS. I can use either a quicktime movie or a SWF in final cut and before I render it it looks fine. As soon as I render it, however it looks very blurry.
Do any of you know how to make Flsh movies render well in FCP?
Thanks!
El.
FLV Export From Final Cut Pro
Hi Folks,
I've been reading and reading and just want to know what is the right way to go about exporting video from a third party application like Final Cut Pro. Yes, the easy way is to Export>quicktime conversion and go from there. If this is the best way then great, But i'm wondering if exporting as a lossless quicktime codec such as the Video codec or the Anitmation codec would be a better choice then go to the flash video encoder with the lossless file. I heard that exporting straight out of FCP could be bad as the video needs to be deinterlaced before the flv stage.
If this is the case, what are the best settings when exporting a lossless quicktime file? There are about 6 setting s that need to be set and I haven't a clue what would be the right settings.
If exporting from final cut straight to flv, are you folks dropping the frame rate to 15 fps(cutting your frames in half). Is this working better for you?
Well thanks for all your help, I keep on testing short clips and can't seem to find a any certain configuration that i really like.
hanks so much for all your help.
todd
Need Some Final Help Finishing Nav Bar
Ok, ggshow helped me out alot with this animated button nav bar, so it's almost done, but there are some final bugs I need to work out. Here's the file and I'll explain the problems...
navnew2.fla
The top nav is the old one that I worked up, which I left in for reference. The bottom one is working fine, although here are the problems...
1. The font isn't showing up in the Squareslab bold font, how can I change that?
2. When the star animates larger, it ends up upside down at the end, how can I make it so it animates to straight up?
3. I'd like to space out the buttons a little more, now since the buttons are all different sizes, do I have to do that manually or is there a way to space them out evenly automatically?
4. How would I put a click sound on the buttons and link them (I already downloaded some pretty cool clicks). I saw some tutorials on how to add sounds and links but I was wondering if I would have to do it differently based on the actionscript.
I need to get this done fast, so any help is really appreciated. This board has really come through for me and I'm learning alot, thanks!
Flash 9 And Final Cut Pro 6
I am from an animation company, and we use Flash to animate. Our current version is Flash 9 and our sequences will be delivered as HD at 24fps. We are running tests at the moment, and have come into some problems. In Flash 9, we are exporting the sequence as a quicktime movie, and then importing that sequence into Final Cut Pro. We've noticed that although the length of the sequence is constant, frames appear to have been dropped, being that at 10fps as opposed to 24fps. Also the file size is approximately 2GB. We then tried to export the sequence as an image sequence, and then converting it to a quicktime movie. After importing the quicktime movie into FCP, the frame count and length were maintained although, when played back, slight "choppiness" occurs in the animation.
Can anyone suggest how we could resolve this issue? Your help will be most appreciated. Thank you.
Help On Score Final
When the user has whatever score, I need it to go to a specific frame and play. Apparently, the script I'm using is only sending it to one frame no matter what score. (which is 170.) Is my script wrong? (This script is in a frame. The score comes from button actions, its a quiz.) Thanks!!
if (score + 0)
{
gotoAndPlay(174);
}
else if (score + 1)
{
gotoAndPlay(170);
}
else if (score + 2)
{
gotoAndPlay(166);
}
else if (score + 3)
{
gotoAndPlay(162);
}
else if (score + 4)
{
gotoAndPlay(158);
}
else if (score + 5)
{
gotoAndPlay(154);
} // end if
// end if
A Final XML Question
Thanks to lots of help from people on the forum, I've managed to target an XML file from a _mc on my main timeline.
On my main timeline I have the following:
Code:
var My_XML:XML = new XML();
var rootXML1;
My_XML.ignoreWhite = true;
My_XML.onLoad = function(success:Boolean){
rootXML1 = this.childNodes;
trace(this.status);
if (success){
trace(this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue);
_root.question_mc.gotoAndPlay(2);
gotoAndPlay(3);
} else {
trace("fail");
}
}
My_XML.load(_global.fileName);
And in a movie clip I have:
Code:
question_txt.text = _root.rootXML1;
It works - but it displays the entire XML file in the question_txt.text box.
How do I narrow this down to display only one piece of information form my XML file?
In the past, I have used 'childNodes[0]...' etc but I can't seem to get this to work in this instance.
Any help would be gratefully received - you have no idea how long I have laboured over this simple problem!
Thanks for the help so far,
David
Final Problem, Anyone Know?
hi guys, basically my .swf is all complete and everything works fine apart from one thing.
when hosted online, and you go to veiw the .swf, it is just a white area until its completely loaded and then plays from frame 1. However i have a prelaoder and it works fine when tested within flash. I thought it was the preloader so ive changed it a number of times and its still not loading from frame one but still works fine tested in flash, its just waiting to load the whole .swf until it plays. any ideas why?
also im sure i saw a setting somewhere about how the .swf is streamed over the internet? maybe its that. Please help!
Here's The Final Product
Folks,
This is my first cartoon animation ever made.
Thank you all for helping me out and answering my never ending questions. Welcome any feedback on the movie or the site.
www.jonwee.com/tutorials/elvis/
How Do I Compress My Final SWF's?
Last edited by bonk : 2004-02-03 at 10:59.
I was wondering what are the best 3rd party apps or techniques for compressing flash movies on a MAC? You help is appreciated.
-Bonk
Help On Score Final
When the user has whatever score, I need it to go to a specific frame and play. Apparently, the script I'm using is only sending it to one frame no matter what score. (which is 170.) Is my script wrong? (This script is in a frame. The score comes from button actions, its a quiz.) Thanks!!
if (score + 0)
{
gotoAndPlay(174);
}
else if (score + 1)
{
gotoAndPlay(170);
}
else if (score + 2)
{
gotoAndPlay(166);
}
else if (score + 3)
{
gotoAndPlay(162);
}
else if (score + 4)
{
gotoAndPlay(158);
}
else if (score + 5)
{
gotoAndPlay(154);
} // end if
// end if
One Final (hopefully) Question...
Thank you all for your help so far. I could not have come this far without it.
My swf is done, I have a nice flv player controlled by a xml playlist based on Lee's tuts and your help, and all is well. Works great. Then I thought it would be cool to add a little animation to happen befor the flv starts playing. My backround image is of a movie theater. I would like to have the screen drop down FIRST, then have the flv start playing.
I tried adding my screen on it's own layer, converted it to a movie clip, double clicked the movie clip and had it move, then stop. Then I went back to the main scene and moved my action layer keyframe to after the screen comes down. I then tried it out and the swf just kind of flashes white and I can hear the movie play/stop/play/stop.
What am I doing wrong? It seems simple enough to do. Is there a way to keep the action layer as is and just put a delay in the actual script?
Jay
Sorry Problem With Post // Final One
Ok., I'm duplicating a MC with
amount = 40;
for (i=1; i<amount; ++i) {
duplicateMovieClip ("mc0", "mc"+i, i);
eval("mc"+i)._x = eval("mc"+(i-1))._x+6;
eval("mc"+i+".num") = i;
the question is this the MC named mc has a varible in in named Text, after I duplicate the MC mc how do I set the varible in lets say the 1st thru the 3rd duplicated MC
so if I want to say
"todd" on duplicate 1 // "coker" on dupicate 2// "random" on duplicate 3
How can I talk to specific duplicated MC's ??
Please help
Final Position Probs
Hey all,
Looking for some help here with a position problem:
I have this which works.(simple mouse follow event thing)
onClipEvent (enterFrame) {
rot = Math.atan2(_root._ymouse-this._y, _root._xmouse-this._x);
this._rotation = rot*360/(2*Math.PI);
this._x -= (this._x-../:_xmouse)/10;
this._y -= (this._y-../:_ymouse)/10;
}
I want to set the final position of the mc at 450, 330, and nothing i have tried so far has been succesful.
Possible modifications please.
Regards,
The Pimp
The Final External Preloader Want It?
after a lot of messing around with a lot of external preloader problems, I have THE final external preloader.
the bar moves dynamically so the progressiveness doesnt jump.
the bar loads all the way to the end not to about 3/4 before it plays the loaded movie.
you can see it on the options at www.elena-sanchez.com
and download it from my site
give me a shout if you see any problems with it.
have fun
Final Product Help Needed
Ok I have a .swf for everyone of my areas, plus a .swf for everyone one of my pictures to cut down on the load time. Here is my prob though.
In order for my site to be up I have to upload the .html and the .swfs of everything to my server. Before, I had only one .html but how do I get just one when I have over 10 .swfs with all my areas and such? If I publish each one I get a .html for each one but I need to compile them into one large .html, is there anyway to do this??
Final EXE Question I Hope
Okay this is my problem. First of all i'm using Flash MX and i'm trying to have a button to link to a .exe file. The .exe file is named install.exe. The code that i have been trying is this if anyone has anything to help that would be great. The file and the movie are in the same folder.
on (release){
fscommand("exec","install.exe");
}
The Final Straw In Preloading
Well after all my hard work I can't get a preloader to work quite right. So I figure I can learn from example, can someone guve me there e-mail address, i'll send them the preloader and the .fla i want it to load, and then put it in there so it works, and send it back.
If you'd do me that favor it'd be much appricieated, and i promise it'll be the last time i bring up preloading...
How Can I Close A Swf With A Final Action
Ok, here I go again, I figured out how to load an external .swf into another one. Let's call the other one mom.swf and the external .swf is called alpha.swf (and beta.swf, charly.swf, etc.)
Now, I need to have my menu buttons in mom.swf to activate alpha.swf or beta.swf or charly.swf because they must be able to open seperatly, I mean that charly.swf must be able to open from alpha.swf and such.
Now here's my problem: I want all the external movies to have a "finishing action" before the other external movie is loaded.
For example:
I would like to have alpha.swf open and I want to go to beta.swf, but I when I press the beta-button I want alpha.swf to play a last salute before changing into beta.swf. But this must also be possible for all other external movies.
(alpha.swf -> charly.swf or charly.swf -> beta.swf)
Running Final Program
Hi
I have finally finished my flash program and have created the swf file. When I click on the swf file in Windows explorer it loads fine, and from what I understand (please correct me if I am wrong), a user only needs flash player to run the swf file. When my friend who as far as I know has flash player 6 installed, has tried to run my file, windows tells her that it can't find a program to run it. She has managed to view a website page of mine that has a flash movie on it!
Please help, time is running out on me!!
cheers
nottsShark
Looking For A Subject For My Final Thesis
Hi,
I am a student of information technology, and I'm trying to find something to do with flash for my final thesis. Any idea would be really welcome, as I can't find something original enough
Thank you and excuse me for my bad english..
When The Test Works Better Than The Final...
I am in the process of making my whole site in Flash. Naturally I have a couple scenes to keep things neat, but I ran into a strange problem:
if you go to my test site www.jonathandevine.com/openertest.htm and navigate personal>school, everthing works fine, there is a tiny script in the "school" button to tell it to play the transition sequence, and a small script in the last frame of that sequence to tell it to jump to the next scene; that works fine.
But on the "Art & Articles" button, it does the first part right... moving into the transition sequence, but when it hits the code that tells it to go to the A & A scene, it drops me on my ring image... the first frame of the whole movie, and it stays stuck there.
I am really confused. I know the code has the right scene and frams specified, and when I check it through Test Movie, there are no errors and it goes to the scene it is supposed to.
Any ideas on what the deal is?
Dynamic Gallery (final)
Hi
I have searched through every post on this board concerning dynamic gallerys (ie, an easily upadatable gallery with dynamic thumbnails and larger pictures) and there are alot of posts but no real answers.
I was wondering if someone could help me and all the people wanting to know how to make a dynamic image gallery, Im sure alot of people want to use it for e-commerce also.
The version posted up by buggedcom (i think) was perfect except that it was all code and wasnt adaptable.
Any help would be greatly appreciated.
Thanks
Final Year Uni Project
Hi there,
For my final year project I have decided to create an interactive aid for first year uni students. Students would be able to access a 3 dimensional head online (created in 3D Studio Max 7, can it be imported into Flash 8?) that they could type in questions to and receive answers that it omits vocally (though I may just end up using text). For example, if someone wanted to know where a certain room was they could type in 'Where is Room 123?' and the onscreen head would reply with its location.
I want to know if it is possible to do this in Flash 8 and how to do it?
Simply put, I'm not sure how to go about carrying this out and any help would be greatly appreciated!
Thanks a million in advance.
Niall
Final Year Uni Project
Hi there,
For my final year project I have decided to create an interactive aid for first year uni students. Students would be able to access a 3 dimensional head online (created in 3D Studio Max 7, can it be imported into Flash 8?) that they could type in questions to and receive answers that it omits vocally (though I may just end up using text). For example, if someone wanted to know where a certain room was they could type in 'Where is Room 123?' and the onscreen head would reply with its location.
I want to know if it is possible to do this in Flash 8 and how to do it?
Simply put, I'm not sure how to go about carrying this out and any help would be greatly appreciated!
Thanks a million in advance.
Niall
[F8] Getting Sound To Work In Final Cut Pro
Hello,
I am trying to convert a Flash file from Flash 8 so it can work in Final Cut Pro.
The images work alright but for some reason the sound does not. I converted it to a Flash 5 file so I can make it into a .mov but still nothing.
Did I miss a setting? Is what I want to attempt even possible?
Thanks in advance
Ax
Oh, I don't think this would make a difference but the Flash cartoon was made on a PC and Final Cut Pro (of course) is on a Mac.
Public 'final' Class
Is there any performance improvement by declaring your classes as final? Or is that solely for the complier checking?
Optimizing Final Swf Files
I've just finished my new website at www.clearlygreendesign.com and have been getting pretty positive feedback for the most part. I've had a few comments about slow loading times for swf files and am wondering if there is a way to optimize/compress the final swf file so it loads quicker without having to redo the entire site. I'm hoping there's a special trick or optimizing software out there to make the this easy...
Final Attempt At Flashpaper API
hi,
over the last month or so i have been trying to figure out how on earth you can, to a degree, customise the flashpaper interface. I know its not an easy thing to do and I am close to giving up. i am basically trying to find a way to display PDF files on a CDROM and have a done a few converting the PDF's to flashpapers but the interface never matches up with the rest of the graphics in the CDROM.
i have seen that for certain buttons and functions you can use your own graphics, as seen here: http://www.adobe.com/devnet/flashpap..._flpaper2.html
so this makes me think it is possible, however not being that clued up at scripting i have no idea how you would create a scrollbar to zoom in and other functions etc...
in the attached zip file i have an fla which loads in a flashpaper, uses my own graphics for next and previous page buttons and i have hidden all the features i do not need (ie search, print).
all I need to know is whether it is possible to access the code for the scrolling zoom in section and the fill screen buttons or not. i have a strong feeling its not but i thought id have one last go....
if anyone has any comments, ideas or even an alternative idea please let me know...
many thanks,
james
My Final Year Project
hi! everyone, currently i am doing my final year project on webpage, and i have an idea of using flash to do all the linkings and designs.... but i am still not quite sure abt how to use flash. Do you guys have any website that is done by flash??I need to get some ideas how flash can actually works...
Rewind To Final Frame
Hello!
I have a .fla that has a movieclip in it with an frame by frame animation of a rotating pyramid.
The script that I have, when the user drags the mouse horizontally for the right, the animations play, and for the left, it plays rewind. But when it is on frame 1 and I try to go back, it stops! Here the script:
ActionScript Code:
stop();
//
tr1.onMouseDown = function () {
flag = true;
}
tr1.onMouseUp = function () {
flag = false;
}
tr1.onMouseMove = function () {
if(flag) {
mousex = _root._xmouse;
if (tr1._currentframe == 60) {
tr1.gotoAndStop(1);
}
if((mousex - lastXMouse) > 0) {
this.gotoAndStop(this._currentframe + 1);
} else {
this.gotoAndStop(this._currentframe -1);
}
lastXMouse = mousex
}
}
How could I make the first frame go to the final frame when I drag the mouse for the left?
Thanks a lot!
Final Year Project
Guys I am starting my final year project next month and I have been looking around for a project to do but i want to strictly use flash and actionscript to develop kind of an e-lab that mainly involves drag and drop situations ,simulations and interactions between movies(an example is the cisco networking packet tracer that was developed using flash) .What topics do you know that i may put in consideration or do you know of any tutorials that i need to get my hands dirty on ?
thx
FFWD To Final Frame...
I need to create a "SKIP TO FINAL FRAME" button for Captivate. Using the PlaybackControls that come prepackaged for Captivate, while there is a button that allows you to instantly rewind to the beginning of the course, the button which looks like an exact reverse of it is actually a button which allows you to exit the browser (not skip to final frame of .swf). There is no internal capability within Captivate to perform this function.
So what I need to do is create a button (.swf) whereby it knows to skip to final frame no matter what the .swf and import this button.swf into captivate. What type of actionscripting would be required here?
Normally, I would insert a framelabel on final frame of the .swf and then insert a "go to framelabel" but since I don't have the option to do that on the Captivate timeline - was wondering if there were an actionscript command that is a univeral "skip to final frame of .swf" action?
Hope this makes sense and many thanks -
Kevin
Final Touch Ups On Website
There are 2 things I need help with.
1. When you click a button in the menu, the preloader works great, it loads an external .SWF file flawlessly, but there's a brief moment in between the "click" and the preloader where you can see the home page. It's very unprofessional looking in my opinion. If i'm wrong, let me know.
2. When viewed on a 19" moniter, the website looks great, and the bottom of the presentation is visible. When viewed on a 15" screen, I cannot see the bottom of the presentation, and I can't click on some buttons that are down there. My presentation is 1024x768
Here is the web address:
http://www.cleandesigns.net/vega/expertsystem.htm
I have my html reading:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
<title>Expert System</title>
<meta name="description" content="Expert System for Students of Homeopathy by Vega Rozenberg">
<style type="text/css">
html {
height:100%; /* fix height to 100% for IE */
max-height: 99%; /* fix height for other browsers */
padding: 0; /*remove padding */
margin: 0; /* remove margins */
border: 0; /* remove borders */
background: #ffffff /*color background - only works in IE */
overflow: hidden; /*get rid of scroll bars in IE */
overflow-y: hidden;
overflow-x: hidden;
}
body {
height: 100%; /* fix height to 100% for IE */
max-height: 99%; /* fix height for other browsers */
padding: 0; /*remove padding */
margin: 0; /* remove margins */
border: 0; /* remove borders */
hide overflow: hidden from IE5/Mac
overflow: hidden; /*get rid of scroll bars in IE */
overflow-y: hidden;
overflow-x: hidden;
}
/*
table {
height: 100%;
width: 100%;
text-align: center;
}
*/
</style>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll="no">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="100%">
<param name="movie" value="main2.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="scale" value="noscale">
<embed src="main2.swf" width="100%" height="100%" scale="noscale" quality="high" menu="false" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash">
</embed>
</object>
</body>
</html>
Why Is My Final Swf So Slow/stuttering?
Need help cause Im going out of my mind.
I have created a webpage with some frame by frame animations and
I've tried it in Flash at different simulated download speeds and it works perfect.
But when uploaded to internet it runs like slowmotion in both Firefox and IE
To be honest Ive never seen any flash movie run that slow.
To make sure the whole file is fully loaded Ive put all content on frame 2 and a
preloader on frame1. Same thing when previewed in Dreamweaver.
The file is 150kb which shouldnt be to big
I used 30fps originally but also tried 20fps but problem is still there.
Is Flash Player in Firefox and IE that much slower than regular Flash player
if you open up the file from your harddrive?
Any tips cause Im considering to never touch Flash again :(
So much hard work for nothing :(
Thx for listening/ AquaStealth
Edited: 03/29/2007 at 12:02:20 AM by aquastealth
Creating FLVs From Final Cut Pro
I am trying to create an FLV from Final Cut Pro 5.1.4 on an Intel Mac. I have intalled the exporter plugin but it does not show up as an export option in FCP. Does anyone know why this is happening? Do they not yet have an FLV exporter for FInal Cut Pro 5?
I am stumped any help would be greatly appreciated.
|