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








Externally Loaded Movies Hots Spots Not Lining Up


I have a movie (Main) that Im loading another movie into (slideshow). this slideshow movie has hotspots that allow you to scroll thru images then click the image and have it displayed in a window. This works fine when I run the slideshow by itself. But, when I load it into my main movie (using loadMovie())and reposition it, the hotspots are in the wrong place. Is there anyway to setup the slideshow movie so it could use the posistion varibles locally to the moive and not the main movie?

Im using flash 9 (cs3)

I have attached the source files
and here is the link to it in action.

Main http://www.gngfx.com/test/test.html
Select Gallery and then click on a Prince logo to see the slides, you will notice that part way up the image you can mouse over the hot spots for the scrolling.

slide show http://www.gngfx.com/test/slideshow1.html

Thanks
Gregg




General Flash
Posted on: Thu Dec 06, 2007 8:16 am


View Complete Forum Thread with Replies

Sponsored Links:

Actionscripts Of Externally Loaded Movies
When you externally load a movie like in the example:


on (release) {
loadMovie ("bw_vertical.swf", "_root.placeMe");
}

are the actions within the loaded movie (bw_vertical.swf) lost? My actions are not working on the loaded movie. What's the deal?
Thanks,

Blake

View Replies !    View Related
Preloader For Externally Loaded Movies
I am trying to make a preloader for movies that are loaded with the loadMovie(...) command, but nothing seems to work.

I hope anybody can help me with this one. Any help is welcome.

View Replies !    View Related
Preloading Externally Loaded Movies? Help
Ok I'm having a very difficult time trying to get a preloader to work on an external movie that is brought in to my main timeline using loadMovie

When I load the movie into a level (level 2 for example) everything works fine... but when I load it into a blank movie clip (i tried a physical clip and a createEmptyMovieClip) the actions from the loaded movie seem to control the main timeline

Example: if the loader was finished it would take the user to the next frame and continue the movie. Instead it takes the user to the _root of the "MAIN" timeline.

It's very hard to type this out... but hopefully someone has had a similar problem and can help me out

Also... if anyone has a better solution for preloading external movies (into blank clips) I would appreciate it.

One last thing. When uploaded online.. the preloader doesn't even count. It just seems to freeze and the movie eventually loads... wierd

thanks guys
-dylan

View Replies !    View Related
Preloaders For Externally Loaded Movies.
Hi,

I am having a problem with preloaders in movies which are loaded into another movie. Basically I have this on the first frame of the movie:

total_bytes = _level0.backHolder.getBytesTotal();
loaded_bytes = _level0.backHolder.getBytesLoaded();
percent_done = int((loaded_bytes/total_bytes)*100);
bar._width = percent_done;
if(percent_done == 100) {
stop();
_level0.nextFrame();
}

Which loops over 2 frames with a gotoAndPlay(1) on the next frame. Trouble is the movie which is loading this in should stop at Frame one until this is loaded (_level0.nextFrame()) but it isn't, it's moving to frame 2 where the next movie is loaded...why? This is a Flash 5 example and I am using mx 2004?

Maybe it would be better for the main movie to assign the preloader and control the loading? But how can I do this?

Hope someone can help

NEil

View Replies !    View Related
Preloader And Externally Loaded Movies
I have a main swf which has a preloader which calculates the percentage loaded based on the total bytes vs bytes loaded.
In this main swf I call 4 external swf files.
Is there a way to have those external swf files included in the total bytes?

View Replies !    View Related
Preloader For Externally Loaded Movies
Hello,
I am trying to figure out how to make a preloader load my external movies as well as the main movie. I have a modular webpage consisting of numerous externally loaded movies, and when I place a preloader in it, it only seems to load the main movie, and not the ones connected to it. Is there any way to load everything? The load time on my webpage is terrible, and hope to fix it soon. Any help would be grateful.

Here's the page:

http://www.chromaticstudios.net/portfolio.html

View Replies !    View Related
Variable Used In Externally Loaded Movies
OK, here's the deal, I've got a main flash site that opens other externally loaded "mini-pages" in a window. In one that I am trying to make I use a dynamic text box, and the movie works perfect if i test it or open it on it's own. However, if it is opened through the main page, the dynamic text box will not display any text. Any ideas on how to solve this problem?

Thanks in advance.

P.S. To see what i mean by main site and externally loaded "mini-pages", you can look at my website. www.crazyjoe.ca

The one that should have the text is ART.

Thanks

View Replies !    View Related
Resizing Externally Loaded Movies
im using the loadMovie function and i have managed to load an external swf onto a black box on the main part of the site

the only problem is that the movie overlaps parts of the box

does anyone knoe how to resize the swf so it can fit within the dimensions of the box?

thx

View Replies !    View Related
Variable Used In Externally Loaded Movies
OK, here's the deal, I've got a main flash site that opens other externally loaded "mini-pages" in a window. In one that I am trying to make I use a dynamic text box, and the movie works perfect if i test it or open it on it's own. However, if it is opened through the main page, the dynamic text box will not display any text. Any ideas on how to solve this problem?

Thanks in advance.

P.S. To see what i mean by main site and externally loaded "mini-pages", you can look at my website. www.crazyjoe.ca

The one that should have the text is ART.

Thanks

View Replies !    View Related
Masking And Externally Loaded Movies
Can anyone help me figure out how to fix this problem. I want to apply a mask to some static content and an externally loaded movie. The mask works perfect on the static content but it does not work properly with the external movie. I have been able to get around this by placing the placeholder for the movie on a separate layer below the mask, but I would like it to be part of the mask effect. Below is the address of the site I am trying to fix.

http://www.nwmuscle.com/

Thanks for all your help in advance.

View Replies !    View Related
Global Variables- Using Them In Externally Loaded Movies
Hola everyone.

I am trying to make a flash presentation. These people want ot have MASSIVE amounts of speech in it, plus the option to turn off the speech and have word balloons in place. Don't ask why. ;-)

But I need to have a global variable, say, "speech" defined in my master movie. When set to 1, speech is on, when set to 0, speech is off.

I divide the presentation up into manageable chunks, and load them in as external movies, piece by piece as they progress further into the presentation.

How can I get these external movies, once loaded in, to check the value to see if speech is on or off?

I have to make sure when speech is set to "off" or "0", that a newly loaded external .swf loads in and plays with speech off.

Any help would be a god send.

thanks everyone!

View Replies !    View Related
Global Variables- Using Them In Externally Loaded Movies
Hola everyone.

I am trying to make a flash presentation. These people want ot have MASSIVE amounts of speech in it, plus the option to turn off the speech and have word balloons in place. Don't ask why. ;-)

But I need to have a global variable, say, "speech" defined in my master movie. When set to 1, speech is on, when set to 0, speech is off.

I divide the presentation up into manageable chunks, and load them in as external movies, piece by piece as they progress further into the presentation.

How can I get these external movies, once loaded in, to check the value to see if speech is on or off?

I have to make sure when speech is set to "off" or "0", that a newly loaded external .swf loads in and plays with speech off.

Any help would be a god send.

thanks everyone!

View Replies !    View Related
Externally Loaded Movies And Jpegs Problem
I am loading several external files that are of different sizes into one holder mc. Is it possible to force the loaded files to scale down to fit in the placeholder mc? Thanks

View Replies !    View Related
Changing Size Of Externally Loaded Movies?
Hi Scripties

I need to know if I can externally load my animation into my main movie at a reduced size - say 60% as it would be incredibly labour intensive to go and to the animation again to fit into this interface....

(see current actionscript below... obviously the movie that is loading is what is playing above the menu bar)

http://www.digitalmonkey.com.au/2004/flash/index.htm

var x = "news";
stop();
if(this.thumb_mc == Number(this.thumb_mc)){
loadMovieNum("th_intro_final.swf",this.thumb_mc);
} else {
this.thumb_mc.loadMovie("intro_final.swf");
}


Thank you

View Replies !    View Related
Center Externally Loaded Movies In MC_CONTAINER
First, I will be using the XML Kirupa gallery so everyone can follow.
http://www.kirupa.com/developer/mx20...otogallery.htm

You know how external Movies or Images load aligned to TOP-LEFT?
How can we change this to align center-top?
What changes to the XML kirupa gallery should be made?

Take a look at the picture, it explains better:

View Replies !    View Related
Positioning Externally Loaded Movies In Flash 5
Hi, posted this previously to little avail....

I'm having problems, positioning movies that have been loaded in externally, I've looked at it over and over and still no joy, I'm using the following code:

loadMovieNum("externals/level1.swf", 2);
_level2._x = 500;
_level2._y = 500;

I gather I need to ensure the movie is loaded before I can position it - how does one check for this ?

I am still learning so it's all rather new.

Many thanks in advance...

tom

View Replies !    View Related
Positioning Externally Loaded Movies In Flash 5
Hi,

I'm having problems, positioning movies that have been loaded in externally, I've looked at it over and over and still no joy, I'm using the following code:

loadMovieNum("externals/level1.swf", 2);
_level2._x = 500;
_level2._y = 500;

Is this wrong ?

Many thanks in advance...

tom

View Replies !    View Related
Externally Loaded Text Prob In Externally Loaded Swf
hi.
so i have a swf that has externally loaded text in it that is being loaded into another swf. the text loads properly when the swf is opened by itself but when the swf is loaded into my main movie the text ceases to appear

my code to load the text is
loadText = new LoadVars();
loadText.load("dates.txt");
loadText.onLoad = function() {
event1.text = this.event1;
date1.text = this.date1;
location1.text = this.location1;
address1.text = this.address1;
cost1.text = this.cost1;

event2.text = this.event2;
date2.text = this.date2;
location2.text = this.location2;
address2.text = this.address2;
cost2.text = this.cost2;

event3.text = this.event3;
date3.text = this.date3;
location3.text = this.location3;
address3.text = this.address3;
cost3.text = this.cost3;
};




any help would be much appreciated

View Replies !    View Related
Externally Loaded Text Prob In Externally Loaded Swf
hi.
so i have a swf that has externally loaded text in it that is being loaded into another swf. the text loads properly when the swf is opened by itself but when the swf is loaded into my main movie the text ceases to appear

my code to load the text is
loadText = new LoadVars();
loadText.load("dates.txt");
loadText.onLoad = function() {
event1.text = this.event1;
date1.text = this.date1;
location1.text = this.location1;
address1.text = this.address1;
cost1.text = this.cost1;

event2.text = this.event2;
date2.text = this.date2;
location2.text = this.location2;
address2.text = this.address2;
cost2.text = this.cost2;

event3.text = this.event3;
date3.text = this.date3;
location3.text = this.location3;
address3.text = this.address3;
cost3.text = this.cost3;
};




any help would be much appreciated

View Replies !    View Related
Externally Loading Swf Inside An Externally Loaded Swf
Hey,

So basically, I have a main movie, with buttons for each section (such as home, portfolio and so on). Each button externally loads each section swf into a container. That works fine, all the sections load in and out perfectly.

Now, I want to load some more swfs (like projects in the portfolio section) into the swf thats been loaded from the main movie. Becuase I put my buttons inside movie clips (so that when you roll over the button, the animation finishes if you roll over another half way through), I had to use the tellTarget("/") script to bring it back, but it dosent work, it seems to load the movie into the main movie!

How can I fix this? Iv tried loading it into a different container symbol in the main movie but its still dosent work

Thanks alot.

View Replies !    View Related
Externally Loading Swf Inside An Externally Loaded Swf
Hey,

So basically, I have a main movie, with buttons for each section (such as home, portfolio and so on). Each button externally loads each section swf into a container. That works fine, all the sections load in and out perfectly.

Now, I want to load some more swfs (like projects in the portfolio section) into the swf thats been loaded from the main movie. Becuase I put my buttons inside movie clips (so that when you roll over the button, the animation finishes if you roll over another half way through), I had to use the tellTarget("/") script to bring it back, but it dosent work, it seems to load the movie into the main movie!

How can I fix this? Iv tried loading it into a different container symbol in the main movie but its still dosent work

Thanks alot.

View Replies !    View Related
How Do You Create "hot Spots" On Flash Movies?
i created a very simple flash movie, only four layers and it cycles through each one in 100 frames. i want users to be able to click on each one, when it is showing, and to be redirected to the page that the image should be linked to. is this possible and how? is there a way to add controls so that the user can stop or play, go forward or back too? thanks

View Replies !    View Related
Preloader In Externally Loaded Swf Stops Working (loaded Into An Empty Movie Clip)
SEE BOTTOM OF THREAD FOR CURRENT PROBLEM

1. I have my navigation buttons in level0

2. When a button is pressed it loads an external .swf into the highest empty level

3. There is an MC in this loaded .swf called loadmovie and inside that another MC called empty.

4. Inside the 'loadmovie' MC, there is a frame action that loads another external .swf file into the 'empty' MC.

The problem I am having is that the preloader that is on the external .swf that is loaded into the 'empty' MC does not work.

It works fine if you test it on its own. But not when loaded into a Movie Clip.

MY SCRIPT:
iBytesTotal = _root.getBytesTotal();
iBytesLoaded = _root.getBytesLoaded();
iBytes = (iBytesLoaded/iBytesTotal)*100;
percentageNumber = Math.round(iBytes)+"%";
setProperty("progressBar", _xscale, iBytes);

Do I have to refrence it differently? Because of where it is situated?

e.g
iBytesTotal = _level32._root.loadmovie.empty.getBytesTotal();

confesed!

View Replies !    View Related
[F8] Loading Movies Externally
I noticed the movies I'm adding to this site I'm working on are really building up some serious filesize on the main .swf file. Any chance there is a quick and dirty way to load them as external .swf's?

View Replies !    View Related
Still Can't Talk To Externally Load Movies
Thank you for your help on this, although I still can't get the thing to work, should be easy, but it's not working i'm spending way too much time on this.. Maybe i'm not calling it right.. Once again, here is my situation...
I have two externally loaded clips, one is on level one, the other level two. The level one loads into the root. The level two loads into another movie clip called "Menu". In the menu there is a button that I want to have talk to my externally loaded clip. I loade the clip into an empty movie clip called emptyclip_clients, and I called the empty clip "clients" as the instance. the externally loaded clip in in a clip of its own that I did not give an instance name ( was not sure if I needed too) Anyway, No matter what combination I use to try to talk to the loaded clip, it ignores the commands?, I've tried using root, level02, just the instance name... ultimataly, I am trying to preload this clip, and have it be invisible untill I need it, then the button is suppose to tell it to become visible when released,... I would even settle for it telling the external clip to gotoAndPlay frame 2, and I can just put an empty keframe on frame 1, but I cannot get it to do anything.


Mike

View Replies !    View Related
Looping A Loaded An Externally Loaded Mp3
I was trying to loop an externally loaded mp3 and suceeded on my machine, but when I upload the swf and mp3, the function will not work in my browser (IE). I tried a relative path, as well as the absolute URL and neither worked. Here is the code I used to loop the externally loaded mp3:

loopSound = function () {
my_sound.loadSound("whisper.mp3", true);
};
my_sound = new Sound();
my_sound.loadSound("whisper.mp3", true);
my_sound.onSoundComplete = loopSound;
my_sound.setVolume(45);

Any help would be most appreciated, I have wasted a lot of time on this already.

View Replies !    View Related
Externally Loaded Swf Does Not Stay Loaded
Hello,

I am loading an externally loaded swf that uses a mask to transition in. When the user clicks a different button I am doing a gotoAndPlay that goes to a mask that "unloads" the content (it doesnt actually unload the info is just outside of the mask area. As soon As I jump to that section the movie is no longer loaded and just shows the container clip that I had created for it. The Container Clip is never changed and is the same throughout the whole process. The only thing that changes is the mask animation.

Any input onto why this would happen would be greatly appreciated.

I have tried both loadClip and loadMovie but no luck on keeping the clip loaded.

EDIT
- I have narrowed it down. When I change the mask movieclip the movie unloads for some reason. Is there a way I can keep it loaded?

View Replies !    View Related
Pop Up From Externally Loaded Swf
I have the main index .swf and inside that .swf I have another externally loaded .swf. In that swf though I have a link to a 3rd party website that I need to load in a new window. The standard code that i have been using is:
btn_Up.onRelease = function() {
getURL("javascript:Launch('http://www.somewepsite.com, 600,600)");
};

Where btn_Up is the button. But for some reason because the swf is embedded into another swf it doesnt work. Please help!

View Replies !    View Related
Externally Loaded FLV
In my SWF fie, I have an externally loaded FLV file.

I now want to add another FLV that will load and play automatically when the first one is finished.
I actually want the SWF to jump to a new scene when the first movie is done.
How can I do that/ what the actionscript?
Steven

View Replies !    View Related
Pop Up From Externally Loaded .swf
I have a flash movie, that has a external .swf getting loaded into it, from that .swf I have a button, on that button I would like a script that will have a pop-up without toolbars, and at a certain size. What is the script added to the button for this? Thanks.

View Replies !    View Related
Externally Loaded Swf
Hello all,

I just made a flash site with buttons on top and I put a empty movie clip called "container" in the middlle of the site. All animation and buttons will animate and appear and "flash" around until frame 90. The site ends at frame 100. I then included the following code in frame 100:

_root.currMovie = "PEhome";
container.loadMovie(_root.currMovie + ".swf" );
stop();

How come it won't load the external .swf into the container?
Can anyone tell me what am I not doing right and what should be done to fix this problem. Thank you very much.

Ryan

View Replies !    View Related
HELP Mii With Externally Loaded SWF
hi there peps i jus need a tiny help with my externally loaded swf file and this so far is the AS am using loadMovieNum("<A href="http://www.geocities.com/krizinxgren/7UP.swf",0">http://www.geocities.com/krizinxgren/7UP.swf",0); please ignore the geocities address OK the code works well well but the situation is that instead of the loaded swf to play/run inside my main movie some how my main movie does not show instead all i can see is the loaded swf only still i learnt that i have to create a container or somthing but i still dono how the container function works please peps any help is a blessing to my work our works everybody

thanks all

K

View Replies !    View Related
HELP Mii With Externally Loaded SWF
hi there peps i jus need a tiny help with my externally loaded swf file and this so far is the AS am using loadMovieNum(http://www.geocities.com/krizinxgren/7UP.swf,0); please ignore the geocities address, the code works well well but the situation is that instead of the loaded swf to play/run inside my main movie some how my main movie does not show instead all i can see is the loaded swf only still i learnt that i have to create a container or somthing but i still dono how the container function works please peps any help is a blessing to my work our works everybody

thanks all

K

View Replies !    View Related
Pop Up From Externally Loaded .swf
I have a flash movie, that has a external .swf getting loaded into it, from that .swf I have a button, on that button I would like a script that will have a pop-up without toolbars, and at a certain size. What is the script added to the button for this? Thanks.

View Replies !    View Related
Externally Loaded Swf
Hello all,

I just made a flash site with buttons on top and I put a empty movie clip called "container" in the middlle of the site. All animation and buttons will animate and appear and "flash" around until frame 90. The site ends at frame 100. I then included the following code in frame 100:

_root.currMovie = "PEhome";
container.loadMovie(_root.currMovie + ".swf" );
stop();

How come it won't load the external .swf into the container?
Can anyone tell me what am I not doing right and what should be done to fix this problem. Thank you very much.

Ryan

View Replies !    View Related
Externally Loaded Swf
This is probably covered somewhere, but I am loading an external .swf into my main movie and i am just wondering if the actionscript works in the external swf. I see what i am assuming are pages with an external load and most have a preloader. How does this work.

View Replies !    View Related
Using PHP In An Externally Loaded SWF
:?

I've constructed a site in Flash, using an external loader. The tutorials on this site are great, thanks. I've made a contact page that uses php script, which has full functionality when previewed OR viewed as an independent HTMP page. However, when I submit contact info from the live site, I never receive any email. Can anyone tell me why this is??

I've tried everything I can think of, and have allowed every file in site folder access through the Flash Player Control Panel. I followed Lee's tutorials for both external loaders and the php contact page extactly.

Thanks in advance for any help!

http://www.simplypilatesnashville.com

View Replies !    View Related
//targeting.from.externally.loaded .swf >[.x.]<
I have a movie called --frame.swf
in it i have a mc that loads external .swf's into it. called holder mc instance name "holder"
--
a button on the _root timeline of frame.swf tells the movie clip to play the timeline of the ext .swf after it has been rested on a stop action
--
on the end of the time line of the ext loaded .swf there is a line of code that basically asks if the variable
profile = 1 if it does it says load profile.swf into the mc called "holder" of the movie frame .swf
---
now heres where I have a peoblem how do i target the main timeline of frame to target the mc w/ the instance name of holder?

i tried
if (portfolio=1) {
_root.holder.loadMovie("portfolio.swf", "holder");
} else if (vision = 1) {
_root.holder.loadMovie("vision.swf", "holder");
}

if you can be of any help ...thanx!

View Replies !    View Related
GetBytesLoaded On An Externally Loaded .swf
I can't seem to get the bytes loaded of an external .swf which is being loaded into a movie clip instance.

I have the target, _root.holderMC1.holderMC2 and place the external .swf into holderMC2 via

_root.holderMC1.holderMC2.loadMovie("http://url.com/some.swf", some_level);

I then do

if (_root.holderMC1.holderMC2.getBytesLoaded()==_root .holderMC1.holderMC2.getBytesTotal()){
gotoAndStop("remove_cover");
}else{
//loop
}

However, when the timeline gets to 'remove_cover', the items aren't loaded. They come in quickly, but they're clearly not fully loaded.

I think getBytesLoaded is measuring whether holderMC2 is loaded (it's only about 4 bytes) and moves on when it detects that it has. However, the actual external .swf has not loaded fully.

I've done some testing, trying to use the actual name of the .swf being loaded (eg. ...holderMC2.somename.swf), but it comes up zero as do a few other combinations.

Anyway, that's what I think the problem is, maybe it isn't, but how do I get the bytes loaded of an external swf being loaded into a movie clip instance? Does the level it's loaded make a difference if you're referring to it with _root?

View Replies !    View Related
How Do I Position A .swf Loaded Externally
Hi, I'm loading some external .swf movies into my main movie as menu items. It's all working great except that I can't seem to be able to position them without using an empty container. Is there any way of loadin an external .swf movie and giving it it's x y position without using containers?

View Replies !    View Related
Loader For Externally Loaded .jpg/.mp3
im loading .jpg and .mp3 files into a flash 'shell' movie.

they load into a movie clip called 'dropzone' and i was wondering if you can have a loader progress bar on .jpgs or .mp3s without them being in a .swf file.

View Replies !    View Related
Postioning Externally Loaded Mc's
Hi can anyone tell me how to position an exteranlly loaded swf.

I am using MX and the loadmovienum function what else do I add to position it where ever I want?

View Replies !    View Related
Controlling Loaded Swf's Externally
i posted this in scripting - backend, and didn't receive any replies. probably because it seemed to be the wrong forum. here it is again, verbatim. also, i'm using flash mx.

---

ok, this is the deal. i'm designing a site and basically what i want to happen is when a section is clicked, i want the previous section to animate out, and the other to animate in. also, i'm loading the sections into a movie clip, using loadmovie.

what i want to happen, ideally, is when a section is clicked, it changes the value of a variable, and then proceeds to play the swf that has been loaded into the movieclip. when it reaches the end of the timeline, i have an function checking the value of the variable (which is located in the main swf), and loading the appropriate swf file.

so, basically, what i'm having trouble with, is controlling the timeline of the loaded movie clip with a button located in a clip in the main swf. i was wondering if this is possible, and also if the function i created to check the value of the variable (for the sections) and also the variable can be passed into the loaded swf file also.

help would be very appreciated, and keep in mind, i'm fairly new to flash. thanks.

View Replies !    View Related
Controlling An Externally Loaded Swf
Can anyone help? I have a swf file that I have brought into my main movie using the loadMovie action (it is targeted to a blank movieClip called 'placeholder')

Does anyone know how I can control this loaded movie clip from a button on the main timeline?
When the button is pressed I want the loaded swf to begin playing at Frame X, and when it reaches frame Y, it tells the main movie to goto Scene2. (I think I know how to do the last bit! I'm just struggling with the first bit!!)

Any help/ideas would be much appreciated!!

Ta! :O)

View Replies !    View Related
How To Position Externally Loaded Swf?
I'm putting together a porfolio site of my video and DVD work, and since the images and video clips are pretty big, I am trying to load each one seperately with the loadMovie command.

The only way I can get the images to load in the appropriate place is by making the swf identical dimensions and adjusting the placement within it, so that when it loads into the main site, it is in the proper place.

My questions are: Does this make the exported swf bigger for each image? Is there a way to place it using actionscript so that I can make each image/video swf exaclty the dimansions of the pic/video?

My current script is:
on (press) {
loadMovieNum("IIT.swf",1);

}

Thanks,
Sara

View Replies !    View Related
Printing An Externally Loaded Swf.
I have an external swf that is loaded into the main movie. The swf contains a print button to print it's contents. Using this script:


PHP Code:



on (release) {
    getURL("print:", "/loader.karta");
}




Where loader is the mc instance name that the swf is loaded into and karta is the instance name of the mc in the swf that i want to print.

When I try to print the dialog shows print all or print pages 1-15. What I want is for it to just make it possible to preint the specific mc...

THANKS!

View Replies !    View Related
Stopping An Externally Loaded MP3
Here is my code thus far.

on (rollover) {
myinstance = new Sound();
// load sound, set streaming to true:
myinstance.loadSound("my.mp3", true);
}

how do I make this stop on a rollout?

thanks

View Replies !    View Related
Sizing Externally Loaded Swf
(Flash MX)

Hi,

I have following script to load an external swf (or jpg) to the stage. I would like to size that swf ("themovie.swf") to 400 width, 300 height. I tried adding "_width=400, _height=300" after "_x=0, _y=0", but somehow it doesn't work. The swf is still wider than 400.

How can I size it how I want it to be? Thanx for your help!


PHP Code:



function load_jpg_or_swf(targetMC, jpgURL) {
    targetMC.loadMovie(jpgURL);
    attachMovie("loader", "loadMC", 1000);
    loadMC.loadtarget = targetMC;
    loadMC.onEnterFrame = is_loaded_results;
}
function is_loaded_results() {
    LoadedBytes = this.loadtarget.getBytesLoaded();
    TotalBytes = this.loadtarget.getBytesTotal();
    Percent = LoadedBytes/TotalBytes*100;
    Kb = Math.round(TotalBytes/1024);
    if (Percent<9.5) {
        this.displaypercentage = Math.round(Percent)+"% van "+kb+" Kb geladen";
    } else {
        this.displaypercentage = Math.round(Percent)+"% van "+kb+" Kb geladen";
    }
    if (LoadedBytes == TotalBytes && LoadedBytes>0) {
        this.removeMovieClip();
    }
}
this.createEmptyMovieClip("picture", 1);
yourJPGurl = "themovie.swf";
load_jpg_or_swf(picture, yourJPGurl,  _x=0, _y=0);
stop();

View Replies !    View Related
Repositioning An Externally Loaded Swf
When I load an external swf file using the following code....

loadMovie(""blah.swf","_level2");


How do I then target that loaded movie so I can reposition it soemwhere else on the stage ? Does it have a reference name ?

Cheers

Thanks in advance

View Replies !    View Related
Remove An Externally Loaded Swf?
i am trying to remove an external swf from my main movie. it doesnt want to go away! does anyone know how to do this? i tried to use:

on (press) {
_root.contents.unloadMovie();
}

but it didnt work. it just made the move get stuck.

here is what it looks like now:
http://www.braddockdesign.com/kirupa...moveMovie.html

i am attaching the file here:
http://www.braddockdesign.com/kirupa...emoveMovie.zip

thanks for any help!

View Replies !    View Related
Duplicate Swf Loaded Externally
hello, i'm loading an external swf into mc, with metod:
loadMovie("example.swf", mc1.mc2);
how to copy this swf into another mc? ex. into mc3. I want it copied becouse i'm loading another swf file into mc2. i'dont want to use loadMovie one more time becouse it will be downloaded again,

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved