Small Flash Files Loading With A Box And Icon Around Them?
Mar 29, 2010
flash and working on two flash files for a website. They are small, 2.20KB and 4.10 KB. I am testing them on localhost and notice the object creates a box and an icon on the screen for both of them before they load and appear
Just getting into components, and came across this recently. What's the difference between these two Component icons in the library, one with the addition of a small arrow? Images attached.
I mean youtube or any other streaming video site, but I've seen it on Youtube. There are times that the loaded bar shows that more than enough video stream has been loaded so the player could play it but it suddenly pauses and shows the loading icon?
I can't figure out why this wont work consistently. I have a few containers in a column that load small swf files on run time. My code which always works in the past, looks like this:
Code: client1.loadMovie("interactive/rocksolid_cs.swf"); client2.loadMovie("interactive/malibuchronicle_cs.swf"); client3.loadMovie("interactive/spod_cs.swf"); client4.loadMovie("interactive/chicknecessities_cs.swf"); and so on.
The issue is that sometimes, this works perfectly. I load the page and the files load. Then, randomly other times, only parts of the external swfs load. All of the external swfs have static text on one layer, then a rollover movieclip on the others. The times when it doesn't work correctly, usually the text loads, but the movieclips don't. I don't understand why this isn't working, but I need it to 100% of the time.
my preloader starts at 55 percent. this is because the first frame (if i can trust the bandwidth-profiler) has a size of 32 kb. i think this is strange, because the b-profiler also tells me the film has a total size of 35 kb. after the first preloader frames are some small files with transitions only, and then there is the main frame, which has a size of 18 kb my preloaderframe only contains a small bar and a dynamic textfield, just like the tutorial says... i ve already searched the forums, i found that quite many people have the same problem, but i didnt find any solution... i do not load any swfs dynamically. the only thing i can imagine that could cause that problem is the embed font which i use for the dynamic textfield in the preloader. is that possible?
I'm trying to build a small app that will iterate through an array of sound files to see if they are valid.I'm simulating corrupt sound files by taking .png's and changing the extension on them to .mp3 The idea is a sound will start playing and the timer will start. When the sound is done playing the next sound will start and the timer will reset and start counting down again. If a sound does not finish within 45 seconds the timer will complete, output the name of the file that did not finish, and then skip to the next file. For some reason though the timer does not reset when the sounds finish playing, it just keeps counting down from wherever it is.
I am loading two rss from my server, one is for detail of my videos and second is for news.
Now when user will search video i am taking data from my server based on search, and the news will be arrived every 10 seconds.
My Problem is that when the news rss code will be executed then its displaying me loading icon on the screen, so i would like to make this news process in background, so viewer's do not see this process (loading icon), and user think that new are coming automatically.
My AS3 Code is as below.
ActionScript Code: loadnews(); function loadnews():void {
Using AS 3.0 and the action script project I was planning on writting a small file handeling utility to make processing files through AS better and easier. The problem is the API states that to call file you go
import flash.file
Well in flashbuilder going import flash. only gives me filter, and no file handeling imports....
I want to have an AS3 app load images from url supplied by the user. But I don't want a malicious user to be able to load an SWF file in place of the image, such as with an altered extension "maliciousSwf.png". Well, not sure how big a security threat that is above and beyond the ability of the hacker to decompile swf, but I think that ideally such behavior should not be allowed.
So, is there any way to prevent this? When people allow users to load images in their Flash apps, do they somehow guard against loading of SWF? Or is this really absolutely no big deal?
I adopted the tsunami effect that i've got from this link [URL] but the problem is how can i plug the title on each icon, showing up on an icon when i point on it (on rollOver)
I inserted a video into my movie clip. It freezes sometimes if internet connection is not fast enough but freezes at any frame. I want a loading icon displayed once it stops and disappear when it continues.
I'm having a hell of a time optimizing my loading sequence for a gallery site I'm working on. This is the way it works:
1. I load and parse an XML containing the URLs to the thumbs and large versions of the photos. - This step is fast and works the way I want.
2. I load the thumbnails in sequence jumping back and forth between two functions - one initiating loading of a thumb, and the other the event handler for that particular thumb which iterates a value, and then calls the initiating function again. I suspect this is where the major slow down happens.
3. When the iterating value has reached the same number as the number of URLs to load, the class dispatches a complete event, and all is well - except so much time has passed that no one will ever have waited to see the content ...
how to tackle it. The worst part is, is that I'm not able to reproduce it on my machine, so at this point, I have no errors to chase down, and no diagnosing tools to see what's happening.
Here's the main issue:
We have this large content sharing site that loads a handful of external swfs, and one of the external swfs does not load for a handful of our site's users. Frustratingly, it loads perfectly fine for me and many other users in a relatively wide variety of environments (PC/Mac/various browsers/virtual machines), so this goes a little beyond MY SWF'S NOT SHOWING UP
Here are some details that might be causing this error:
The main swf has grown rather large. It publishes to just over 600 KB, and more than half of that is Actionscript. I actually had to turn off compress and optimize, because it stopped compiling (this has been a long-running project that has steadily grown over time). I'm pushing for budget to re-architect the site, but that's another story.
The main swf loads a dataset of 5,000+ content piece details (~10 fields of numbers/text each).
As you can see, I'm starting to think this might be a memory issue, which would explain why it's not hitting me and a lot of other people in the office.
However, it might also be a shared object issue. Since I'm running solely off of feedback from user -> client -> us, it sounds like some of the users DO see the swf the first time around, and there might be a shared object error being thrown.
The external swf uses a shared object to save the users project. One of the users (who was experiencing this problem) had an in interesting folder structure where the shared object folder was contained within a folder labeled [[IMPORT]]. I've spent some time googling this, but to no avail.
im following some suggestions to cut my flash website into a few sections to make preloading a bit easier. so all i want is to make a small round ring rotate as long as the file is loading. so i looked and followed a lot tutorials but all the preloaders tutorials are much more compliceted then i need. they all have persentige sowing, and a bar that is filling according to how much the file has loaded, and colors changing etc. so i tried to take from the tutorials wat i need for my simple preloader to work but i get stuck.i built the animation of the rotating ring, but i get stuck with the actions i need to make the animation work as long as the file is working. i called my ring animation "circularloader". here is a image of the page with the ring:
I work with Adobe Flash Proffessional (CS4). I now have an assesment piece that I can work on home with. I promptly downloaded CS5.5 (thinking that was the right one) and spent hours on my animation. Oops, is it possible to open these CS5.5 files in previous versions? is there a converter that can fix this?
I just saw that some (only some) flash files (games) aren't loading in my website, but are in other servers. Most of the files do work. For example:(External) [URL] (My Server) [URL] It is the same file, but doesn't load at my server.
i have been working with a few basic flash presentation to learn the ropes. However, I am working on a flash file which, when compiled, pulls in flash content from elsewhere in the Parent folder. I have read through the FAQ and cannot find the answer, as there doesn't seem to be any Actionscript which handles the importing of these external files.
Are there other methods that I am unaware of? I need to edit these other files, however I find it more beneficial to first understand how the Flash file is compiled before editing.
I've got a bunch of flash files being served off a HTTPS site in IIS7. With contentcompression turned on, the flash files wont display. Does flash not support HTTPcompression, or is IIS doing something unusual?
I have two FLA files, call them MAP.fla and ANI.fla, that I have to merge. One way I tried was to load the ANI.swf in MAP.swf during runtime using the normal way of doing it, using Loader and URLRequest. However, when I try to run it, flash detects errors about methods I have included in ANI.swf.
I do know that the Loader and URLRequest method of doing it works because I tried using it with a different SWF file with simpler content.
P.S. ANI.swf contains methods, instances with classes of their own and timer events. If Loader cannot work on my SWF, is there any other way of carefully doing this without affecing my FLAs?
Below is the error message i am getting.
TypeError: Error #1010: A term is undefined and has no properties. at stageRotation/stageRotation::pause() at stageRotation/::create() at stageRotation/::initStage() at stageRotation$iinit()
I've been using flash functionality in order to fill in dynamic text variable with an external data. The script works fine, except that now runs very slow - around 30 seconds or so.
I'm trying to load a bunch of image files for processing (to make a sprite sheet to be exact). Thusly, I need to make sure those files are loaded in order for processing (otherwise the animations become all wonky).
The code I'm using is pretty standard: protected function onFileSelect(e : FileListEvent) : void {
Im creating a really simple flash website and script to load multiple swf files into the main flash file. Im using cs4 with action script 2 but I have no idea on how to code the script to make it work properly. I have a navbar and each time you click on a tab a want it to load a seperate external file, unfortunately now it just keeps playing the same one over and over again. How do you make one close when a new tab gets clicked.
I know this can be done, but not sure how. I have seen a program that basically has its own fscommands and must compile them itself. Does anyone know how you would do this. The program i refer to is [URL] flash studio pro. There are other programs out there like this but these all cost money for commercial use.
loadText.load("textfile"); //creating the loadVarsText function loadText.onLoad = function() { dynamictextboxname.text = this.the=whatever text in notpad; };
how to load my external text in, i have it all set up. Its all being saved into the same folders etc. But still nothing.
I recently got the following code from one of your tutorials and am wondering why it is that when I try to change the .jpg images to .png images, the images no longer appear in the swf file. Does flash no allow .png files to be loaded.The reason that I need the files to be png is because the have to have a transparent backgroung.[code].....