Hi,
Thanks, I did try Alex's Distortion Effects, quite impressive.
However, I am not sure if it will do what I need. Unless I overlooked
something?
What I am infact flipping are model home floor plans. It allows users
to take a look at the "reverse" of the home.
A plan is a loaded swf file, users can add elements to the plan,
which are other swf's loaded on top. The plans have text in them and
when I just flip the Display Object Container (containing all the
swf's) the text is unreadable. However, it is readable when I loop
thru and flip all the mc's in the swf (not the whole thing). I have
it working in flash 8 AS2 which I am better at but AS3 and Flex are
giving me a hard time...
To simplify, I need to loop thru loaded swf files and flip all nested
movie clips....no animation needed.
My main loop in AS2 is:
for (var i in targetClip) {
if (typeof targetClip[i] == "movieclip"){
targetClip[i].scaleX = targetClip[i].scaleX *-1
}
}
Could anyone help me with this please. Any help would be appriciated.
Thank-you
--- In [email protected], leds usop <[EMAIL PROTECTED]> wrote:
>
> have you tried alex's distortion effects? there are a
> lot of great flips you can implement from the samples
> alone. although im not sure if you will run into
> performance issues once you deal with several
> movieclips. Any insight on that guys?
>
> --- thibs73 <[EMAIL PROTECTED]> wrote:
>
> > Hi there,
> > I am trying to convert some AS2 code to AS3 with
> > some difficulty...
> > What I am trying to do is flip all nested MovieClips
> > in a loaded SWF
.
> >
> > I loaded a swf with SwfLoader, casted it as a
> > MovieClip. I am now
> > trying to loop thru the loaded SWF to flip all movie
> > clips
> >
> > I've done this before in AS2 like this:
> >
> > for (var i in targetClip) {
> > if (typeof targetClip[i] == "movieclip"){
> > targetClip[i].scaleX = targetClip[i].scaleX *
> > -1
> > }
> > }
> >
> > What properties of the SWF or MovieClip Object
> > should I target for my
> > loop. Or am I way off base?
> > Any help, would be appreciated.
> > Thanks in advance.
> >
> >
> >
>
>
>
>
>
______________________________________________________________________
______________
> Never miss an email again!
> Yahoo! Toolbar alerts you the instant new Mail arrives.
> http://tools.search.yahoo.com/toolbar/features/mail/
>