swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Flash version 8 and actionscript event handlers


From: Chris Pugh
Subject: Re: [Swftools-common] Flash version 8 and actionscript event handlers
Date: Sat, 3 Apr 2010 19:34:24 +0100

Hi Alex,

Ahhh.. lack of CamelCase,

   http://en.wikipedia.org/wiki/Camelcase

Glad to have got you on the correct path, albeit via a somewhat tenuous route!

Since I don't possess or use any Adobe products whatsoever,  yes,
swftools is very useful
( say cheers to Mattias and the other contributors hey?).

Regards,


Chris.

On 3 April 2010 13:05, Dr. Alex Sheppard <address@hidden> wrote:
> Hi Chris,
>
>     Fixed!!
>
>     Funnily enough, your reply prompted me to try something and that fixed
> it.
>
>     I was attaching handlers with actionscript e.g. "mybutton.onrelease =
> function() { <do something> };"
> This was ok for 'version=6', but for 'version=8' the function names become
> case sensitive?? 'onrelease' no longer works, but 'onRelease' works fine.
>
> I'm probably preaching to the converted here, but i'm new to flash, and
> i think swftools is great - i was quickly able to learn enough to produce
> nice looking and functional swfs.
>
> Alex
>
>
> Dr. Alex Sheppard
> Mob: 0775 1074054
> www.das-computer.co.uk
>
>
> Chris Pugh wrote:
>
> Are you referring to such as,
>
>   .on_release:
>
>    on_press
>
> Alex?
>
> Tends to be with version 9 upward that you have to amend the way you
> handle events.
> Version 9 brought Actionscript 3:
>
>    http://www.adobe.com/devnet/swf/pdf/swf_file_format_spec_v9.pdf
>
> TTBOMK up to ( and including ) version 8.. nein probleme!
>
> How about pasting an example of exactly what it is that you are doing?
>
> Regards,
>
>
> Chris.
>
> On 3 April 2010 00:32, Dr. Alex Sheppard <address@hidden> wrote:
>
>
> I can't get my buttons' event handlers to work if i set 'version=8' - they
> work fine when using 'version=6'. Is this a known issue or do i need to do
> something differently between versions?
>
> Thanks in advance.
>
> Alex
>
> --
> Dr. Alex Sheppard
> Mob: 0775 1074054
> www.das-computer.co.uk
>
>
>
>
>
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]