pafruu Posted January 15, 2007 Share Posted January 15, 2007 Hi all,just created a movie in flash with a couple of flv files and an mp3. When testing the movie from flash itself, everything jives and is on cue but when its brought on to html.... its a whole different story. Somehow the movies and the graphics seem to be slower than they are supposed to be, the music does not jive at all..My question is this. Would a preloading frame, indicating the user that the movie is loading, be the solution?If so what is the code, I unfortunately am getting old and forgetting simple stuff! Thanks! Link to comment Share on other sites More sharing options...
smiles Posted January 16, 2007 Share Posted January 16, 2007 I dont have the code but if you are using Flash 8 , go to its help , type "loader" with Component be choosed , it will give you simple example , I feel it good when build my site Link to comment Share on other sites More sharing options...
pafruu Posted January 16, 2007 Author Share Posted January 16, 2007 I can't find the code anywhere.. tried help with preloader doesnt work either! Link to comment Share on other sites More sharing options...
funkyjunky Posted January 16, 2007 Share Posted January 16, 2007 did you make the preloader correctly?Its quite easy to make one...but quite easy to make it not work!(check for topics on here to find how to make one! Or google it!)Smiles has got the right idea!Flash 8 help is a good tool sometimes!! Link to comment Share on other sites More sharing options...
pafruu Posted January 18, 2007 Author Share Posted January 18, 2007 ok I found a code on a discussion:stop();totalbytes = getTotalBytes();loadedbytes = getLoadedBytes();totalkbytes = Math.ceil(totalbytes/1000);loadedkbytes = Math.ceil(loadedbytes/1000);percent.text = Math.ceil(totalbytes/loadedbytes*100)+"%";totalk.text = totalkbytes+"kb";loadedk.text = loadedkbytes+"kb";if (loadedbytes == totalbytes) {_root.gotoAndPlay(2)};I,ve put it in the first frame of my movie, which starts on the second frame, somehow its still doesn't work when I look at it through my HTML page??I've got dynamic text called "percent" width of 100 and totalk and loadedk, on the same frame Link to comment Share on other sites More sharing options...
pafruu Posted January 23, 2007 Author Share Posted January 23, 2007 solved it thanks for your help guys Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now