Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: "With" instead of "tell target"
From: Muzak
Date: Tue, 14 Nov 2000 13:55:04 GMT

If you just want to target a label in another level, you don't really need the 'With' action.

_levelX.LabelName.play();
or
_levelX.gotoAndStop("LabelName");
or
_levelX.gotoAndPlay("LabelName");

if want to target a labl in a movieclip in another level

_levelX.McName.LabelName.play();
or
_levelX.McName.gotoAndStop("LabelName")

and so on...

The 'With' action is more for telling a movieclip or level to do more than one thing at a time.
This would tell a movieclip in a movieclip in level1 to do some stuff.

with ("_level1.mc1.mc2") {
_alpha=20;
_width=25;
_height=10;
}

this would be the same as writing:

_level1.mc1.mc2._alpha=20;
_level1.mc1.mc2._width=25;
_level1.mc1.mc2._height=10;

HTH,
Muzak


----- Original Message -----
From: "Lena Bj�rklund" <lena [dot] bjorklundatmbox304 [dot] swipnet [dot] se>
To: <flasheratchinwag [dot] com>
Sent: Tuesday, November 14, 2000 9:41 AM
Subject: FLASH: "With" instead of "tell target"


> Hi.
>
> Reading briefly through the Action Script Reference Guide for F5, I understand that
> the "with" action is now preferred before "tell target". Would anyone give a simple
> description of how to use it when calling .swf:s with "load movie" and then f e
> specifying a frame in the loaded movie (at _level "x") to go to with the "with"
> (earlier "tell target") action?...It wouldn�t surprise me if there is such a
> description somewhere in the "tuts" and "help"-features that comes with the program,
> but I haven�t scanned all these as yet.
>
> Another thing: Would anyone share his/her favourite bookmarks displaying smart and
> useful examples of the new actionscripting possibilities in F5 implemented at sites on
> the web?
>
> Thanx.
>
> Lena B
> http://www.tangoindesign.com
>
>
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> November 27-29, 2000, LONDON, National Film Theatre
>
> Produced by United Digital Artists and lynda.com
> -Sponsored by Macromedia, Adobe Systems and Apple Computer
> -http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
> Register before November 10 and save �200
> http:// www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: "With" instead of "tell targe, Lena Bj�rklund

Replies
  RE: FLASH: A fervent plea for an Actions, Dorian Nisinson
  FLASH: "With" instead of "tell target�, Lena Bj�rklund

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]