Re: [Flashcoders] Combined Classes fail Tween Class

2007-04-05 Thread Helmut Granda

The reason for my problem was that I was declaring the same identifier name
inside the movies that were loading. My logic was saying that if they were
being loaded in different levels and targets that this wouldnt be an issue
but I was mistaking.

Thanks again for the help and pointers.

-h

On 4/4/07, Helmut Granda <[EMAIL PROTECTED]> wrote:


Thanks for the feedback guys, let me go back a little to explain why this
behavior. I am trying to implement the MVC Design Pattern to a item. Trying
to do it properly I am creating my Views as classes and now I wanted to
integrate them into my layout.

View 1 Class = menu
View 2 Class = content

Holder loads View 1 and View 2

Now View 1 has animation as well as View 2 and when tested independently
they work great (SWFs) but when they are loaded into the main holder the
last SWF plays leaving the first SWF without any animation. Now the
animation is being handled with AS so there is no animation in the timeline.


Thanks again for the help. Now I'll go back and read the 10 books that
cover the subject :)

On 4/4/07, Merrill, Jason < [EMAIL PROTECTED]> wrote:
>
> I didn't meant THAT was the conflict he was seeing with the animation,
> just that he shouldn't name it the same thing so he doesn't have
> conflicts as he develops the class further.
>
> Jason Merrill
> Bank of America
> GT&O Learning & Leadership Development
> eTools & Multimedia Team
>
>
>
>
> >>-Original Message-
> >>From: [EMAIL PROTECTED]
> >>[mailto: [EMAIL PROTECTED] On Behalf
> >>Of Jesse Graupmann
> >>Sent: Wednesday, April 04, 2007 8:53 PM
> >>To: flashcoders@chattyfig.figleaf.com
> >>Subject: RE: [Flashcoders] Combined Classes fail Tween Class
> >>
> >>Jason -
> >>
> >>I'm pretty sure this is NOT in conflict, but still not good practice.
> >>
> >>Since target:MovieClip is a variable local to the
> >>constructor, you just have to access the class
> >>target:Application by using this.target. In this case, the
> >>class's target:Application variable is never touched and
> >>remains undefined.
> >>
> >>
> >>var target : Application;
> >>public function Application ( target:MovieClip ) {
> >>  trace( target ) // MovieClip
> >>  trace( this.target ) // Application
> >>}
> >>
> >>
> >>
> >>To test the theory, try:
> >>
> >>
> >>target = 5;
> >>function traceTargets ( target:String )
> >>{
> >>  trace( target ) // a_string
> >>  trace( this.target ) // 5
> >>}
> >>traceTargets ( 'a_string' );
> >>
> >>
> >>
> >>
> >>_
> >>
> >>Jesse Graupmann
> >>www.jessegraupmann.com
> >>www.justgooddesign.com/blog/
> >>_
> >>
> >>
> >>
> >>
> >>-Original Message-
> >>From: [EMAIL PROTECTED]
> >>[mailto: [EMAIL PROTECTED] On Behalf
> >>Of Merrill,
> >>Jason
> >>Sent: Wednesday, April 04, 2007 3:26 PM
> >>To: flashcoders@chattyfig.figleaf.com
> >>Subject: RE: [Flashcoders] Combined Classes fail Tween Class
> >>
> >>>>target is a movieclip, this helps me to instantiate the class
> >>>>in the place I desire
> >>
> >>Right - so then to remove any potential conflicts, take out:
> >>
> >>>>> var target: Application;
> >>
> >>Jason Merrill
> >>Bank of America
> >>GT&O Learning & Leadership Development
> >>eTools & Multimedia Team
> >>
> >>___
> >>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@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] Combined Classes fail Tween Class

2007-04-04 Thread Helmut Granda

Thanks for the feedback guys, let me go back a little to explain why this
behavior. I am trying to implement the MVC Design Pattern to a item. Trying
to do it properly I am creating my Views as classes and now I wanted to
integrate them into my layout.

View 1 Class = menu
View 2 Class = content

Holder loads View 1 and View 2

Now View 1 has animation as well as View 2 and when tested independently
they work great (SWFs) but when they are loaded into the main holder the
last SWF plays leaving the first SWF without any animation. Now the
animation is being handled with AS so there is no animation in the timeline.

Thanks again for the help. Now I'll go back and read the 10 books that cover
the subject :)

On 4/4/07, Merrill, Jason <[EMAIL PROTECTED]> wrote:


I didn't meant THAT was the conflict he was seeing with the animation,
just that he shouldn't name it the same thing so he doesn't have
conflicts as he develops the class further.

Jason Merrill
Bank of America
GT&O Learning & Leadership Development
eTools & Multimedia Team




>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf
>>Of Jesse Graupmann
>>Sent: Wednesday, April 04, 2007 8:53 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: RE: [Flashcoders] Combined Classes fail Tween Class
>>
>>Jason -
>>
>>I'm pretty sure this is NOT in conflict, but still not good practice.
>>
>>Since target:MovieClip is a variable local to the
>>constructor, you just have to access the class
>>target:Application by using this.target. In this case, the
>>class's target:Application variable is never touched and
>>remains undefined.
>>
>>
>>var target : Application;
>>public function Application ( target:MovieClip ) {
>>  trace( target ) // MovieClip
>>  trace( this.target ) // Application
>>}
>>
>>
>>
>>To test the theory, try:
>>
>>
>>target = 5;
>>function traceTargets ( target:String )
>>{
>>  trace( target ) // a_string
>>  trace( this.target ) // 5
>>}
>>traceTargets ( 'a_string' );
>>
>>
>>
>>
>>_
>>
>>Jesse Graupmann
>>www.jessegraupmann.com
>>www.justgooddesign.com/blog/
>>_
>>
>>
>>
>>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf
>>Of Merrill,
>>Jason
>>Sent: Wednesday, April 04, 2007 3:26 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: RE: [Flashcoders] Combined Classes fail Tween Class
>>
>>>>target is a movieclip, this helps me to instantiate the class
>>>>in the place I desire
>>
>>Right - so then to remove any potential conflicts, take out:
>>
>>>>> var target: Application;
>>
>>Jason Merrill
>>Bank of America
>>GT&O Learning & Leadership Development
>>eTools & Multimedia Team
>>
>>___
>>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@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] Combined Classes fail Tween Class

2007-04-04 Thread Merrill, Jason
I didn't meant THAT was the conflict he was seeing with the animation,
just that he shouldn't name it the same thing so he doesn't have
conflicts as he develops the class further.

Jason Merrill
Bank of America  
GT&O Learning & Leadership Development
eTools & Multimedia Team


 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Jesse Graupmann
>>Sent: Wednesday, April 04, 2007 8:53 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: RE: [Flashcoders] Combined Classes fail Tween Class
>>
>>Jason -
>>
>>I'm pretty sure this is NOT in conflict, but still not good practice. 
>>
>>Since target:MovieClip is a variable local to the 
>>constructor, you just have to access the class 
>>target:Application by using this.target. In this case, the 
>>class's target:Application variable is never touched and 
>>remains undefined.
>>
>>
>>var target : Application;
>>public function Application ( target:MovieClip ) {
>>  trace( target ) // MovieClip
>>  trace( this.target ) // Application
>>}
>>
>>
>>
>>To test the theory, try: 
>>
>>
>>target = 5;
>>function traceTargets ( target:String ) 
>>{
>>  trace( target ) // a_string
>>  trace( this.target ) // 5
>>}
>>traceTargets ( 'a_string' );
>>
>>
>>
>>
>>_
>>
>>Jesse Graupmann
>>www.jessegraupmann.com   
>>www.justgooddesign.com/blog/ 
>>_
>>
>>
>>
>>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Merrill,
>>Jason
>>Sent: Wednesday, April 04, 2007 3:26 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: RE: [Flashcoders] Combined Classes fail Tween Class
>>
>>>>target is a movieclip, this helps me to instantiate the class 
>>>>in the place I desire
>>
>>Right - so then to remove any potential conflicts, take out:
>>
>>>>> var target: Application;
>>
>>Jason Merrill
>>Bank of America  
>>GT&O Learning & Leadership Development
>>eTools & Multimedia Team
>>
>>___
>>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] Combined Classes fail Tween Class

2007-04-04 Thread Jesse Graupmann
If you want to send me your files, I don't mind taking a look.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helmut
Granda
Sent: Wednesday, April 04, 2007 5:27 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Combined Classes fail Tween Class

Thanks, Ill try that and if it still fails I will post a small sample of
what Im doing that probably will help better to understand.

___
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] Combined Classes fail Tween Class

2007-04-04 Thread Jesse Graupmann
Jason -

I'm pretty sure this is NOT in conflict, but still not good practice. 

Since target:MovieClip is a variable local to the constructor, you just have
to access the class target:Application by using this.target. In this case,
the class's target:Application variable is never touched and remains
undefined.


var target : Application;
public function Application ( target:MovieClip ) 
{
trace( target ) // MovieClip
trace( this.target ) // Application
}



To test the theory, try: 


target = 5;
function traceTargets ( target:String ) 
{
trace( target ) // a_string
trace( this.target ) // 5
}
traceTargets ( 'a_string' );




_

Jesse Graupmann
www.jessegraupmann.com   
www.justgooddesign.com/blog/ 
_




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Wednesday, April 04, 2007 3:26 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Combined Classes fail Tween Class

>>target is a movieclip, this helps me to instantiate the class 
>>in the place I desire

Right - so then to remove any potential conflicts, take out:

>>> var target: Application;

Jason Merrill
Bank of America  
GT&O Learning & Leadership Development
eTools & Multimedia Team

___
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] Combined Classes fail Tween Class

2007-04-04 Thread Helmut Granda

Thanks, Ill try that and if it still fails I will post a small sample of
what Im doing that probably will help better to understand.


On 4/4/07, Merrill, Jason <[EMAIL PROTECTED]> wrote:


>>target is a movieclip, this helps me to instantiate the class
>>in the place I desire

Right - so then to remove any potential conflicts, take out:

>>> var target: Application;

Jason Merrill
Bank of America
GT&O Learning & Leadership Development
eTools & Multimedia Team



___
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] Combined Classes fail Tween Class

2007-04-04 Thread Merrill, Jason
>>target is a movieclip, this helps me to instantiate the class 
>>in the place I desire

Right - so then to remove any potential conflicts, take out:

>>> var target: Application;

Jason Merrill
Bank of America  
GT&O Learning & Leadership Development
eTools & Multimedia Team


 
___
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] Combined Classes fail Tween Class

2007-04-04 Thread Merrill, Jason
>>Both movies have regular scripted tweens. so that is why I am 
>>afraid they are conflicting with each other

Yeah, I mean, I'm not sure I can picture what: 

> >>"the latest movie plays as
> >>if the latest movie stealed all the motion Tweens and used
> >>them leaving the first movie "naked"

looks like, but you may have conflicting identifers which over-write
each other or something.  Hard to say without knowing more about your
setup.

Jason Merrill
Bank of America  
GT&O Learning & Leadership Development
eTools & Multimedia Team


 
___
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] Combined Classes fail Tween Class

2007-04-04 Thread Helmut Granda

target is a movieclip, this helps me to instantiate the class in the place I
desire

for example:

var upsApp:Application = new Application(this);
var upsApp:Application = new Application(movie1);
var upsApp:Application = new Application(movie2);

Learned that this week :)


On 4/4/07, Merrill, Jason <[EMAIL PROTECTED]> wrote:


Also, you are casting the same variable twice:

var target: Application;

public function Application ( target:MovieClip )
mc = target;

is target an application or a movieclip?

Jason Merrill
Bank of America
GT&O Learning & Leadership Development
eTools & Multimedia Team




>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf
>>Of Helmut Granda
>>Sent: Wednesday, April 04, 2007 5:14 PM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] Combined Classes fail Tween Class
>>
>>I have a main class that will act as a holder for the rest of
>>my classes, somethig like this:
>>
>>//start sample
>>import com.views.*;
>>
>>class com.Application {
>>
>>var menuL: MovieClip;
>>var contentLL: MovieClip;
>>var footerL: MovieClip;
>>var mc : MovieClip;
>>
>>var target: Application;
>>
>>public function Application ( target:MovieClip ) {
>>
>>mc = target;
>>menuL = mc.createEmptyMovieClip("menuL",
>>mc.getNextHighestDepth() );
>>contentLL= mc.createEmptyMovieClip("contentL",
>>mc.getNextHighestDepth());
>>contentLL._y = 73;
>>
>>init();
>>
>>}
>>
>>private function init() {
>>
>>contentLL.loadMovie("intro.swf");
>>menuL.loadMovie("menu.swf");
>>}
>>}
>>
>>//end sample
>>The content load perfectly but only the latest movie plays as
>>if the latest movie stealed all the motion Tweens and used
>>them leaving the first movie "naked".
>>
>>Is this something common?
>>___
>>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@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] Combined Classes fail Tween Class

2007-04-04 Thread Helmut Granda

Both movies have regular scripted tweens. so that is why I am afraid they
are conflicting with each other

On 4/4/07, Merrill, Jason <[EMAIL PROTECTED]> wrote:


Where's the code that has the motion tweens?

Jason Merrill
Bank of America
GT&O Learning & Leadership Development
eTools & Multimedia Team




>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf
>>Of Helmut Granda
>>Sent: Wednesday, April 04, 2007 5:14 PM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] Combined Classes fail Tween Class
>>
>>I have a main class that will act as a holder for the rest of
>>my classes, somethig like this:
>>
>>//start sample
>>import com.views.*;
>>
>>class com.Application {
>>
>>var menuL: MovieClip;
>>var contentLL: MovieClip;
>>var footerL: MovieClip;
>>var mc : MovieClip;
>>
>>var target: Application;
>>
>>public function Application ( target:MovieClip ) {
>>
>>mc = target;
>>menuL = mc.createEmptyMovieClip("menuL",
>>mc.getNextHighestDepth() );
>>contentLL= mc.createEmptyMovieClip("contentL",
>>mc.getNextHighestDepth());
>>contentLL._y = 73;
>>
>>init();
>>
>>}
>>
>>private function init() {
>>
>>contentLL.loadMovie("intro.swf");
>>menuL.loadMovie("menu.swf");
>>}
>>}
>>
>>//end sample
>>The content load perfectly but only the latest movie plays as
>>if the latest movie stealed all the motion Tweens and used
>>them leaving the first movie "naked".
>>
>>Is this something common?
>>___
>>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@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] Combined Classes fail Tween Class

2007-04-04 Thread Merrill, Jason
Also, you are casting the same variable twice:

var target: Application;

public function Application ( target:MovieClip )
mc = target;

is target an application or a movieclip?  

Jason Merrill
Bank of America  
GT&O Learning & Leadership Development
eTools & Multimedia Team


 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Helmut Granda
>>Sent: Wednesday, April 04, 2007 5:14 PM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] Combined Classes fail Tween Class
>>
>>I have a main class that will act as a holder for the rest of 
>>my classes, somethig like this:
>>
>>//start sample
>>import com.views.*;
>>
>>class com.Application {
>>
>>var menuL: MovieClip;
>>var contentLL: MovieClip;
>>var footerL: MovieClip;
>>var mc : MovieClip;
>>
>>var target: Application;
>>
>>public function Application ( target:MovieClip ) {
>>
>>mc = target;
>>menuL = mc.createEmptyMovieClip("menuL",
>>mc.getNextHighestDepth() );
>>contentLL= mc.createEmptyMovieClip("contentL",
>>mc.getNextHighestDepth());
>>contentLL._y = 73;
>>
>>init();
>>
>>}
>>
>>private function init() {
>>
>>contentLL.loadMovie("intro.swf");
>>menuL.loadMovie("menu.swf");
>>}
>>}
>>
>>//end sample
>>The content load perfectly but only the latest movie plays as 
>>if the latest movie stealed all the motion Tweens and used 
>>them leaving the first movie "naked".
>>
>>Is this something common?
>>___
>>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] Combined Classes fail Tween Class

2007-04-04 Thread Merrill, Jason
Where's the code that has the motion tweens?

Jason Merrill
Bank of America  
GT&O Learning & Leadership Development
eTools & Multimedia Team


 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Helmut Granda
>>Sent: Wednesday, April 04, 2007 5:14 PM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] Combined Classes fail Tween Class
>>
>>I have a main class that will act as a holder for the rest of 
>>my classes, somethig like this:
>>
>>//start sample
>>import com.views.*;
>>
>>class com.Application {
>>
>>var menuL: MovieClip;
>>var contentLL: MovieClip;
>>var footerL: MovieClip;
>>var mc : MovieClip;
>>
>>var target: Application;
>>
>>public function Application ( target:MovieClip ) {
>>
>>mc = target;
>>menuL = mc.createEmptyMovieClip("menuL",
>>mc.getNextHighestDepth() );
>>contentLL= mc.createEmptyMovieClip("contentL",
>>mc.getNextHighestDepth());
>>contentLL._y = 73;
>>
>>init();
>>
>>}
>>
>>private function init() {
>>
>>contentLL.loadMovie("intro.swf");
>>menuL.loadMovie("menu.swf");
>>}
>>}
>>
>>//end sample
>>The content load perfectly but only the latest movie plays as 
>>if the latest movie stealed all the motion Tweens and used 
>>them leaving the first movie "naked".
>>
>>Is this something common?
>>___
>>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] Combined Classes fail Tween Class

2007-04-04 Thread Helmut Granda

I have a main class that will act as a holder for the rest of my classes,
somethig like this:

//start sample
import com.views.*;

class com.Application {

   var menuL: MovieClip;
   var contentLL: MovieClip;
   var footerL: MovieClip;
   var mc : MovieClip;

   var target: Application;

   public function Application ( target:MovieClip ) {

   mc = target;
   menuL = mc.createEmptyMovieClip("menuL",
mc.getNextHighestDepth() );
   contentLL= mc.createEmptyMovieClip("contentL",
mc.getNextHighestDepth());
   contentLL._y = 73;

   init();

   }

   private function init() {

   contentLL.loadMovie("intro.swf");
   menuL.loadMovie("menu.swf");
   }
}

//end sample
The content load perfectly but only the latest movie plays as if the latest
movie stealed all the motion Tweens and used them leaving the first movie
"naked".

Is this something common?
___
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