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








Changing Property Of A Movie Clip In A Loaded Movie...


Hi,

I'm trying to change an alpha property of a movie clip in a separate swf that has been loaded into my main movie. Is this possible? Could someone explain how this is done please?

Cheers,
Ste.




FlashKit > Flash Help > Flash Newbies
Posted on: 05-09-2006, 07:07 AM


View Complete Forum Thread with Replies

Sponsored Links:

A Box Changing Size Based On The Movie Clip Being Loaded?
how do you have a box change to the size based on the size of the movie clip being loaded into it?

View Replies !    View Related
Changing Registration Point In A Loaded Movie Clip
Can anyone help me with my problem?

I’m building a interface with a zoom and pan function. The only problem i got now is that i need to change the registration point in the loaded Jpeg file.

When you use something.laodMovie(””); the uploaded image get the registration point (0,0) in the upper left corner. i need to get this registration point to the center of the uploaded image.

Can anyone tell me how this is dun, or is it impossible like many forum say?

View Replies !    View Related
[MX]Host Movie Changing Size Of Loaded Movie
I have got 3 different size movies one of which will be loaded into a main movie dependant on the result of a browser setting query executed by: System.capabilities.screenResolutionX;.

The problem I am having is getting the movies loaded into the host movie to retain their original dimensions. Although I have set the “Dimensions” setting to “Match Movie” in the movie to be loaded, it always scales up to the size of the stage in the host movie?

I had thought about loading the movie into a clip & then scaling that, but the partial example in a reference book that i'm using, although not explaining the whole process, does load a swf into a host movie not a clip.

View Replies !    View Related
How Can I Control A Movie Clip Which Was Loaded In To A Empty Movie Clip On Level 0
how can i control a movie clip which was loaded in to a empty movie clip on level 0 the name of the movie is 'imagemc.swf' and 'imagemc' for the empty movie clip on level 0. the movie doesn't have a movieclip name, how am i going to tell target the movie?

View Replies !    View Related
Control Property From Loaded Movie ?
Hello,

Is it possible to control a MC's alpha from another swf that's loaded into a higher level ??

Thanks in Advance.

View Replies !    View Related
Loaded Movie's _width Property
this is odd. wondering if anyone has encountered it before, and if so, if they found a solution.

i have a thumbnail holder movieclip, that has been registered as a class and is dynamically attached. once attached, each thumbnail holder loads its designated thumbnail jpeg.

the script used to set the properties of this registered class is:
code:
function Thumbnail() {
this.item_num = Number(this._name.substr(4));
// set position properties
this._x = (this.item_num%2)*150;
this._y = Math.floor(this.item_num/2)*150;
// color object
this.stroke_color = new Color(this.stroke);
this.over_col = "0xff9900";
this.out_col = "0xcccccc";
// image src
this.thumb_src = _root.src_array[this.item_num];
this.holder.loadMovie(_root.base_url+this.thumb_sr c);
this.onEnterFrame = function() {
var pct = int((this.holder.getBytesLoaded()/this.holder.getBytesTotal())*100);
if (pct == 100) {
this.activate();
delete this.onEnterFrame;
} else {
this.bar._xscale = pct;
}
};
}


once the thumbnail has fully loaded into the holder, the border of the thumbnail needs to resize to accommodate the dimensions of the thumbnail image. this is done with the following script:
code:
Thumbnail.prototype.activate = function(w) {
this.stroke._width = this.holder._width + 10;
this.stroke._height = this.holder._height + 10;
// other setup functions
};


my problem is this. when using an attached movieclip that has been registered as a class, the _width property of the loaded image is 0, whereas if i simply attach the movieclip from the library and set all its properties either within the movieclip itself or in the for loop that attaches them, i can retrieve the actual width of the image.

does anyone know of any issues there may be with returning the _width property of "Object.holder._width" instead of "MovieClip.holder._width"????

View Replies !    View Related
Loaded Movie's _width Property - Wierd
this is odd. wondering if anyone has encountered it before, and if so, if they found a solution.

i have a thumbnail holder movieclip, that has been registered as a class and is dynamically attached. once attached, each thumbnail holder loads its designated thumbnail jpeg.

the script used to set the properties of this registered class is:
code:
function Thumbnail() {
this.item_num = Number(this._name.substr(4));
// set position properties
this._x = (this.item_num%2)*150;
this._y = Math.floor(this.item_num/2)*150;
// color object
this.stroke_color = new Color(this.stroke);
this.over_col = "0xff9900";
this.out_col = "0xcccccc";
// image src
this.thumb_src = _root.src_array[this.item_num];
this.holder.loadMovie(_root.base_url+this.thumb_sr c);
this.onEnterFrame = function() {
var pct = int((this.holder.getBytesLoaded()/this.holder.getBytesTotal())*100);
if (pct == 100) {
this.activate();
delete this.onEnterFrame;
} else {
this.bar._xscale = pct;
}
};
}


once the thumbnail has fully loaded into the holder, the border of the thumbnail needs to resize to accommodate the dimensions of the thumbnail image. this is done with the following script:
code:
Thumbnail.prototype.activate = function(w) {
this.stroke._width = this.holder._width + 10;
this.stroke._height = this.holder._height + 10;
// other setup functions
};


my problem is this. when using an attached movieclip that has been registered as a class, the _width property of the loaded image is 0, whereas if i simply attach the movieclip from the library and set all its properties either within the movieclip itself or in the for loop that attaches them, i can retrieve the actual width of the image.

does anyone know of any issues there may be with returning the _width property of "Object.holder._width" instead of "MovieClip.holder._width"????

View Replies !    View Related
Is There A Property For Number Of Frames In A Loaded Swf Movie?
Is there a property for number of frames in a loaded swf movie that I could check against _currentframe to detect the end of a movie (or other arbitrary point)?

View Replies !    View Related
Movie Clip Property Help
Hi,

I'll keep this straight forward. On a duplicated MC that say duplicates an arrow in all different sizes and shades of alpha, Is it possible to randomise the colour too?


Code:
count = 1;
while (count<10) {
_root.arrow.duplicateMovieClip("arrownew"+count, count);
_root["arrownew"+count]._x = random(750);
_root["arrownew"+count]._y = random(390)+10;
_root["arrownew"+count]._xscale = random(200);
_root["arrownew"+count]._yscale = 450;
_root["arrownew"+count]._alpha = random(100) ;
count += 1;
}
Thanx for any input.

View Replies !    View Related
[F8] Movie Clip Property
Is there a property you can access with script that controls a clips "flipped-ness." As in modify- flip horizontal. Thanks.

View Replies !    View Related
[F8] Property Of Movie Clip?
How do I center dynamically loaded pic?

I've got this code:

Code:
var mcLoder:MovieClipLoader = new MovieClipLoader ();
var myListener:Object = new Object ();
mcLoader.addListener(myListener);
this.createEmptyMovieClip("mcLoader", this.getNextHighestDepth());
mcLoader._x = 17;
mcLoader._y = 200;
mcLoder.loadClip("flashimg/sale/saleHeader0001.jpg", "mcLoader");
it always load the pic from the top Left corner? How do I center it?

View Replies !    View Related
Property Of Movie Clip?
How do I center dynamically loaded pic?

I've got this code:

Code:
var mcLoder:MovieClipLoader = new MovieClipLoader ();
var myListener:Object = new Object ();
mcLoader.addListener(myListener);
this.createEmptyMovieClip("mcLoader", this.getNextHighestDepth());
mcLoader._x = 17;
mcLoader._y = 200;
mcLoder.loadClip("flashimg/sale/saleHeader0001.jpg", "mcLoader");
it always load the pic from the top Left corner? How do I center it?

View Replies !    View Related
Target Host Movie Clip From Loaded Movie Clip.
Hi all.

I have a movie clip loaded into my main movie. This movie clip is the INTRO of the website. What want is that when this INTRO ends it should tell the main movie to go to the next scene of the movie. I tried _parent.nextScene() but it is not working. Please help me as I need it badly and urgently.

Thanks.

Zee

P.S: Btw this is my first ever post on FlashKit so I hope to have a great time here!

View Replies !    View Related
How Do I Check The Y Property Of A Movie Clip?
How do I check the _y property of a movie clip. This code doesn't seem to recognise when the _y property equals 49.9.

if((getProperty("square1", _y))==49.9){correct[1]=1};

Please can you help me!!!

Simon Plenderleith
___________________
If I die b4 I wake at least in heaven I can sk8!

View Replies !    View Related
Using A Variable To Set Property Of Movie Clip
I am using the following to "switch on" a movie clip on the stage (it was previously hidden):

_root.movieclip1._visible=true;


Which works fine, but I want to target which movie clip gets switched on by passing a variable from a button, e.g. the button sets:

cliptoactivate=movieclip1

so I need to incorporate this.

I have tried:

_root.("cliptoactivate")._visible=true;

but i get errors, not sure what other way to try it. Im sure its very simple.


for a bonus point, how can I then get this movie clip to start playing?

Thanks alot

View Replies !    View Related
Can I Add A New Property To A Movie Clip Instance?
hi all, here is my question:

I ve created a mc(contains a simple picture), can I add a new property to this mc by using addProperty?

Here is something I want to do:

///////////////////////////////////////////////////
_root.pic.prototype.setQ = function(value){
this.xxx = value;
}
_root.pic.prototype.getQ = function(){
return this.xxx;
}
_root.pic.prototype.addProperty("quality", _root.pic.prototype.getQ, _root.pic.prototype.setQ);
/////////////////////////////////////////////////////

I fail to do so......

View Replies !    View Related
Load Movie Clip When A Property Is Set.
When this happens....

on (press, release) {
setProperty("_root.movie.markerback", _x, "-1725");
}


I would like a movieclip to load after the property is set.

when it isn't set I would like the movieclip not loaded.

is it possible?

View Replies !    View Related
Changing Height Of Movie Clip Without Changing Width
Im using flash MX, and i needed to know if it was possible to change the height of a movie clip without changing the width of it. i have a 1px wide line, and i want to change the height of it, but i want to keep it 1px wide. is it possible to do this without having to redraw it everytime i want to change it?

View Replies !    View Related
Basic Movie Clip Property Question
Hi i have three items on my stage a Movie clip "shape_mc", a dynamic text box "rotation_txt" and a button "round_btn"

The code below works fine:


Code:
round_btn.onRelease = function() {
with (shape_mc) {
_x = 122;
_y = 132;
_rotation += 10;
}
rotation_txt.text=getProperty(shape_mc,_rotation);
};


However if i put the keyword "this" in the last line that is:


Code:
rotation_txt.text=getProperty(this.shape_mc,_rotation);



Then the dynamic box says undefined when i test the movie. Why is this so? because in the actionscript panel Flash adds the keyword "this" itself if i click the "insert a target path" button and click on the movieclip "shape_mc"..


Thanks for any help..cheers

View Replies !    View Related
Tracking The Visible Property Of A Movie Clip
Hello,

I am trying to track the visible property of a movie clip as I need to perform a function when visible = true and another when visible =false

I have tried to use a listener object but I can’t get it to work. Can you attach a listener object to listen for the visible property?

I have also tried an IF statement inside the move clip but this only knows the state of the ._visible when it first runs.

I have got it to work with an onEnterFrame function on a movie clip inside the one I want to know the property of but I don’t like using the onEnterFrame as it uses a lot or processor speed

Is there an easy way to track the visible property of a movieclip???

Thanks

Sam.

View Replies !    View Related
Tracking The Visible Property Of A Movie Clip
Hello,

I am trying to track the visible property of a movie clip as I need to perform a function when visible = true and another when visible =false

I have tried to use a listener object but I can’t get it to work. Can you attach a listener object to listen for the visible property?

I have also tried an IF statement inside the move clip but this only knows the state of the ._visible when it first runs.

I have got it to work with an onEnterFrame function on a movie clip inside the one I want to know the property of but I don’t like using the onEnterFrame as it uses a lot or processor speed

Is there an easy way to track the visible property of a movieclip???

Thanks

Sam.

View Replies !    View Related
Assigning Custom Property To Movie Clip
Well hello there all you wonderful, bouncy, happy peeps in Kirupa Land!

This may sound like a rather retarded question, but I'm trying to assign a custom value (or "property") to MovieClips as I create them, rather than embedding the values in text-fields within the target MovieClips.

eg, something like (or so I should imagine):

exampleMC.exampleProperty = "1234";

rather than:

exampleMC.examplePropertyText.text = "1234";

So that I can then retrieve those values onClick / rollover whatever without having to read the values from the text-fields within...

Now I'm guessing this must be a really, really simple procedure but I simply can't figure out how to do it...

Peace, love and fluffy, fluffy flowers

View Replies !    View Related
Control The Play On The Main Timeline From Within A Loaded Movie (not A Movie Clip)?
Question... I have a movie (main movie) that loads another movie (movie 2) automatically. Movie 2 contains a button that loads yet another movie (movie3). Now I’m having trouble with this next part... When movie3 loads I want "main movie" to stop where it’s at in the timeline and stop all other loaded movies until the user clicks another button where upon movie 3 will go away and "main movie" will resume. Movie 2 is like the paper clip guy in Word and movie 3 is my help movie. Therefore, it can be accessed at any point during the main movie and I don’t want to use a goTo command to jump to a frame label or scene. Does anyone have any idea how to control the play on the main timeline from within a loaded movie (not a movie clip)?

View Replies !    View Related
Closing A Loaded Movie Clip & Returning To A New Frame In The Parent Movie
I have 2 movie clips movie1.swf & movie2.swf.
A button on frame 2 in movie1.swf loads movie2.swf onto layer 1.
I then have a close button in movie2.swf that I need to set up so it closes movie2.swf but instead of returning to frame 2 of movie1 it goes to frame 1.

I know this is probably really simple but I can't seem to get it right!

Cheers.

View Replies !    View Related
Closing A Loaded Movie Clip & Returning To A New Frame In The Parent Movie
I have 2 movie clips movie1.swf & movie2.swf.
A button on frame 2 in movie1.swf loads movie2.swf onto layer 1.
I then have a close button in movie2.swf that I need to set up so it closes movie2.swf but instead of returning to frame 2 of movie1 it goes to frame 1.

I know this is probably really simple but I can't seem to get it right!

Cheers.

View Replies !    View Related
Closing A Loaded Movie Clip & Returning To A New Frame In The Parent Movie
I have 2 movie clips movie1.swf & movie2.swf.
A button on frame 2 in movie1.swf loads movie2.swf onto layer 1.
I then have a close button in movie2.swf that I need to set up so it closes movie2.swf but instead of returning to frame 2 of movie1 it goes to frame 1.

I know this is probably really simple but I can't seem to get it right!

Cheers.

View Replies !    View Related
Calling A _root. Variable Of A Movie Clip That Is Loaded Into Another Movie...
My problem is I have two movie clips that i'm working with. The child-clip has a variable and a movie at _level10 (the base of it) that I would like to call when the child-clip is loaded into the parent-clip. I tried _level10.variable but that did not work. And commonly _root brought me to the _root of parent.

How can I get around this?

P.S.
I know there was a way in Flash 4 that you could call instances backwards (//instance) or something like that. But I haven't used Flash 4 in a LONG while.

Plz Help

View Replies !    View Related
Way To Keep _root. In A Loaded Movie Clip, Instead Of Loading Movie Root?
I read at one point about how to do this, but forgot both the source and the method. Any help? Thanks.

View Replies !    View Related
Unable To Referent Movie Clip Property Using _root ?
Hello,

My game frame has a function called newgame (which reset paramaters including scores)


Code:
function newgame(){
_root.cpu.score = 0; // Reset CPU dynamic text field score
I have a movieclip that updates the scores and prints it to screen, all is working good


Code:
_root.cpu.score++;

When the game ends the main frame gotos another frame 'Rematch'


Code:
if (minutes == 0 && seconds == 0)
{
clearInterval(timer); // Reset timer interval
_root.finalwhistle.start();// Play End Whistle noise
gotoAndStop("rematch");
}
Within rematch based on the score I update dynamic text on screen, however the variables are shown up as undefined (see below)


Code:
trace("Scores are Player 1 = " + _root.P1footballman.score + " CPU scores " + _root.cpu.score);

Display different message dependant on result
if (_root.P1footballman.score > _root.cpu.score) {
_root.rematchtxt = "You Won, Replay match Y/N ?";}
else if ( _root.P1footballman.score < _root.cpu.score) {
_root.rematchtxt = "You Lost, Replay match Y/N ?";}
else _root.rematchtxt = "Draw, Replay match Y/N ?";
}
I thought I could reference movieclip objects information from anywhere using _root. Im very confused can anyone please help?

Thanks and cheers for all those who've helped me before.

View Replies !    View Related
Unable To Referent Movie Clip Property Using _root ?
Hello,

My game frame has a function called newgame (which reset paramaters including scores)


Code:
function newgame(){
_root.cpu.score = 0; // Reset CPU dynamic text field score
I have a movieclip that updates the scores and prints it to screen, all is working good


Code:
_root.cpu.score++;
When the game ends the main frame gotos another frame 'Rematch'


Code:
if (minutes == 0 && seconds == 0)
{
clearInterval(timer); // Reset timer interval
_root.finalwhistle.start();// Play End Whistle noise
gotoAndStop("rematch");
}
Within rematch based on the score I update dynamic text on screen, however the variables are shown up as undefined (see below)


Code:
trace("Scores are Player 1 = " + _root.P1footballman.score + " CPU scores " + _root.cpu.score);

Display different message dependant on result
if (_root.P1footballman.score > _root.cpu.score) {
_root.rematchtxt = "You Won, Replay match Y/N ?";}
else if ( _root.P1footballman.score < _root.cpu.score) {
_root.rematchtxt = "You Lost, Replay match Y/N ?";}
else _root.rematchtxt = "Draw, Replay match Y/N ?";
}
I thought I could reference movieclip objects information from anywhere using _root. Im very confused can anyone please help?

PS I think i need sleep, having difficuly doing anything simple in flash at the moment! Arrghhhh

Thanks and cheers for all those who've helped me before.

View Replies !    View Related
Passing Variables From Movie Clip To Loaded Movie
I've got a movie clip which contains a button in it. This movie clip contains a few dynamic text fields and is duplicated 20 times. When clicked the button loads a movie into a specified target. Is there a way to send the movie clip's variables to the loaded movie?
Thanks very much.
-Mike

View Replies !    View Related
Movie Clip To Low Opacity When External Movie Is Loaded
Hi all,

I have a movie clip with a button that loads an external flash movie when clicked. Once the external movie is loaded I would like the movie clip (that will remain as a background) to low its opacity. How can I do that ??? I'm using AS2 and the way that I'm loading the external movie is:


Code:
on (release) {
loadMovieNum("new.swf", 1);
}
Thanks a lot in advance!

View Replies !    View Related
Duplicating Movie Clip With External Movie Loaded Into It
I have a movieclip called "textcolor" that loads an external "movie1.swf" into itself when a button is pushed -- and it works.

But when I attempt to duplicate the "textcolor" movieclip after the "movie1.swf" has loaded into it, it doesn't work. Of course I can control all other attributes about "textcolor" such as alpha and size using other buttons, why can't I duplicate it?

Here's my simple code:

---------------------

on (release) {
_root.textcolor.duplicateMovieClip("textshadow", 1);
textshadow._x = 200;
textshadow._y = 200;
}

---------------------

Is there something I'm missing here?

Much thanks,
--James

View Replies !    View Related
Movie Clip To Low Opacity When External Movie Is Loaded
Hi all,

I have a movie clip with a button that loads an external flash movie when clicked. Once the external movie is loaded I would like the movie clip (that will remain as a background) to low its opacity. How can I do that ??? I'm using AS2 and the way that I'm loading the external movie is:


Code:


on (release) {
loadMovieNum("new.swf", 1);
}


Thanks a lot in advance!

View Replies !    View Related
Loaded Movie Clip To Talk To The Movie That Loaded It
Trying to get a loaded movie clip to talk to the movie that loaded it, but can't figure out the right ActionScript... . i'm using:

on (release) {
tellTarget ("home.swf") {
gotoAndPlay("blank");
loadMovieNum("viewer.swf", 2);

it ain;t workin, i've also tried _parent &
_root - in replace of 'home.swf' to no avail, much thanks to anyone that can help!!!

View Replies !    View Related
Scrolling Movie Clip That Use's Get Property Need To Set Max Scroll Limit Any Ideas?
i have a movie clip which use's the set, get property commands.

the problem is setting a max scroll point so that the clip stops scrolling at a certin point.

i have a set of actions on piticular frames.

for example

y = getProperty("office", _y);
setProperty ("office", _y, Number(y)-10);

what happans is a have a set of buttons which on roll over go to these frames.

im trying to set a max limit by using the if command but im having trouble

Any help people would be great. Always appreciate it

Mo...

View Replies !    View Related
[Flash 8] Rotating A Movie Clip With Code / The Width Property?
Hi, is there any way to rotate a movie clip during runtime?
Also, do movie clips have a width property that can be accessed with actionscript?

View Replies !    View Related
Movie Clip Loaded Within Movie Clip Problems
Hi there,

I was wondering if someone could help me. I want to have a button ("Shows") in one flash file (site.swf) and when it is clicked it will load a movie into an empty movie clip (loadMovie("skillbest.swf", "shows"). The skillbest.swf file has a text box with a scroll bar that was made from scratch. The textbox loads text dynamically from an external text file (message.txt). On its own, the skillbest.swf loads the text correctly, and the scroll bar calculates the correct height. Once you try and load the skillbest.swf file from the methond above (loadMovie) from the site.swf file, the text does not get loaded. I'm wondering if someone could help me fix this and tell me what I'm doing wrong. I've included the files, and will open in Flash MX. I thank you all in advance, and hope someone can help me.

Michael

View Replies !    View Related
Having A Loaded Movie Clip Talk To Another Movie Clip
Here's what I want to do:

Load a clip into my main movie - "loadedMovie"

at the end of the timeline in "loadedMovie" i want a function, perhaps setColor, which will change the colour of another movie clip which sits in the main movie.

Does this make sense? for a loaded movie clip to change the color of an instance of another movie?

Many thanks,

Ray

View Replies !    View Related
Loading Movie Clip Into Loaded Movie Clip
Hi,
I'm working on a flash site and I'm having some trouble with the programming for it. I'm not so great at action script, so I'm hoping that my troubles are caused by my own stupidity and that some cool smart person will have an answer for me.
So, I have a main menu flash file that functions like the one in this tutorial:
http://www.kirupa.com/developer/mx/p...transition.htm I set it to load various swf files and it's works just fine. What I want to do is have it load a swf that functions exactly the same (buttons that load external clips with transitions) as the main swf- this is a sub page menu. So, in theory, the sub menu page should load the final content, and three swfs would be seen stacked ontop of each other.

I changed the instance names in the sub menu file to be different than that in the main menu file. This fixed the original problem of it loading the content clip into the clip that the sub menu should stay in. Now, It loads the sub menu just fine, but then it gets stuck and never loads the content. The sub menu buttons will not function at all. Independent of the main menu, the sub menu file works perfectly What can I do??? Does it have anything to do with the "_root"? I never understood the concept, so I'm having trouble with it. Any help at all would be highly appreciated. Thanks Much!!!

View Replies !    View Related
Loading Movie Clip Into Loaded Movie Clip
Hi,
I'm working on a flash site and I'm having some trouble with the programming for it. I'm not so great at action script, so I'm hoping that my troubles are caused by my own stupidity and that some cool smart person will have an answer for me.
So, I have a main menu flash file that functions like the one in this tutorial:
http://www.kirupa.com/developer/mx/p...transition.htm I set it to load various swf files and it's works just fine. What I want to do is have it load a swf that functions exactly the same (buttons that load external clips with transitions) as the main swf- this is a sub page menu. So, in theory, the sub menu page should load the final content, and three swfs would be seen stacked ontop of each other.

I changed the instance names in the sub menu file to be different than that in the main menu file. This fixed the original problem of it loading the content clip into the clip that the sub menu should stay in. Now, It loads the sub menu just fine, but then it gets stuck and never loads the content. The sub menu buttons will not function at all. Independent of the main menu, the sub menu file works perfectly What can I do??? Does it have anything to do with the "_root"? I never understood the concept, so I'm having trouble with it. Any help at all would be highly appreciated. Thanks Much!!!

View Replies !    View Related
Controlling A Movie Clip Of Loaded Movie
We can load another movie on main movie:
loadMovieNum ("loaded.swf", 1);

We can also control a movie movie clip:
tellTarget ("movie clip") {
gotoAndPlay (2);
}

My question is how I can control the movie clip in loaded
movie by clicking a button in main movie.

In detailed.

I made a swf file named MAIN.SWF.

And I loaded another swf file named LOADED.SWF on MAIN.SWF using load movie action.

I want to move the frame of LOADED.SWF by clicking a button in MAIN.SWF.

Can I do it?

If I can do it, I have one more.

The LOADED.SWF has a movie clip.

Can I move the frame of the movie clip in LOADED.SWF
by clicking the button in the MAIN.SWF?

Is it possible? How?

Thanks in advance

View Replies !    View Related
Movie Clip Problem With Loaded Movie
I am trying to load a .swf movie (loaded movie) into another movie (main movie). There are movie clips within the loaded movie that stop and start based on which frame the movie is playing.

In the main movie the loaded movies' movie clips lose their stop and start functionality. When I test the main movie I get a "target not found" when the loaded movie tries to stop and start the movie clips.

View Replies !    View Related
Stop Movie Clip Until Movie Loaded
I have a transition movie clip in a main movie. I want to stop the clip until an external swf has completed loading and then have the clip continue. Also the same transition is being used for all external movies. Thanks--I'm a Rookie.

View Replies !    View Related
Loaded Movie Clip To Main Movie
Hello,

Need some help

I load an external movie clip on LEVEL 1 which has a buton that unloads that same external movie clip and then goes back to the main movie but plays a different FRAME LABEL.

Can;t seem to make it work.

Using this code:

on (release) {
unloadMovieNum(1);
gotoAndPlay("start_classes");
}


I know I can save myself the research by just placing the button on the main movie, but I would like to know how I can do this from the external movie clip.
THE CODE ABOVE WORKS IF BUTTON IS PLACED ON MAIN MOVIE CLIP.

NOTE: The main movie loads, there is a button that loads the external movie clip on LEVEL 1 which has a button that unloads itself to go back to the main movie but play a different FRAME LABEL.

I just wrote the extra note just in case i confused anyone lol

I tried some _root scripts, but since i am pretty new i get a bit lost

please help,

Thanks in advance.

Loo

View Replies !    View Related
Loaded Movie Extends Outside Movie Clip
The main movie is 750px x 400px with a movie clip named holder_mc. This mc is placed in the center of the main movie and measures 250px x 150px. The secondary movie is 250px x 150px. This second movie contains graphics that are larger than 250px x 150px that have been converted to movie clips. I use motion tweens to scroll these images from top to bottom and side to side and they work fine. The problem comes when I load this secondary movie into the holder_mc of the main movie using loadMovie and then play it.
The images play outside the boundaries of the movie clip. So instead of an image looking like it is scrolling, the whole image is displayed at one time and moves up & down and side to side. I have masked the images and then the movie displays the way I intended it to. The thing is I don't want to have to use masks all the time. This didn't start happening until I downloaded flash player 9. If it happens on my computer will happen on other computers? How can I fix this problem?
I am using Flash MX 2004 professional on a windows xp professional computer,
Can anyone tell me what is happening here and how I can fix this problem?
Thanx...Mark.

View Replies !    View Related
Control Movie Clip In Movie Loaded
hi guys...
quick and simple...
i loaded swf in movie clip ... no problem
in the swf there are 10 keyframes and every one take a lable frame... i can control this lables from the main swf but i need to control a movie clip in the SWF and it's own a lable inside it.

ActionScript Code:
loadMovie("bgDataHolder.swf", "_root.mc_holder")

load bgDataHolder.swf in mc_holder..it's ok

ActionScript Code:
_root.mc_holder.gotoAndPlay("label1")

it's working
but in bgDataHolder.swf there is a movie clip calls mc_lighting and it's own lables in it... how can i control mc_lighting which in bgDataHolder.swf

View Replies !    View Related
Control Movie Clip In Movie Loaded
hi guys...
quick and simple...
i loaded swf in movie clip ... no problem
in the swf there are 10 keyframes and every one take a lable frame... i can control this lables from the main swf but i need to control a movie clip in the SWF and it's own a lable inside it.

ActionScript Code:
loadMovie("bgDataHolder.swf", "_root.mc_holder")

load bgDataHolder.swf in mc_holder..it's ok

ActionScript Code:
_root.mc_holder.gotoAndPlay("label1")

it's working
but in bgDataHolder.swf there is a movie clip calls mc_lighting and it's own lables in it... how can i control mc_lighting which in bgDataHolder.swf

View Replies !    View Related
Changing The Size Of A Loaded In Movie
Hi, is it possible to load an swf into another but have it loaded in one a 50% its normal size (without editing the swf that's being loaded in...)

M@)

View Replies !    View Related
Changing Loaded Movie's Frames
hi, I currently have a container on my main movie which I am using to load my picture to. so basically the code is cont1.loadMovie("pic1.swf"); Now, on these "pic1" and "pic2", etc., they have their individual loading screens. However, since they're pictures, the viewer will be able to press next, previous. Right now when I press previous, it will load the movie again even though I just loaded it. Is there anyways to say if the movie is already loaded, skip the load screen on "pic1.swf" and go straight to the image? Thanks!

View Replies !    View Related
Changing Properties Of An MC Containing A Loaded Movie.
Hi guys!

I have an MC with instance name m1. I load a movie into it called sunset.


Code:
m1.loadMovie ("swf/sunset.swf");
this works. then i position the m1 containing sunset.swf wherever i want.


Code:
m1._x = 20;
m1._y = 20;
I also want the m1 to rezise because the sunset is wider then the movie it is loaded into. So i go:

m1._width = 250;

When i add this, the sunset.swf does not show anymore! I can hear it, but it is nowhere to bee seen. I have tried other values as well. When i put in minus value (-1 and under), it becomes visible but at normal size....


Whay am i doing wring?

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