Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




? When Loding External MC, How To Target To Other MC



Ok I just bought "Macromedia's Flash MX training from the source actionscript" So I figured how to load and external MC from the server but how do you load it into the blank MC that I created. Right now it just pops up in the flash movie and covers everything Its loading but not inside the dimensions of the blank MC.
I was reading on registry points and lining them up so your loaded MC will line up.
any1??
Thanks PCRIDE



FlashKit > Flash Help > Flash MX
Posted on: 09-20-2002, 10:42 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

How Can I Create A Loding Bar?
OK. I'm going to try to make as clear as possible. I recently made a page for a friend. That is at baby.theeli.com And the flash file loads pictures. So i want to know how to put a loading bar or words that say loading... or something like that before it loads the picture. Other wise they think that the flash page doesnt work. Also how would i make a loading bar for a big flash file on a web site.

Loding All Movies
With my site I want to load all the movies at the begining. How would I do this and have it jut be one page saying loading while it is loading every single movie?

thank you,
Todd

Loding Movie
i am creating a flash presentation where there are menu buttons on the left. when the buttons clicked will load a sub menu (movie) with this command

on (release) {
loadMovie("sub.swf", "../empty");
}

it loads the movie sub.swf into a blank movie clip instance. but this would have 2 swf files. i am loading afew movie in a movie which gives me afew swf files altogether. how do i load a movie/frame in flash so it is all in a swf file?

Can We Get Loding Time?
Hi friends,

I need to get the pre-loading time for a flash from another flash. Is this possible?

I have created 3 flash and first one is 'loader.swf', 2nd one 'flash1.swf' and final one is flash2.swf. I load the 'loader.swf' in the home page and then i call 'flash1.swf' thru 'loader.swf'. It is take near 10 seconds. after first flash loaded then i call second flash 'flash2.swf'.

What i want is i just want to get the loading time of 'flash1.swf' thru 'loader.swf'.

if you still could not understand this. please leave your command here.

Is this possible? please any one help me .... please

Loding Fades For A Slideshow
Im trying to make a slideshow.I have about 200 pictures divided in sub categories.I want to make a new slideshow for every sub category.I want to create numbered buttons,so the user can click on wich picture he want's to see.There has to bee a fade before a picture is displayed.How do I do this?
I have tryed loading a "fade in" movieclip in frame 1:
loadMovieNum("in.swf", 1);
gotoAndPlay(2);
a wait action in frame 2:
stop();
function startAgain() {
clearInterval(myTimer);
play();
}
myTimer = setInterval(startAgain, 5000);
and loaded a "fade out" movieclip in frame 3:
loadMovieNum("out.swf", 1);
gotoAndPlay(2);
The in.swf and the out.swf are 10 frames.
This script works perfectly the first 3 frames. But when I try to copy those 3 frames and paste them into frame 4-5-6 to display another picture it doesen't work.What is wrong? does the out.swf cover up the frame 4-5-6?Do I need a pause-frame in the frame after out.swf, so out.swf can play to the end? Iam using this action so I can use the "gotoAndStop(4);" action if the user press picture-button number2.

Loding Jpg To An MC Within A Button State
I have a button named Btn1 then under this button I have another MC under the "up" state called img1.

If I use loadmovie("btn1.jpg","Btn1");
everything is good.

But if I try:

If I use loadmovie("btn1.jpg","Btn1.img1");
I get nothing.

What am I doing wrong?

Ron

Loding And Unloading Movies
Hello.

I'm trying to get my head around the way flash can load up different movies in a container via a standard navigation system.

I'm trying to get each button to load up an swf after the currently loaded movie has played out. I'm hoping this will make everything much smoother and give it a more pro feel.

Is there a tut or a .fla that I can get hold off to pull apart to see how to do this? I have one based on the 2advanced version 2 interface, but it's really basic and doesn't play out the movies when new ones are loaded.

Anyway, hope someone can help.

TIA!

Loding A HTML Page From A Frame
Hi there, I have a web page which has two frames. The top frame contains my flash menu, which will update the below fram with a relevant php page. I was just wondering if anyone knew how to make the bottom frame update by clicking a menu item in the above frame. Is this the best way of doing this or is there a better one? Thanks in advance for your help.

Cheers

Ads

Loding Images Dynamicly Into Movie
Hello, heres the problem, I can load the images I want into the movie clip, but when I try and target them using the root command it wont work.

Im not the best at explaning the file is here ZIPhttp://www.shmooze.ca/zip.zip

If some one could help me I would be there best freind !

But for real any help would be great

Bill

Scrollpane / DuplicateMovieClip Loding Problem
Hi all,

I have a bit of a problem loading a JPG image into a duplicateMovieClip.

Here is how I have it set up.

1: I put The Flash 8 scrollpane component on the stage and loaded it
with a movieClip called "ImageLinks". The MC "ImageLinks" has 3 elements on seperate layers. Element 1 is a MC called "thImage", ( short for thumbnail image), that has an empty MC in it called "imageSlave". This is where I
want to load an external JPG dynamiclly from the image path in an XML file.

2: I also have inserted a dynamic text box into the MC called "ImageLinks".

3: On top of all theis I have placed a Blank button with the hit area set only
so that I can script the action of the button dynamiclly.

Now with the MC set up I use the duplicateMovieClip function to load
as many dups as I have images in the XML file.

Here is the code for making the dups and the attempt to load the images in
the dups.
_______________________________________________
ImagePath = new Array();
ImagePath = value_video_image;
num = totalSubC;
trace(num);
ystart = 0;
n = 1;
while (n <= num)
{
duplicateMovieClip(bar, "thumb-bar" add n, n);
setProperty("thumb-bar" add n, _y, ystart + n*50);
this("thumb-bar"+n).thImage.imageSlave.loadMovie(ImagePath[n-1]);
trace(n);
trace(ImagePath[n-1]);
n = n + 1;
}
setProperty("thumb-bar", _visible, 0);
__________________________________________________ ____

This code makes the dups with no problem, but doesn't load the images
into the dups.

Please Help!

Best regards
Toby

Loding Xml Data And Attaching It To Textfield
What's wrong with the as couse when i trace inside the decoding xml function it returns me the value. how do I have to insert the date to the textfield?


ActionScript Code:
//loading dane.xml
onEnterFrame = function(){
    trace("loading XML...");
    var myXML = new XML();
    myXML.load("dane.xml");
    myXML.onLoad = function(success){
    if(success){
        read_info_xml(this);
        return;

    }
    trace("error!");
    }
}
//reading dane.xml
read_info_xml= function(arg) {
    var myXML = arg;
    var id = '';
    n = myXML.childNodes.length;
    trace("Liczba lini: "+n);
   
    for (var i=0;i<n;i++) {
        if (myXML.childNodes[i].nodeName=="a") {
            id=myXML.childNodes[i].attributes.id;
            info[id]=new Object;
            info[id].id=myXML.childNodes[i].attributes.id;
            info[id].menu=myXML.childNodes[i].attributes.menu;
            trace(myXML.childNodes[i].attributes.menu);
            info[id].url=myXML.childNodes[i].attributes.url;
        }
    }
}

_root.menu_butt.onRollOver = show_menu;

function show_menu(){
    delete _root.onEnterFrame;
    _root.lista.menu_bg._visible=true;
    for (i=1; i<(n-1); i++) {
        duplicateMovieClip(_root.lista.menu_bg, "menu_bg"+i, i);
        duplicateMovieClip(_root.lista.menu_text, "menu_text"+i, i+10);
}
    for (i=1; i<(n-1); i++) {
        setProperty(_root.lista["menu_bg"+i], _y, (i*25));
        setProperty(_root.lista["menu_text"+i], _y, (i*25));
        setProperty(_root.lista["menu_bg"+i], _alpha, 100);
        _root.lista["menu_text"+i].txt.text=myXML.childNodes[1].attributes.menu; //here's the text field
    }
    for (i=1; i<(n-1); i++) {
        _root.lista.onRollOut = hide_menu;
    }
}

Trouble With Loding Movie Clips Through A Loop
I know that I am probably just making a stupid mistake, but what i am trying to do is take the names, locations and x and y values of movieclips to be loaded from an xml file and populate the stage with these movie clips. They are all located in the correct directory. Only the last movie on the xml file actually loads. Any help would be appreciated.


Action Script all placed on frame 1:

productsXML = new XML();
productsXML.load("product.xml");
productsXML.parseXML("product.xml");
productsXML.status();
productsXML.getBytesLoaded();
productsXML.ingoreWhite=true;
productsXML.onLoad = loadedXML;

mDepth = 200;

function loadedXML()
{
trace("the xml is loaded")
//set subobjects
allText = productsXML.firstChild;
c = allText.firstChild;
//trace(allText.attributes.howmany);
// finding number of child nodes
allTextChildren = allText.childNodes;
numChildren = allTextChildren.length;

for (i=0; i<numChildren; i++)
{
cNodeStr = c.firstChild.nodeValue.toString();

trace("NodeName:" + c.nodeName);
trace("I=" + i);

//find number of buttons
if(c.nodeName == "product")
{
productName = c.attributes.location;
//productLocation = c.attributes.location;
productX = c.attributes.x;
productY = c.attributes.y;
trace("X:" + productX);
trace("Y:" + productY);
//trace("Location:" + productLocation);
trace("Product Name:" + productName);
mDepth++;
//target = _root.main;
// dName = productLocation;
placement = "_level" + mDepth;

_root.createEmptyMovieClip(productName, placement);
_root[productName]._x = productX;
_root[productName]._y = productY;
//_root[productName].loadMovie(productName);
_root.loadMovie(productName);
trace("Loaded Movie");

trace("Placement:" + placement);

//_root.createEmptyMovieClip(dName,mDepth);
//_root.attachMovie("product",productName,placement) ;
//_root[productName]._x = productX;
//_root[productName]._y = productY;
//_root[productName].onLoad = function (){this.loadMovie(productLocation,mdepth)};
//trace(dName._target);
//trace(mDepth);

}

c = c.nextSibling;
}

}
stop();


XML:
<definitions>
<product x="5" y="5" name="product 1" location="product1.swf"></product>
<product x="305" y="105" name="product 2" location="product2.swf"></product>
</defintions>

Problem On Dynamic Loding Graphic Clip
hi all,

i have a graphic Symbol with "red" color in My main movie..
Now what i need is i will have a graphics Symbol with "Yellow" color in different swf with the same name of the "red" color in My main movie...I need to load this "Yellow" colored Graphics symbol into the Library of the My main movie..how to achive this... and it need to overwrite the Graphics symbol with color red with Yellow..

Please help me wherther we can achive this.......Please

Thanks in advance
Mohan.

How Can I Make That A Swish Movie Starts At Aweb Page Loding
Hi
i'm new in this forum and want to say hello to everyone

i try to make a swish movie (and i think i did it)and now i will place it in my web site and wont that it starts with the page in its own sreen. How can do this? please help me
Thank for your help

Using Tell Target With External .swf
If I load an external .swf into my flash, is it possible to point to it using the telltarget command (Such as "tell external.swf to go to frame 8")? If so, how, because I have`nt figured it out yet.

Target MC In External Swf
say i have 2 swfs in a html page and i want to target an MC within one swf by using a button in the other swf, what would be the best method to do that, is tellTarget the right way to go?

Tell Target For External Swf
Hello all,

Small request here.
Just wondering if anyone knows how to apply a tell target to an external swf.

How am i asking it to be applied u ask?

Scenario:

Ok. I have a main flash movie (to be the base site actually) that loads 4 preliminary swf's. One of them is the top nav bar. Basically there are small squares on the main flash movie where the movies should load. They replace the squares and load perfectly. What i want to do though is when i press a button in a movie in one square, on release, it tells another square on the main flash to load it's movie.

How do i go about this?

-BlackFire

P.S. I did not attach the actual flash files becuase, for one they are too big, also there are way too many layers and stuff for anyone to be able to back track through my sloppy work. I did however attach the swf's and a jpeg outline of the square loaders im talking about.

Tell Target For External Swf
Hello all,

Small request here.
Just wondering if anyone knows how to apply a tell target to an external swf.

How am i asking it to be applied u ask?

Scenario:

Ok. I have a main flash movie (to be the base site actually) that loads 4 preliminary swf's. One of them is the top nav bar. Basically there are small squares on the main flash movie where the movies should load. They replace the squares and load perfectly. What i want to do though is when i press a button in a movie in one square, on release, it tells another square on the main flash to load it's movie.

How do i go about this?

-BlackFire

P.S. I did not attach the actual flash files becuase, for one they are too big, also there are way too many layers and stuff for anyone to be able to back track through my sloppy work. I did however attach the swf's and a jpeg outline of the square loaders im talking about.

Can I Load An External Url Into A Target?
Can I load an External Url into a target Mc using a button, kind of like load movie only I want to load an existing web page...Possible?

(MX) External Swf Target Path...
heres the idea...

I am importing an external swf into an empty movie clip in my main movie on keypress. In this swf I have a preloader to show how much of another external swf has loaded when the user pushes on a button. How would I target this preloader in my main movie?

greg

Load External+tell Target
Ok i've changed the approach.

I'm trying to get an incremental button menu that can then select external pics for a gallery (like at www.rui-camilo.de).

I am nearly there I think.
I have external pics all in the one swf. Each is in a differnt scene.
in the root of the external pic movie I have "if scene 2 is loaded go to next frame" , which then has " if scene 3 is loaded" go to next frame etc.,

I then have this external pic movie loaded into a container movie in my main movie.

here's the bit I think I need - I have a movieclip in my main movie for the buttons - in first frame no buttons are hilighted, 2nd frame 1st button is highlighted, 3rd frame 2nd button is highlighted etc.,

i have this placed on my main timeline, and what i need is a script in the external pic movie, in the same frame as "if scene2 is loaded" to also tell the target 'menu' to go to frame 2(so its hilighted).
how do I do this? (flash 5)

and in my button script back in the manu thats in the main movie I need to tell external pic movie 'go to scene 2'

any ideas??

External Library, D&d And Target... :-S
Hello,

I've made an movie with some placeholders. This placeholders contain movieclips that are load from an other flash file. In this movieclips I've added an drag and drop functionality. Now in my parent movie I have an target. How do I call this target in the script?
So to be short:

Main
| - Placeholder -- extern movieclip with d&d function
| - Target <-'

So how do I call the target in the script of my extern movieclips?
I tried _root.target and _parent.target allready, but they didn't help me.

Who can help me tackle this problem?

Cant Target External Mcs Frame(s)
I have a movie I'm trying to target from the root and can't figure out the sytax to target specific frames. Here is the code to get to the mc:

on (release) {
gotoAndStop(8);
ph.loadMovie("womenkind.swf");
}

just need to get to frame 2 of womenkind.swf using the same code

thanx

Target Keyframe In External .swf
I have a .swf being loaded into a movie clip (container) on frame 60 in my timeline with a preloader, i want when a user hits a button for it to goto frame 60 in the timeline and play a certain keyframe within the external .swf! can anyone tell me how i do this? heres the code i use for preloading the external .swf into the movie clip


Code:

PHP Code:




var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();

myMCL.addListener(myListener);

myListener.onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number) {
    var loaded:Number = Math.round((bytesLoaded/bytesTotal) * 100);
    progressBar.gotoAndStop(loaded);
}

myListener.onLoadInit = function (target_mc:MovieClip) {
                                progressBar._visible = false;                        
}

myListener.onLoadStart = function (target_mc:MovieClip) {
    progressBar._visible = true;
}

myMCL.loadClip("portfolio.swf","container");

Can't Target External Button Swf?
This is daft, I should have this working by now. I have the following code on my index.swf:


ActionScript Code:
this.createEmptyMovieClip("example", getNextHighestDepth());
    example.loadMovie(_root.test.info[15]);
    example._y = _root.test.info[14];
    example._x = _root.test.info[13];
    example.onRelease = function() {
        trace("Why doesn't this trace work???");
    }

This creates a movieclip then loads an external swf (a single button MovieClip) into the index.swf via XML data in an array. It loads in and positions itself correctly but the onRelease function does not work. What am I doing wrong?

ta,
jbw

Target External Images?
Hey Folks -

I want to build a Flash movie for the radio station I work for. Basically, the night guy does a Top 5 at 9 countdown every night. I want to make it so the movie scrolls through the five artists in the countdown each night...but I don't want to have to remake the movie every day.
How can I make it so all I have to do is replace an external image file with the new one so the Flash movie updates automatically??

Thanks!

Correct Way To Target External Swf
This is pretty simple stuff...
I'm loading an external movie into a container_mc movieclip using loadMovie. But I ran into problems targetting this external movie so I could play it (external movie has a stop action on first frame). In the end I used the flash debugger to find it is referenced as instance8? So my code now looks like:


ActionScript Code:
container_mc.instance8.gotoAndPlay(2);

Whilst this works - is this the right/best way to do this?

Many thanks,
jbw

Target Paths In External SWF's?
Hi, Im having problems with a flash based website that I am creating. It is essentially a gallery, using a shell file for all the navigation with external .swf's being loaded in for each image set to keep the overall file size low. I have it all working fine except for one weird problem, within the external .swf's there is another layer of navigation to move forwards and backwards through the main timeline.. it works fine as an individual .swf but when loaded inside the shell interface none of the buttons work.

The only thing I can think of is that the paths are wrong when it is loaded into another file, for example: does "on (release) { _root.play();" on a button inside the external swf refer to the root of the external file or the root of the shell swf itself? What path am i suposed ot use to refer to items on the main timeline of an external .swf file?

I may not have explained this very clearly, but I would be extremely greatful for any insights, thanks for your time

Target A Certain Section Of External Swf
hiya!

I have a problem whereby I want to, on a click of the button on the main scene, it will target a certain frame label instead of playing from the start of an external movie clip. Is it possible? Something like gotoAndPlay("Scene 2", "play"); but it is an external swf.

Many thanks!

Loading An External Swf With Xml Into Target Mc
I am loading an external swf into a target mc. the external swf is the xml slide show from the kirupa tutorials. the xml text shows up, but no pics. what's up?

when i run the slide show by itself it works fine, but when its loaded into the target mc i see the slideshow frame but no pics... is this a problem with the root levels?

any help would be much appreciated.



here is the action script from the slide show:

delay = 3000;
//-----------------------
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
slideshow();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
picture_num();
slideshow();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}
function slideshow() {
myInterval = setInterval(pause_slideshow, delay);
function pause_slideshow() {
clearInterval(myInterval);
if (p == (total-1)) {
p = 0;
firstImage();
} else {
nextImage();
}
}
}


rolotomasi

Tell Target From External Movie
plz help
i have two movies (a) and (b)
(a) contains a movieclip at the main time line with instant name sa2a
i want when (b) loads , it tells target sa2a in (a) to go to and stop frame 2
hope you understand me and help me too fast plzzzzzzz

Target A Certain Section Of External Swf
hiya!

I have a problem whereby I want to, on a click of the button on the main scene, it will target a certain frame label instead of playing from the start of an external movie clip. Is it possible? Something like gotoAndPlay("Scene 2", "play"); but it is an external swf.

Many thanks!

Loading External Swf Using Target
hi,
im trying to load a movie.swf into an empty movie clip (called holder) and ive got an action which loads that movie ie loadMovie ("movie.swf", "holder");....it loads it, but the problem is it doesn't load in the right place ie exactly inside the empty movie clip...weird..so i can't position it properly...any ideas?

Target Frame In An External Swf
Lets say I have a movie loaded (index.swf). I click on a button on that movie and I want it to go to a specific frame in a external swf ( external.swf) How can I do that? What actionscript is needed? Please help. Thanks.

Target A Frame In A External Swf?
Lets say I have a movie loaded (index.swf). I click on a button on that movie and I want it to go to a specific frame in a external swf ( external.swf) How can I do that? What actionscript is needed? Please help. Thanks.

Target Flv CuePoints From External Swf
Hi,

I have a rtmp streaming flv being pulled from a coms server. Embedded as part of the flv are cue points which are being called from my main swf and allow graphics to appear at specific points during the flv playback. That’s all good, the onCuePoint function works fine, as does the streaming, however now I need to load another swf on top of my main swf (I’m unsurprisingly using “loadMovie ("B.swf",1);”) and for it to also react to cue points from the same flv.

The netStream function is being called in the main swf (A) but I’m having difficulty targeting the flv from my secondary (and newly loaded) swf (B) I’ve been trying the cuePoint script targeting ‘_level0’
but to no avail:
Code:

_level0.ns_video.onCuePoint = function (infoObject)  // begin cue point script
    {
        if (infoObject.name == "A1")
        {
            gotoAndStop("s1");
        }
        if (infoObject.name == "s2")
        {
            gotoAndStop("s2");
        }
}

any comments would be appreciated,
thanks very much

Mike

Tell Target - External Swf (contained In Frameset)
HI, Does anyone know how to target an external .SWF file that is contained within the content_frame.htm of the frameset index2.htm?

Explanation:

>I have a frameset called index2.htm
>within this frameset are three frames - banner_frame.htm, content_frame.htm, menu_frame.htm
>I need menu.swf (held in menu.frame.htm) to tell the movie introduction.swf (held in content_frame.htm) to go to the frame label "intro_quote"

> I know how to target movie clips within a timeline but not the timeline of an external .SWF

Load External Swf In Target In A Level?
I am trying to load an external swf in to my main movie.

I will first explain my situation:
My main movie is broken up in 2 pieces;
on the left my navigation system and on the right I have a mc that is much bigger than my movie size.It is a big square divided by 9 little squares that are seperate mc's and they fit exactly in my viewable right part of my movie.
The purpose of this is that you shift to different squares when you navigate.
Al these different squares are chapters.

For every chapter I have a external swf that I want to load.

I hope that I have explained it clearly...

So..I know of 2 things to do:
1. on (press)}
loadMovie("my_swf","/name of right mc/squareMC/emptyMC");
{
//The empty mc is positioned on the (0.0) of the little square mc.

This happens:
It loads my swf in the good position in the movie... BUT my loaded swf doesn't work!

2. on (press)}
loadMovie("my_swf",level1);
_level1._x = 300;
_level1._y = 300;
{

This happens:
My swf works BUT it replaces my main movie and the backgroundcolor from my loaded swf ( makes it white).

I have also tried alot of other things.
Is it possible to combine the 2 codes in a way?
OR is there another way around it?

I am trying for three days in a row..there must be something I have overlooked!

I hope somebody can help me with this..

Tell Target, External Flash Movie
I have 2 Movies on 1 page.
and i want one of them to tell the other one where to go.

just something simple like changing frames
how do i do this?

thanks in advance

External Jpeg Into A Target MC And Reuse It
Hi,

Here a summary of my problem:

I want to load an external Jpeg into a target MC (no problem with loadmovie()).

I made a preloader for this MC (also no problem).

When I attach the same MC in another Scene I have to load the jpeg again into the target MC. I need to attach.

My question: Is there any way to use the same Jpeg in another scene without (pre)loading it again.. So in fact I want to reuse the Jpeg without (p)reloading it. Is there any way I can store the Jpeg somewhere so that when I need it again I can just fetch it to use in my animation.....

Or any other solution to come across this problem??

Thanx a Lot

Load External Swf Into Animated Target Mc
hello,

I've created a menu with several buttons,each of these load an external swf.Now here's my problem i want them to load in an aninmated mc by which i mean that the target mc has to reach a certain point before the load action can take place and then for the other buttons the animation doesn't need to play anymore but just load the movie. All the buttons need to check if the animated target is at my chosen point before it can load its movie once the target mc is at that point in timeline all the buttons can load their movie into it seperaptly when chosen.I hope i made some sense of it and somebody can help.

Thank you

Load External .swf Into *both* Target And Level
It works fine to load in .swf files, into an emty MC - acting as a target.

But, I would then want to add more .swf files on top of this, keeping both the first .swf and the newly added. swf.

(The first .swf is the main GUI with nav bar and background)

(The second .swf is the background picture of the first option of the nav bar - loads in the MCtarget)

(The third .swf is content which I would like to load in on top of the lot - in a layer)

But perhaps there are better ways to deal with adding content, and I am missing some obvious things here...

Target An External Html Page?
Going through some of the tutorials for opening url links with buttons, I could not find any parameter in the functions mentioned that would allow a url to be opened in a specified target window.

thanks

Target External Swf From Html Link
hi,

appreciate it if anyone can tell me if it is possible to target external swf's from an html email link

in flash it is this simple

on (release) {
loadMovie ("externalmovie.swf", "emptymovieclip");

so could you do something similar with the getURL action or something similar in html, if you see what I mean

thanks

me mooch

Load External .swf Into A 2 MC Depth Target
Hi!

I'm tryin to load an external .swf ("load.swf") into a movie clip ("second") placed into another movie clip("first").
I'm trying this script for a button:

on (release) {
_root.first.second.loadMovie("load.swf", 1);
second._x = 12 ;
second._y = 50 ;
}

The problem is that "load.swf" is loaded but:
1) It's top-left corner is aligned with "second" center
2) "Second" is completely replaced by "load.swf"
3) I can't move the loaded file using the ._x ._y parameters

What I need is to load the external .swf into a 2 MC depth target and:
1) Align it's top-left corner with the container MC ("second") top-left corner
2) See "second" behind the loaded .swf

I've just read this article ( http://www.kirupa.com/developer/mx/loading.htm ) but I can't figure it out.

Any idea?

Thanks a lot.

An Issue With Target Path To External Swf
Hi , i got a major .swf file and i load another swf inside it with UILoader... i have buton in the loaded swf, and when i click it i want to move the timeline in the major swf... in AS2 i did it the same with _root.gotoAndStop(); , but i saw that in AS3 it's not like this... i try with root.gotoAndstop(); but goes only for the timeline in the same loaded swf. it doesn't go one level up in the major swf.
How can i do it ... how can i move the timeline in the major file from the swf wich is loaded in the UILoader .

this is the code that i write

promobtn.addEventListener(MouseEvent.CLICK, promo);
function promo(e:Event) {
root.gotoAndStop(2);
}

please help me ..i lose 3 days in reading and i can't find the answer

External SWF/Target Load/MP3 Player
Hi! I'm new to this forum and a beginner to AS. I got a problem with my music player. I put it in the right side of the movie and I wanted to tracks - external swfs ("track01.swf", "track02.swf") load with preloader so I put a preloader in each swf with music. Take a look:

mp3 player

As you see, the preloader of the external swfs pops up in the upper left corner and I want it to be right next to the player. I tried target loading, I tried couple of things and I did not succeed. I manage to put the preloader of the first track near the player but all the functions of the player broke down. Here's how it looks:

BAD player

When you move to the next/previous track, the first one is still going in the background and the preloaders of those other tracks are still in the left upper corner. I really don't know what to do with this. Can somebody help me?

Here are the fla files which I used:

mp3player01.fla
mp3player02.fla

Target Specific Frame From External Sw
What is the best way to target a specific frame from an exterally loaded swf?

Target Specific Frame From External Swf
What is the best way to target a specific frame from an exterally loaded swf?

Copyright 2005-08 www.BigResource.com, All rights reserved