Flasher Archive

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


Subject: Re: FLASH: Re: Reuse Actions: Call statement
From: Waldo Smeets
Date: Mon, 20 Sep 1999 08:55:59 +0100

thanks Carl and all of you.

Sorry for my late reaction, but haven't been home for some days.

Waldo

2Nerotik wrote:

> Thanks Carl don't know about Waldo but I found that very helpful and useful
> for my pop-up / drop down sub menus
> I was working on. Used it as well when creating the second tutorial for
> advanced sub menus.
>
> Made the On Mouse Event Actions assigned to the buttons much much cleaner
> and in my opinion easier to spot
> any problems.
>
> At 10:22 AM 9/16/99 +0100, CARL wrote:
>
> >Hi Waldo,
> >
> > >I read in the Flash Book provided with flash 4 about reusing functions
> > >by using the call statement.
> > >But I don't really understand it. Is there someone who can explain it to
> > >
> > >me clearly?
> > >I prefer some clear code samples, or a link to a good tutorial.
> > >
> > >By the way.... is that Call statement only for better function
> > >management, or does it also cost less bites?
> > >
> > >Who can help me?
> > >
> > >Waldo Smeets
> >
> >
> >The call function allows you to reuse a script. By putting a script into
> >labeled frame you can call that script.
> >
> >For example:
> >1. Make a movie with three key frames in the maintime.
> >2. In frame one put a stop action.
> >3. In frame 2 label the frame 'action1'
> > put an action in the frame 2 such as
> > trace("hello")
> >4. In frame 3 label the frame 'action2'
> > put an action in the frame 3 such as
> > trace("goodbye")
> >5. In frame 1 make 2 buttons.
> >
> >6. Assign an action to the button one such as:
> >
> >on press
> > call("action1")
> >end
> >
> >7. Assign a different action to button two such as:
> >on press
> > call("action2")
> >end
> >
> >
> >On clicking each button a call is sent to your script in frames labeled
> >'action1' and 'action2' which are then executed. This is a very basic
> >example for a good working example check out the calculator that come with
> >Flash 4 samples under the help menu.
> >
> >
> >HTH
> >
> >Carl
>
> .oOo.
> || 1001 Cookies......... GOT MILK ?
> ||
> ||
> || Addicted 2 Swing ---> http://www.nisa.net/~2nerotik/
> || Fontaholic ? ---> http://www.fontsanon.com
> || HTML Writers Guild ---> http://www.hwg.org
>
> ------------------------------------------------------------------------
> To UNSUBSCRIBE send: unsubscribe flasher in the body of an
> email to list-manageratchinwag [dot] com. Problems to: helpatchinwag [dot] com
> N.B. Email address must be the same as the one you used to subscribe.
> For info on digest mode send: info flasher to list-manageratchinwag [dot] com



------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratchinwag [dot] com. Problems to: helpatchinwag [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratchinwag [dot] com


Replies
  Re: FLASH: Re: Reuse Actions: Call state, 2Nerotik

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