I have had a lot of trouble trying to make a preloader work in Actionscript 3.0. I'm also using Animate CC.
So to try to figure out how to even make it work, I downloaded Simple NG Loader from Newgrounds https://www.newgrounds.com/downloads/preloaders/ , to make sure I had a working preloader. Then I got 4 high res images from google, around 10000x10000 pixels each, adding up to 85MB, to make sure there was more than enough to load.
I placed the preloader on the first frame, and put all the images on the second along with "stop();".
When I play, the preloader instantly finishes, but it leaves me with a white screen for a while before the images eventually shows up.
If I play it using a standalone flash player, it instantly crashes.
I would really appreciate some help with this!
The issue is probably that the game will already be fully loaded when you launch the swf in flash. You need to set your flash player to "Simulate Download". Do the following:
Hit ctrl+enter in your ide to launch the swf
Hit view on the menu of the swf and click simulate download.
The swf will now restart and pretend it's downloading. If you open view again, you can select the download speed by going to "Download Settings"
Related
I made a flash game that embed in web page, and the game normally increasing memory when playing it. that's no problem.
now I need to remove this game from web page, by now I just know remove the html node that contain swf :
$("flash_container").html("");
or
swfobject.removeSWF("flash_game_Id");
yes, after above operation, the flash game disappeared. But the big problem is that the memory that flash game used still there. Why it would not decrease.
actually, I would embed more swf in the web page, and that would eat up large memory even I remove swf frome the web page.
does anybody know how to decreas memory when remove swf frome web page?
now I created a loader.swf special for loading main game swf, and embed to html. when need to remove the game from html, first of all, telling main game swf do clean work, then let loader.swf to unload the main game swf, finally, remove the swf container div from html. it works fine.
I have to play video loop (2 second HD quality), and there is problem with playing video from the begining because method seek(0) always freeze Flash Player for a moment. There is now way to avoid this problem.
I have an idea, to play 2 netstreams in 2 separeted workers, but dont know how to share stage to do this ;[.
i have same problem.
i have embed the flv video in swf and play it in time line .
with embed vido you can loop it smoothly, this is a good solution in some cases.
(unconditionally embedding the video in swf have performance issue increased when ever your project become more complicated.
another issue is the swf file size become larger and larger
)
I'm using the flvplayback component in an AS3 movieclip. I do have the source defined in the compontents properties to a video hosted on Amazon s3.
Now the problem is as soon as the swf loads in a browser it starts downloading/buffering the video even though it's not set to autoplay.
Is it possible to only have it start downloading if the play button is clicked (I do have a custom play button hooked up to player via AS3)? I have 3 separate video players in the swf each with fairly large videos and I don't really want to burn through a ton of bandwidth especially if the user only plays one video.
Thanks!
I haven't used the flvplaybackcomponent, but I'm assuming as soon as you specify a url, it'll start downloading. Try either not setting that until it's been interacted with, or -- do what everyone else does -- place an clickable image on top, then once that's done, create your video player.
I have a page where the user can click a button to play word pronunciation,
you can take a loot at http://japaneseclass.jp/note/open/351
Right now, the page uses flash player, and it is really heavy to load about 100 flash sound button on a single page.
I have already tried other flash player such as 1bit player, and they are all the same (heavy)
What are some other alternatives?
I tried to use embed, and it is also heavy.
What I have in mind is to use img button and use javascript to play it, but I dont know how.
You could create one flash audio player that sits somewhere on the page unseen, and make your buttons call it using ExternalInterface, passing a reference to the mp3 you want to play. That way the actual media player is very small, and it loads in the audio tracks on demand.
I've developed a system that uses SWFUpload to easily allow the user to upload multiple files with a progress bar showing them the upload progress. It all works fine in my development environment, but is failing for some users in the wild with the Flash movie not loading. I can see the Flash movie is there, if I right click it a window appears saying Movie not loaded... (Then on the next line) About Adobe Flash Player 10...
So far I've not been able to determine what was causing the failure.
Are there any other alternatives to SWFUpload that will allow for:
Upload progress bar
Allow multiple uploads
Alternatively, any ideas on the cause of the SWFUpload issue?
Here are a few:
http://valums.com/ajax-upload/ (No flash required)
http://www.uploadify.com/ (jQuery)
http://digitarald.de/project/fancyupload/3-0/showcase/photoqueue/ (mootools)