I've looked for the solution to my problem on SO, Google and Bing, but to no avail.
NB This is regarding AS3/CS5 on Windows 7 Pro x64. I have a SWF that loads another SWF in AS3.
Yesterday morning it was working fine. Then I made a bunch of changes to another SWF, completely separate, and to some XML content files and the next time I ran the project the second SWF started to flash and scroll through its content once it was loaded by the first SWF.
I couldn't figure out what I did to cause the problem and have NO clue!
I am looking for some creative examples for interactive methods to navigate a tree hierarchy. Conceptional ideas or some good Flash/ Silverlight/ HTML 5.0/OpenGL examples of such navigation would be great. I'm not concerned with the technology at this stage.My problem that is that I need to deliver information to a user in the form of a questionnaire hierarchy. Consider each node in a tree hierarchy as a question where each question answered takes the user to the next level down in the hierarchy of the tree were there are a further number of question(s) to be answered. At the very last node, there will be the final solution. I have found this useful(url...). I would like an interactive version of this with each node been expanded to show further nodes etc.
I have this weird thing happening with flash and a dynamic textfield. Basically, someone rolls over a marker on a map, and a tooltip pops up with a dynamic textfield. The textfield is set to multiline=true and wordwrap = true, and I defined a specific width of 160 pixels.
The problem is, some of my text is jumping to the next line, some of it is just getting cut off. So if I have a line like "The Cat Jumped Over the Box", On one line I will see "The Cat Jumped" and on the next line I would see "the Box". It looks like it is masking out the "over" line and not pushing it to the next line.
It's not doing this for everything, just some longer lines. This is a really weird bug and I have tried for 8 hours to get this fixed. Has anyone ran into this problem before?
Is there a way? I need to give a thumbnail that I'm changing the size of a border, but to simply place a background movieclip behind it and resize it along with the thumbnail stretches out the borders and makes them all blurry. Is there a way to change the size the background movieclip so that it retains it's normal-sized border?
URL>..Mouseover the flash link that says "<fs> Frunder Repeater".Notice the mouseover effects of the 3 buttons. They work great individually, but when they are combined (3 pixels away from each other) the mouseout effects do not work. I have 3 different buttons with the following Action Script.[code]It works fine by itself, but when coupled with other buttons, it does not have enough time to Mouseout before the next buttons says Mouseover.
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?
How would you defer loading of other graphics on the page until after the images in a Flash gallery's images.xml file are finished loading?Is there any way to detect for this, or would I only be able to check if the flash swf object is finished loading? I'm pretty sure the swf object would be loaded/ready as with document.getElementById('flashobject').onload = function(){}; before the corresponding images have loaded though, instead of after.
I am loading images of different size and then images are scaled and border is drawn for each image as shown in below link,[URL]... I want that border of images to be of the same width and height and for that I need to find out the max width and height size image before loading all the images. Is there any way that I can know the width and height of an image before loading it completely?
I'm building a flash website which uses a google map for a contact section and another one generated via external class for a projects section (for each one of the projects available there will be generated a map and a marker).This website uses SWFAddress and each of the projects receive SWFAddress dynamicaly via xml, pulling in the name of the project.The problem is when I test the website localy, on Flash IDE both the maps are loaded fine, but once I try it online on a webserver just the map on contact section is being loaded.I've tried to use a different key for each other -the contact section map key based on an url.Does anyone know what the problem might be? Is it because I'm using 2 maps on the same website? Is it because the url generated by SWFAddress is too long (I tried to generate a key based on something like URL...
I try to load an swf in my flex 4 project using the following line of code: <mx:SWFLoader id="game_swf" source="demo.swf" complete="init()" /> the demo.swf file is another project i created using flex 4. the problem is that when i run the application i see only the loading bar of the demo.swf flash file and nothing else. if i try to load a different swf file (for a example a game i downloaded), it loads just fine.
I can't see how to do this because silverlight is compiled. I don't want to load a video, I want to load a component/object that will be instantiated at runtime. Flash can easily do this as movieclip is also an component/object.
I am building an ActionScript 3 loader,which display the progress of Flash loading an external script. Here is a snippet of my code that works perfectly.
this.SWFLoader = new Loader(); this.SWFLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, trackProgress); this.SWFLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete); this.SWFLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError);
As you can see, I have three event listeners, each for listening for different events triggered during the loading process.In regards to the above snippet, here is what I am unsure of:
What is the contentloaderinfo object?
What properties does the contentloaderinfo object contain?
Why can't I just use this.SWFLoader.addEventListener()?
I have typical situation where big loop is loading lots of images and its done asynchronous which make browser to frees during loading and I want to make it synchronous but having big trouble doing it. I found this class synchronous loader and it work great but you cant add mouse event listener to loader. Here is sample code:
I have a game built and I would like to reduce the loading time to the minimum possible.One of my ideas is to load the essential assets and some lower quality images the first time, leaving the higher quality images and some of the functionality out at first (for instance things like buttons that change the background color), and once the player enters the game, the rest of the functionality and its assets (images and sounds) will be loading in the background using the Loader class.So once the non-essential assets and the high quality images have loaded they will fade in and substitue the lower quality assets in the most subtle way possible.
Also... Would it be better to have various instances of a "Loader" class and try to load everything at once, or load stuff in order with a single instance of the "loader" class listening to the Event.COMPLETE event ?
I have a movieclip clip that plays when the movie starts, the movieclip is a visual assets that show's that the application is loading some information but it's not showing any loading progress, just playing while the assets are loaded.I created a for loop that will load the assets using a simple loader, and then when the object is loaded the application push the object to an array.Problem is that when the loading starts all the animation that i have on screen stops until the loading is finished.The whole point is that the animation will play while it's loading.
Suppose I have 5 links that load different SWF files. I'm loading the first one in the background and I will continue to load the other SWFs once the previous one has completed.Suppose a user clicks link 4 but only SWFs 1 and 2 have been fully loaded and SWF 3 is currently being loaded. Would it be possible to pause loading 3 and skip to part 4 and finish loading that?
I tried searching for an answer to this on the forums and it seems you can't duplicate a movieclip that has a dynamically loaded jpg in it, I mean you just get a duplicate empty movieclip?What I want to do is have 3 copies of a pic, each tinted a little differently, and have them converge and reveal the "composite" of this pic. Do I then have to use loadMovie 3 times?Does loading the same 50kb image at the same time mean you're actually loading 150kb?
i was creating my portfolio using xml gallery script from this site. the thing is that it loads one picture at a the with a preloader between each load. is there a way to load the first image and keep loading the rest so there will be only one loading time? here is my action script:
I'm trying to get flash to load PHP dynamically generated XML. The flash file should display jpg images of the thumbnails in the XML file. However when I new_release.swf is not displaying any images.
The following is my flash file:
new_release.fla
Code:
function loadXML(loaded) { if (loaded) { xmlNode = this.firstChild;
Is it possible to load a SWF into another blank SWF file and make it clickable? I have a (parent) flash which has a clickable transparent button on it and i am trying to load another external flash into this to make as clickable. The external loading is working, but its not clickable. Without the external flash, the parent is clickable.
I have a "loader.swf" after which my "main.swf" loades. I have used a loaderPro v3 (AS2) component. Doing that was easy but then when it starts loading, even before the loading completes the main.swf starts playing in the background. And i have no coding in my actions panel.
I have two xmls, xml1 and xml2. Both have same structure, only data are different. Button 1 loads xml1 and button2 loads xml2. Both calls same function to load XML. First i press button1, so xml1 starts loading, but if before xml1 is completely loaded, i press button2, xml2 also starts loading. If for some reason the xml2 loads first i get data from xml2. But when i look at the bandwidth profiler in flash , xml1 is still loading. When xml1 is loaded it will replace data from xml2. SInce i pressed button2 last, i would want data from xml2. So is it possible to stop loading the previous xml when i start loading another xml?
I'm loading a external swf into a movie everything is fine with that. The only problem is that its loading only a part of it. Does anybody know why? Also, this swf is a mp3 player with streaming. The streaming part works but the playback doesn't.If i start only the mp3 player by itself it's working.here is the fla for the player
I'm trying to load a SWF movie into a target movieclip called blankmc. The SWF movie is loaded from an absolute URL (eg. [URL]/img/20042005113934movie3.swf ) My Loading Progress code fails to detect the SWF file size. However the same code works perfectly for a JPG! Essentially the .getBytesLoaded() and .getBytesTotal fail to work. Why is this and how can I get it to work for loading SWFs?
We have an application that needs to load a varying amount of row graphics depending on user input. Currently, each row SWF is being loaded repeatedly using Flash.Display.Loader. The swf is rather large (17k) and loading 10 or so of them takes some time. Is there a way to only load this file one time and use it multiple times?
I get more information around in internet about how it do, but I have problem how right including in my "flash load external swf" the "as3 xml full stream gallery" . And how to focus gallery in centre.
I have a .swf that I'm using on my website but it takes a few seconds to load. Its kind of an eye sore while its loading so I want to add a loading bar. I was wondering what the easiest way to do this in the .fla file is.
Menu consists of buttons which launch load swf's (transaction screens). If I launch transactionA (or indeed any of the transactions) and if whilst in that screen I click on a blank area that happens to "overlay" one of the menu buttons, that button responds! That's undesirable - how do I prevent this?