RE: [Flashcoders] loadMovie question

2007-02-02 Thread Alain Rousseau
You should try masking your movieclip through code, as you are loading into
it with code :

movieclip_a.masked.setMask(movieclip_a.mask);
then your masked movieClip should remain masked even if you load a jpeg
inside it.

I say should, but I've not tested this precise setup ...

HTH

Alain 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [p e r c e p
t i c o n]
Sent: 2 février 2007 11:26
To: flashcoders
Subject: [Flashcoders] loadMovie question

Hello all,
i'm trying to load a jpg into a movie clip that is nested within a movieclip
and masked by another movieclip within the same clip

for example

movieclip_a.mask
movieclip_a.masked

the problem is that the jpg is showing up on top of everything...shouldn't
it be behind the mask even if it is larger than everything else?

thanks

p
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.411 / Virus Database: 268.17.19/663 - Release Date: 2007-02-01
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.411 / Virus Database: 268.17.19/663 - Release Date: 2007-02-01
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] loadMovie question

2007-02-02 Thread [p e r c e p t i c o n]

Hi Alain,
I would think that would work too, but i tried that as well...not sure
what's happening...

in fact all of my coordinates are all screwed up...plus i've noticed that
when i change the width of some clips it literally skews the clip as if i
used the transform tool...very strange as i haven't touched the matrix of
the clip...

i've never had this happen before so i quite baffled

thanks

p
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] loadMovie question

2007-02-02 Thread Helmut Granda

It sounds like you are not loading the JPG to the right target. Make sure
your loadmovie is loading correctly.

On 2/2/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:


Hi Alain,
I would think that would work too, but i tried that as well...not sure
what's happening...

in fact all of my coordinates are all screwed up...plus i've noticed that
when i change the width of some clips it literally skews the clip as if i
used the transform tool...very strange as i haven't touched the matrix of
the clip...

i've never had this happen before so i quite baffled

thanks

p
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] loadMovie question

2007-02-02 Thread Alain Rousseau
Yes or use the MovieClipLoader class

var mLoader:MovieClipLoader = new MovieClipLoader();
mLoader.load(movieclip_a.masked, image.jpg);

If you load your jpeg to a depth of 0 it might overwrite the masked
movieClip and thus you lose the mask as for the skewing, have you rotated or
modified your clips inside the IDE before applying your modifications ? this
might affect the actual way it is resized. Othewise I'm with you ... this is
indeed weird.
You might have to rebuild a new Flash file if this persists ...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helmut
Granda
Sent: 2 février 2007 12:25
To: Flashcoders mailing list
Subject: Re: [Flashcoders] loadMovie question

It sounds like you are not loading the JPG to the right target. Make sure
your loadmovie is loading correctly.

On 2/2/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:

 Hi Alain,
 I would think that would work too, but i tried that as well...not sure 
 what's happening...

 in fact all of my coordinates are all screwed up...plus i've noticed 
 that when i change the width of some clips it literally skews the clip 
 as if i used the transform tool...very strange as i haven't touched 
 the matrix of the clip...

 i've never had this happen before so i quite baffled

 thanks

 p
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.411 / Virus Database: 268.17.19/663 - Release Date: 2007-02-01
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.411 / Virus Database: 268.17.19/663 - Release Date: 2007-02-01
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] loadMovie question

2007-02-02 Thread [p e r c e p t i c o n]

here's what the output window is spitting out...

Target not found: Target=/screen_container/card1/image_container
Base=_level0.screen_container.card1.image_container

the clip is on the stage...which this trace confirms

image container: _level0.screen_container.card1.image_container

thanks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] loadMovie question

2007-02-02 Thread eric dolecki

it sounds like you might be targeting the main clip and not the nested clip
beneath the mask.

mc 
mc.mask, mc.holder_mc (empty) - beneath the mask on a layer

mc.holder_mc.loadMovie(foo.jpg);

- should be affected by the mask layer inside of the mc movieclip


On 2/2/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:


Hello all,
i'm trying to load a jpg into a movie clip that is nested within a
movieclip
and masked by another movieclip within the same clip

for example

movieclip_a.mask
movieclip_a.masked

the problem is that the jpg is showing up on top of everything...shouldn't
it be behind the mask even if it is larger than everything else?

thanks

p
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
eric e. dolecki
senior interactive engineer
http://www.ericd.net
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] loadMovie question

2007-02-02 Thread Alain Rousseau
and what are you tracing exactly ? that's only the result.
But at first glance Target looks like a file path and not a clip path to me
... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [p e r c e p
t i c o n]
Sent: 2 février 2007 12:49
To: flashcoders
Subject: [Flashcoders] loadMovie question

here's what the output window is spitting out...

Target not found: Target=/screen_container/card1/image_container
Base=_level0.screen_container.card1.image_container

the clip is on the stage...which this trace confirms

image container: _level0.screen_container.card1.image_container

thanks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.411 / Virus Database: 268.17.19/663 - Release Date: 2007-02-01
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.411 / Virus Database: 268.17.19/663 - Release Date: 2007-02-01
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] loadMovie question -- better explaination

2007-02-02 Thread [p e r c e p t i c o n]

ok so i noticed that where i have the clip that i'm loading into matters...

so here's how my movieclip is set up.

there are about 20 frames

the background spans all 20
the mask begins at frame 10 as does the clip that i'm trying to load the jpg
into...

before i load the jpg i goto frame 10 so it should be a valid clip at that
point, but that's when i get the target errors,
i moved the clip i'm loading into to frame 1 and the error goes away, but no
jpg


???

thanks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] loadMovie question -- better explaination

2007-02-02 Thread Helmut Granda

Hey Buddy,

You dont have to start a new thread, you can just continue with the original
post :)

On 2/2/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:


ok so i noticed that where i have the clip that i'm loading into
matters...

so here's how my movieclip is set up.

there are about 20 frames

the background spans all 20
the mask begins at frame 10 as does the clip that i'm trying to load the
jpg
into...

before i load the jpg i goto frame 10 so it should be a valid clip at that
point, but that's when i get the target errors,
i moved the clip i'm loading into to frame 1 and the error goes away, but
no
jpg


???

thanks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] loadMovie question -- better explaination

2007-02-02 Thread [p e r c e p t i c o n]

further...

if i drag a clip onstage...it works like it's supposed to, but when i attach
it while the movie is running, it doesn't like accept it.  does anyone have
an explaination for this?



thanks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] loadMovie question -- better explaination --SOLVED

2007-02-02 Thread [p e r c e p t i c o n]

don't know why it suddenly started working, but it did...

thanks to all who helped

p
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] loadMovie question

2007-02-02 Thread Wagner Amaral

Had that problem once, that was because I had a number in the instance name,
which flash wasn't handling well...
How are you assigning the '1' to 'card1' ?

read this:
http://chattyfig.figleaf.com/pipermail/flashcoders/2006-December/177045.html



On 2/2/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:


here's what the output window is spitting out...

Target not found: Target=/screen_container/card1/image_container
Base=_level0.screen_container.card1.image_container

the clip is on the stage...which this trace confirms

image container: _level0.screen_container.card1.image_container

thanks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] loadMovie question

2005-12-11 Thread Simon Lord
I have a movieClip on stage and a movieClip in the library that has  
an identifier. The idea is to get the movieClip (which is exported  
for runtime) to load into the movieClip which is on stage.  It serves  
as a placeholder until an image is called for elsewhere.


For whatever reason I just can't get this to work:

viewer.loadMovie(placeholder);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] loadMovie question

2005-12-11 Thread Flash guru
try attachMovie(), its well documented in the help files
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] loadMovie question

2005-12-11 Thread Michael Bedar

Just to expand on that,

loadMovie loads an external SWF or JPG (and more in Flash 8) into a  
MovieClip.


attachMovie loads a named MovieClip from your flash library into a  
MovieClip.



On Dec 11, 2005, at 11:08 PM, Flash guru wrote:


try attachMovie(), its well documented in the help files
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] loadMovie question

2005-12-11 Thread Simon Lord

Thanks, finally got it working.




Just to expand on that,

loadMovie loads an external SWF or JPG (and more in Flash 8) into a  
MovieClip.


attachMovie loads a named MovieClip from your flash library into  
a MovieClip.



On Dec 11, 2005, at 11:08 PM, Flash guru wrote:


try attachMovie(), its well documented in the help files
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders