Is it possible to control one loaded SWF File eg.(MOVIE-1.swf) from another loaded SWF file eg.(MOVIE-0.swf) on a different level? eg. with a syntax like:
I'm building a flash movie for something at work and im loading in some images using an XML file but when i use a preloader it only preloads the XML file (as in just the text inside) and not the images.
This causes the movie to start playing without having the images loaded.Does anyone have any ideas about how i could get it to preload the contents/images being called in the XML file so it doesn't run as soon as the XML file is loaded.
I will try to be as clear as I can. I have an existing swf file that I want to add Play,Pause, FF and Rewind via an externally loaded swf file that has the controls contained in it.I am loading an external swf file that has all of the controls on it via this code:
// Set up the Mouse to use a listener var mouseListener = new Object(); Mouse.addListener(mouseListener);
I have an existing swf file that I want to add Play,Pause, FF and Rewind via an externally loaded swf file that has the controls contained in it.
I am loading an external swf file that has all of the controls on it via this code:
// Set up the Mouse to use a listener var mouseListener = new Object(); Mouse.addListener(mouseListener);
[Code]....
I am doing this so I can rollover the viewing window and have it appear. I cannot get any code to work to control the timeline (which is broken down into sections with individual MC's in each section.
What I am looking for is the code to apply to the buttons on the external swf file that has the controls to control the playing of the movie.
I have a flash file that is 1.5mb in size. As it takes about 6 minutes for someone on dialup to load this file, I have created a smaller swf file and loaded the larger one from it but I don't want the larger one to begin to play until it's fully downloaded. How do I set this up? I have set up the action script 2 as follows: loadMovieNum("top2.swf", 0);
I load a "cal" swf file in another swf files mdi_window. So the window is moveable inside the application. The issue is with the x y axis for the popups that open up in cal swf. The code for the function that opens popup is:
[CODE]...
The x & y axis of the popup act wired based on the location of the mdi_window in which the Cal.swf is being loaded. The x & y axis work fine if I move the mdi_window all the way on the top left corner of the application. The first image shows how the popup opens when I double-click on the 10:00 AM purple color event on my calendar.
and now when I move my window the popup moves to the side as well. I clicked on the same 10:00Am purple event again here: How can I solve this issue.
I loaded a swf file in a dreamweaver cs3 and tested it on a browser and works fine. However, after I uploaded everything on my server.. I don't see the swf anymore.. I loaded the scripts AC_RunActiveContent.js.. [URL]
I have a folder containing some images named 01_image_name.jpg, 02_image_name.jpg, 03_image_name.jpg, ... wich I read with a PHP script. Then I loop loading each image and waiting until all are loaded to display them
I have been trying to get a url to work in a xml file that is being loaded into my swf. I have tried using cdata and i was able to get it to wokr once but then it wouldn't work when i placed it lower in the file.
<comment><![CDATA[Blah blah blah Read more here: This mthe first news. Look at <a href="www.blabla.nl">www.blabla.nl</a>. ]]> </comment>
Attached is simplified fla show my text file load and use its value problem. Would somebody be so kind to have a look and let me know why it doesn't work. It's so simple i cant see why it shouldn't.
I've been following the techlabs tutorial on building an as3 slideshow as I'm just getting used to as3.I've been trying to load in .swf files instead of static jpegs, but it won't work.I'm assuming this part of the code is what won't allow the .swf files to be loaded from the xml file...end a hand and explain what this section is doing and if possible what to change to get it to load swf's as well as jpegs...?
i want to loaded a swf into my main swf file. How do I place it on the main timeline in the main swf. To be exact I have a frame label called about. Where i want the swf to be.[code]
I've built a site at [URL]. I'm getting a white panel where a flash swf should be loading. I'm using Dreamweaver to place the flash movie in a template for the pages.
finding the url of the swf filefrom which it has been loaded? The purpose of the url is, I amloading some flv files using relative path. I just want to achievethe same by appending the relative path to the parent swf url fromwhere the parent was loaded. I am a newbie to AS3
I have a folder containing some images named 01_image_name.jpg, 02_image_name.jpg, 03_image_name.jpg, ... wich names I read with a PHP script. Then I loop loading each image and waiting until all are loaded to display them
1. The PHP script reads file names and returns a string with names separated by a "|" char, then I use the split method to store them in imagesNames array and sort it2. I loop trough imagesNames array loading images3. Anytime a new image arrives I push it in imagesContainer array and check if all images are loaded to show them
The problem is there's no guarantee they arrive in the same order they were requested. So, how I sort the imagesContainer array by file name, i.e. in the same order they are in imagesNames array?
I'm loading data into a Flash application via XML, which is in the same directory as the swf file on the server, and would like to prevent the XML from being viewed in a browser. I was assuming I could set the XML's permissions to allow Owner and Group read and prevent Others from reading (UNIX 770), but when I do that the XML won't load.
I thought about using an .htaccess file but I don't want a password dialog to pop up when the swf requests the XML. Is there a way of doing this via permissions?
I am currently writing a site and one of the things it does is read variables from a database (by using the following code to access a php file which does the database lookup): loadVariablesNum ("loadvariables.php", 0, "POST"); This works perfectly, however following this I load a number of images based on the variables that are returned. i can't work out how to put an eventlistener, or something similar, so i can tell when loadvariables.php has finished loading. Then i can just load the relevant images in the oncomplete section (or the equivalent).
I am using the following code to load a SWF file into a Flash animation. The SWF file is nothing more than a short flv video (10 seconds). Users have the option of clicking a "HOME" mc if they want to return to the main menu before the flv video is completely finished playing.
[Code]....
When I click the HOME mc the lipStop.swf disappears as I intend and the animation returns to frame 1, but somehow I can still hear the SWF file playing in the background. I tried the samething using a FLV playback component and the same thing happens: timeline returns to frame 1, the image diappears, but I can still hear the audio track in the background.
I have 100 swf file in one of my project. And there is one common function available in some of swf's. All these files are loadded into the main.swf file. Here is my Question, "If have the common funcion is there int the loaded swf file, how to trigger this funciton from the main.swf
How can I get the percentage of xml file loaded. I want to show a preloader and animate it according to the percentage of loaded xml file. I tried using progress event but it gets called only once.
I have one text file which i am loading externally from my local machine. I am trying to read some variables from this file.
my problem: if the text file somehow fails to load in flash then it should load variables from HTML file from which my swf is running. But i am not able to check if this text file is loaded or not.
my code: (working if text file is present)
///Local Variables Loading////// var myLoader:URLLoader = new URLLoader(); myLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
Trying to work out how I can tell if a downloaded file came from the cache or was freshly downloaded over the net. I need this because users will download multiple files and I am trying to give make an accurate downloader for them. I have made them download a sample file which I have made not to cache by doing the following:
private var _loader:URLLoader; private var _rootPath:String; = "http:/example.com/speedTest/f4v/"; private var _startDownloadTime:int;
I am trying to place a condition statement so that it will only do an action if the swf loaded into the varaible is the same or empty. I start of with loading the sample1.swf into the movieclip swf_holder
Code: var loadSwf:Loader = new Loader(); swf_holder.addChild(loadSwf); loadSwf.load(new URLRequest(sample1.swf)); loadSwf.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
In order for me to get the sample1.swf to play, I create a variable so that I can just call on it
Can anyone have some time to look into why in these fla the xml file is not loaded properly. If possible please take a look. As the file size is very big kindly download the same from this link.url...
The main swf file of my site loads other swf files into it. Nothing hard there!But one of these loaded swf's has a number of buttons and what I need it to do is load aditional swf's into 'levels' of that file (not the main swf).I just can't seem to do it. Everything works fine but the swf's load into the main swf meaning they overlap areas that I don't want them to appear inYou can load into levels within a loaded swf.2) Does each swf have its own levels or do we have to use only one set of levels that are in the main swf.3) And if they do have their own levels, how on earth do I tell it to load into them.My AS is as simple as this;loadMovieNum("quail01.swf", portvar);portvar is a variable.As I say it works fine when testing it within this swf, but as soon as I use the 'main swf', it loads into that files levels.