ActionScript 2.0 :: Levels In Loaded Swf File?

Oct 10, 2003

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.

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Addressing Of .swf-files Loaded Into Levels Of Another .swf-file [fmx 2004]

Apr 26, 2004

Im a bit confused about the adressing of .swf-files loaded into levels of another .swf-file. The adressing seem to be absolute, ie. if a sub.swf (which is loaded into a super.swf from another location) uses some sort of adressing (for instance, loading an image), that adress must include the path from the super.swf.

Cant you change that somehow, so that sub.swf's can adress other stuff relatively to its own adress? Can you do that globally (so that relative adressing is used by every .swf)? Can you set it individually, so that adressing is relative only from the specified swf's?

View 9 Replies

ActionScript 2.0 :: Using The Object Mc Properties To Movies Loaded In Levels

Dec 27, 2002

i have a movie that has 3 buttons on it..(and there r 7 of these button containing movies being loaded into my main movie...but this is not important in our case i guess.) anyway, each button loads a movie (they r draggable windows) into my main movie, located in different levels (not targets)..the problem is i want to change the alpha and depths of these draggable movies.eg;when i click on a button i want that draggable movie to come forward and set its alpha to 100 and the other two to 30..i could do this by loading the windows in target locations..but i can't do it when i load them in levels..

View 3 Replies

ActionScript 2.0 :: Sound Visualizations - Reading Levels Of Loaded MP3

Jan 14, 2005

Any way to dynamically read the sound levels of a loaded MP3 to produce dynamic sound visualization in Flash?

View 5 Replies

ActionScript 2.0 :: Get The Levels Of Volume (peak Levels) Of Multiple Sound?

Jan 9, 2005

I believe that my question here is a little hard, or maybe impossible. But here it goes:

How can I, in Flash, get the levels of volume (peak levels) of multiple sound frequencys from an audio file, so that flash would recognize them?

View 1 Replies

ActionScript 2.0 :: Sound Visualizations - Dynamically Read The Sound Levels Of A Loaded MP3

Jan 14, 2005

Does anyone know of a way to dynamically read the sound levels of a loaded MP3 to help produce dynamic sound visualization in Flash?

View 5 Replies

ActionScript 2.0 :: Get The Levels Of Volume Of Multiple Sound Frequencys From An Audio File?

Jan 9, 2005

How can I, in Flash, get the levels of volume (peak levels) of multiple sound frequencys from an audio file, so that flash would recognize them?

View 1 Replies

ActionScript 2.0 :: Control One Loaded SWF File From Another Loaded SWF File

Feb 7, 2005

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:

onRelease
_MOVIE-1.SWF.gotoAndStop (4)
or:
onRelease
gotoAndStop (MOVIE-1.swf, frame4)

View 1 Replies

ActionScript 2.0 :: XML - 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?

Jun 21, 2007

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.

View 1 Replies

ActionScript 2.0 :: Adding Pause,Play,FastForward,Rewind Controls To A Swf File Via A Loaded Swf File?

Jan 19, 2012

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);

[code].....

View 1 Replies

ActionScript 2.0 :: Adding Pause,Play,FastForward,Rewind Controls To A Swf File Via A Loaded Swf File

Mar 25, 2012

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.

View 5 Replies

ActionScript 1/2 :: Loading Swf File Into An Existing Flash File - Script For Waiting It To Play Until It's Fully Loaded?

Feb 6, 2010

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);

View 7 Replies

Flex :: Fix The X & Y Axis Of Popup In A Swf File That Is Being Loaded In Another Swf File

Aug 26, 2011

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.

View 1 Replies

ActionScript 2.0 :: Use Variables From Loaded File In The File

Feb 19, 2009

I've got a loadVars function, but I want to use the variables from the loaded file elsewhere in the file.[code]

View 1 Replies

Swap Levels On Rollover?

Jul 6, 2009

I'm planning navigation for my new site (see screen grab of proposed navigation corner). I want the words to swap levels and appear in front of others on roll over.

OK, just found this tutorial [URL] but I put the buttons into the MCs.

*BUT* - I want them to return to their original positions on RollOut - is this possible. I tried duplicating the code but substituting rollover to rollout and set the parameter to 0 or 1 or 2 to make them go back to a level I want them at.

View 8 Replies

Can't Unload Movies On Two Different Levels

Jun 1, 2009

I am having trouble with unload an loading movies. Basically I am loading a movie into a container, which works a charm:

[Code]....

I want to unload them both when a close button is pressed on the third loaded swf? Also, ideally I would like to add that second movie clip into a container, so I can position it correctly, but when I try copying the code I use on the first, it doesn't seem to work...is it to do with the "root" bit perhaps?

View 3 Replies

ActionScript 3.0 :: Target Two Different Levels?

Aug 15, 2009

On frame 30 of my root timeline, I have dragged five different instances from my library onto the stage. I gave each one a distinct name, oneBtn, twoBtn, threeBtn, fourBtn, fiveBtn. I added a MouseEvent for each of these five objects, and ran a Trace to make sure I am able to identify the objects. At first, I used e.target.name but it returned instanceXX (instance23, instance84, instance83...). I think this happened because within each of those buttons, I had a movie clip within it so I can apply filters to them. I decided to trace e.target.parent.name. On two of the five objects, I was able to trace oneBtn, and twoBtn. On the other three, I still got instanceXX. I tried tracing e.target.parent.parent.name and I was able to trace the other three buttons, threeBtn, fourBtn, fiveBtn.
 
how come I need to target two different levels (e.target.parent.name & e.target.parent.parent.name) on my objects when I dragged them from the library and placed them onto the stage within the same timeline?

View 4 Replies

Professional :: Set Levels For External Swf's?

Jun 20, 2010

im using flash cs5, as2.i have a main index fla that loads into it 5 swf's.i need these 5 to be loaded into a lower level than the main index fla (index has to be the highest level)[code]

View 45 Replies

Access Levels And Root?

Oct 8, 2010

I cant believe how the simpliest things are more complex to do in AS3.I tried to target a movieclip from inside another movieclip called bat_mc and these dont work!root.ball_mc.gotoAndPlay(2);orlevel0.ball_mc.gotoAndPlay(2);

View 1 Replies

Flash :: Dragging On Different Levels?

Apr 26, 2010

I have a flash project with three non overlapping panels (visual spaces) each of which contains different movie-clips. Each movie-clip in a particular panel is the child of that panel.Now, I want to drag one of the movie-clips from one panel to another (remove it as a child from the first panel and add it to the other) without a jitter and proper drag.What is the appropriate way to handle the drag architecturally

View 1 Replies

ActionScript 3.0 :: What The Alteration Is \ It Used To Be Levels?

Aug 17, 2009

Now I know that you smart people know what the AS3 alteration is...Do you guys mind saying what it is...I know in AS2 it used to be levels but now it is...?

View 9 Replies

ActionScript 2.0 :: Fade Between Levels In MC?

Feb 22, 2006

but is there anyway to fade the levels of a movieclip.

basically i keep loading jpgs, into a level of a movieclip. now i want to create a fade between one to the other. figure easiest way would be to have the jpgs load onto next level with alpha 0.. then once loaded alpha to 100 and unload the bottom jpg from previous level.

View 3 Replies

ActionScript 2.0 :: Playing MC's On Different Levels?

Jun 18, 2006

The problem I'm having is loading my info boxes. Basically, I want the the info boxes to stay on the middle of the main stage and also make the scroll mc non selectable (so that other mc's cannot be selected). I've been trying for ages to get this working but can't seem to make the buttons play the relative info box movie clips.Currently, the info box mc's are in the same movie clip as the mask & scroll mc. However, the buttons I want to activate the info box mc's are in the scroll mc. If I put the info boxes in the same mc as the buttons then it works fine but doesn't keep the info box moie clip in the middle of the stage as you can still scoll/select other itms in the mc.

View 1 Replies

ActionScript 2.0 :: LoadMovieNum From Different Levels?

May 19, 2008

MainMovie = level 0
Navbar = level 10
submovies = level 2

In MainMovie I load my navbar in level 10. Then from the navbar I load the submovies into level 2 (that way, the navigation is always on top)

My questions is, This works find locally, but when i upload the submovies won't appear when clicking the navbuttons.

I have tried relative paths, absolute paths, keeping it in the same folder, etc..

View 7 Replies

ActionScript 2.0 :: Communicating Between The Levels?

Jul 18, 2008

I want to load in a new _level *.swf. This new level contains a button which will have a stop command, which I want to work with an MC in the _root *.swf level.

_level1

Code:
loadMovieNum("level2.swf",2);

View 2 Replies

IDE :: Saving Levels In Flash MX

Dec 12, 2008

does anyone have an fla file that saves levels that i could see because i have tried but the code i have does not work, or code that works well

View 3 Replies

IDE :: Loading Movies From Different Levels?

Oct 1, 2009

I am creating a presentation which has a main flash and then 3 sub categories to it. Main.fla is nothing but a container to load the other movies into. I could get the the first movie (movie1.swf) to load onto main.swf by using the foll code:

this.createEmptyMovieClip("empty_mc",1);
empty_mc.loadMovie("movie1.swf");
empty_mc.x=0;
empty_mc.y=0;

Now the problem is in movie1.swf the menu is like on the 3rd level, i.e. main stage>menu_mc>menu (where the buttons are).

How can I add a code on level "menu" so that when I click button2 or button3 it loads movie2.swf and movie3.swf respectivley onto the main stage. Makes sense or am making it too confusing..

I want to try this breaking a big movie into smaller parts functionality so that I can understand flash more.

View 1 Replies

ActionScript 2.0 :: Possible To Preload Into Levels?

Jul 21, 2004

Is it possible to preload movies into levels just like you can preload them into movieclips? I want my different movies to be loaded into levels so when a button is pressed, they are already loaded and ready to go. This is what I have so far.[code]...

View 4 Replies

ActionScript 3.0 :: Get The File Name That Has Been Loaded?

Dec 13, 2010

I'm using this code to load a file...

Actionscript Code:
var swfLoader:Loader = new Loader();swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadProdComplete);swfLoader.load("MyNiceFile.swf");function loadProdComplete(e:Event):void {trace("Loaded File: " + ????); // I want to see: "Loaded File: MyNiceFile"}

How do i get the file name that has been loaded? How do i get "MyNiceFile.swf" -- or even better "MyNiceFile" .

I have tried this...e.content.name, but all i see is "instance32" which must be the temp name of the loaded file.

View 1 Replies

Seeing My File After It's Loaded On Server

Aug 17, 2004

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]

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved