Re: [Flashcoders] problem with fl9 beta

2007-02-19 Thread Omar Fouad

well the orrors that the IDE prompt are 9. As the compiler dont recognize
that the code is As3

On 2/19/07, Cay Garrido H. <[EMAIL PROTECTED]> wrote:


The error is weird, 'cause it says "line 5" and you showed only 4 lines
of code check that...
About the code, it's not AS3... you need to use something like this:

miButton.addEventListener ( "rollOver", miFunction);
function miFunction (event) {
  miButton.rotation--;
}

See that the event declaration changed, and that "_rotation" is now
"rotation".
And you can write all the code you want in any timeline... don't bother
using classes unless you want to learn OOP...

Gustavo Duenas escribió:
> Hi, Ive been doing some experiments (some dumb ones) with the beta of
> flash 9 from adobe labs and I just run this code, something happens,
> maybe its me, but is some basic code. it shouldn't happened that way.
> and other issue with this is that the beta doesn't have the check code
> able, so I don't know if I writing this bad or not.
>
>
> this is the code.:
>
>
>
> stop();
> this.onRollOver = function(){
> this._rotation--;
> }
>
>
> and this is the message.
>
>
> **Error** frame1 : Line 5, Column 1 : [Compiler] Error #1087: Syntax
> error: extra characters found after end of program.
> }
> ReferenceError: Error #1065: Variable
> Timeline1_3526e27cbdd211dbb7a6016cb38e89c is not defined.
>
> ReferenceError: Error #1065: Variable
> Timeline0_3526c86ebdd211dbb7a6016cb38e89c is not defined.
>
>
>
>
>
> Gustavo Duenas
>
> ___
> 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





--
Omar Fouad - Digital Emotions...

Love is always patient and kind. It is never jealous. Love is never boastful
nor conceited It is never rude or selfish. It does not take offense and is
not resentful. Love takes no pleasure in other people's sins...but delights
in the truth. It is always ready to excuse, to trust, to hope... and to
endure... whatever comes.
___
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] problem with fl9 beta

2007-02-18 Thread Cay Garrido H.
The error is weird, 'cause it says "line 5" and you showed only 4 lines 
of code check that...

About the code, it's not AS3... you need to use something like this:

miButton.addEventListener ( "rollOver", miFunction);
function miFunction (event) {
  miButton.rotation--;
}

See that the event declaration changed, and that "_rotation" is now 
"rotation".
And you can write all the code you want in any timeline... don't bother 
using classes unless you want to learn OOP...


Gustavo Duenas escribió:
Hi, Ive been doing some experiments (some dumb ones) with the beta of 
flash 9 from adobe labs and I just run this code, something happens, 
maybe its me, but is some basic code. it shouldn't happened that way.
and other issue with this is that the beta doesn't have the check code 
able, so I don't know if I writing this bad or not.



this is the code.:



stop();
this.onRollOver = function(){
this._rotation--;
}


and this is the message.


**Error** frame1 : Line 5, Column 1 : [Compiler] Error #1087: Syntax 
error: extra characters found after end of program.

}
ReferenceError: Error #1065: Variable 
Timeline1_3526e27cbdd211dbb7a6016cb38e89c is not defined.


ReferenceError: Error #1065: Variable 
Timeline0_3526c86ebdd211dbb7a6016cb38e89c is not defined.






Gustavo Duenas

___
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] problem with fl9 beta

2007-02-18 Thread JOR

It would help if you posted what the error message was.


James O'Reilly  —  Consultant
Adobe Certified Flash Expert
http://www.jamesor.com
Design • Code • Train



Omar Fouad wrote:

I downloaded the source code but the Main.as file keeps giving me errors,
even with flash 9.
Why??


On 2/18/07, John Grden <[EMAIL PROTECTED]> wrote:



just a clarification:  You *can* add code to the timeline as with 
previous

versions of flash.

On 2/18/07, JOR <[EMAIL PROTECTED]> wrote:
>
> AS3 is completely different than AS2.  You don't add code to the
> timeline.  Instead you create a document class and add code to that.
> Typically, I like to use a class named "Main" but you can name it
> something more to your liking.
>
> Here is a very simple example of what you might be trying to do.  I
> tried to keep it very basic to illustrate the important differences
> between AS2 and AS3.
>
> You can view the sample and download the source code from here:
> 
>
> -- James
>
>
> James O'Reilly  —  Consultant
> Adobe Certified Flash Expert
> http://www.jamesor.com
> Design • Code • Train
>
>
>
> Gustavo Duenas wrote:
> > Hi, Ive been doing some experiments (some dumb ones) with the beta of
> > flash 9 from adobe labs and I just run this code, something happens,
> > maybe its me, but is some basic code. it shouldn't happened that way.
> > and other issue with this is that the beta doesn't have the
check  code
> > able, so I don't know if I writing this bad or not.
> >
> >
> > this is the code.:
> >
> >
> >
> > stop();
> > this.onRollOver = function(){
> > this._rotation--;
> > }
> >
> >
> > and this is the message.
> >
> >
> > **Error** frame1 : Line 5, Column 1 : [Compiler] Error #1087: Syntax
> > error: extra characters found after end of program.
> > }
> > ReferenceError: Error #1065: Variable
> > Timeline1_3526e27cbdd211dbb7a6016cb38e89c is not defined.
> >
> > ReferenceError: Error #1065: Variable
> > Timeline0_3526c86ebdd211dbb7a6016cb38e89c is not defined.
> >
> >
> >
> >
> >
> > Gustavo Duenas
> >
> > ___
> > 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
>



--
[  JPG  ]
___
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] problem with fl9 beta

2007-02-18 Thread Omar Fouad

I downloaded the source code but the Main.as file keeps giving me errors,
even with flash 9.
Why??


On 2/18/07, John Grden <[EMAIL PROTECTED]> wrote:


just a clarification:  You *can* add code to the timeline as with previous
versions of flash.

On 2/18/07, JOR <[EMAIL PROTECTED]> wrote:
>
> AS3 is completely different than AS2.  You don't add code to the
> timeline.  Instead you create a document class and add code to that.
> Typically, I like to use a class named "Main" but you can name it
> something more to your liking.
>
> Here is a very simple example of what you might be trying to do.  I
> tried to keep it very basic to illustrate the important differences
> between AS2 and AS3.
>
> You can view the sample and download the source code from here:
> 
>
> -- James
>
>
> James O'Reilly  —  Consultant
> Adobe Certified Flash Expert
> http://www.jamesor.com
> Design • Code • Train
>
>
>
> Gustavo Duenas wrote:
> > Hi, Ive been doing some experiments (some dumb ones) with the beta of
> > flash 9 from adobe labs and I just run this code, something happens,
> > maybe its me, but is some basic code. it shouldn't happened that way.
> > and other issue with this is that the beta doesn't have the
check  code
> > able, so I don't know if I writing this bad or not.
> >
> >
> > this is the code.:
> >
> >
> >
> > stop();
> > this.onRollOver = function(){
> > this._rotation--;
> > }
> >
> >
> > and this is the message.
> >
> >
> > **Error** frame1 : Line 5, Column 1 : [Compiler] Error #1087: Syntax
> > error: extra characters found after end of program.
> > }
> > ReferenceError: Error #1065: Variable
> > Timeline1_3526e27cbdd211dbb7a6016cb38e89c is not defined.
> >
> > ReferenceError: Error #1065: Variable
> > Timeline0_3526c86ebdd211dbb7a6016cb38e89c is not defined.
> >
> >
> >
> >
> >
> > Gustavo Duenas
> >
> > ___
> > 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
>



--
[  JPG  ]
___
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





--
Omar Fouad - Digital Emotions...

Love is always patient and kind. It is never jealous. Love is never boastful
nor conceited It is never rude or selfish. It does not take offense and is
not resentful. Love takes no pleasure in other people's sins...but delights
in the truth. It is always ready to excuse, to trust, to hope... and to
endure... whatever comes.
___
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] problem with fl9 beta

2007-02-18 Thread John Grden

just a clarification:  You *can* add code to the timeline as with previous
versions of flash.

On 2/18/07, JOR <[EMAIL PROTECTED]> wrote:


AS3 is completely different than AS2.  You don't add code to the
timeline.  Instead you create a document class and add code to that.
Typically, I like to use a class named "Main" but you can name it
something more to your liking.

Here is a very simple example of what you might be trying to do.  I
tried to keep it very basic to illustrate the important differences
between AS2 and AS3.

You can view the sample and download the source code from here:


-- James


James O'Reilly  —  Consultant
Adobe Certified Flash Expert
http://www.jamesor.com
Design • Code • Train



Gustavo Duenas wrote:
> Hi, Ive been doing some experiments (some dumb ones) with the beta of
> flash 9 from adobe labs and I just run this code, something happens,
> maybe its me, but is some basic code. it shouldn't happened that way.
> and other issue with this is that the beta doesn't have the check  code
> able, so I don't know if I writing this bad or not.
>
>
> this is the code.:
>
>
>
> stop();
> this.onRollOver = function(){
> this._rotation--;
> }
>
>
> and this is the message.
>
>
> **Error** frame1 : Line 5, Column 1 : [Compiler] Error #1087: Syntax
> error: extra characters found after end of program.
> }
> ReferenceError: Error #1065: Variable
> Timeline1_3526e27cbdd211dbb7a6016cb38e89c is not defined.
>
> ReferenceError: Error #1065: Variable
> Timeline0_3526c86ebdd211dbb7a6016cb38e89c is not defined.
>
>
>
>
>
> Gustavo Duenas
>
> ___
> 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





--
[  JPG  ]
___
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] problem with fl9 beta

2007-02-18 Thread JOR
AS3 is completely different than AS2.  You don't add code to the 
timeline.  Instead you create a document class and add code to that. 
Typically, I like to use a class named "Main" but you can name it 
something more to your liking.


Here is a very simple example of what you might be trying to do.  I 
tried to keep it very basic to illustrate the important differences 
between AS2 and AS3.


You can view the sample and download the source code from here:


-- James


James O'Reilly  —  Consultant
Adobe Certified Flash Expert
http://www.jamesor.com
Design • Code • Train



Gustavo Duenas wrote:
Hi, Ive been doing some experiments (some dumb ones) with the beta of  
flash 9 from adobe labs and I just run this code, something happens,  
maybe its me, but is some basic code. it shouldn't happened that way.
and other issue with this is that the beta doesn't have the check  code 
able, so I don't know if I writing this bad or not.



this is the code.:



stop();
this.onRollOver = function(){
this._rotation--;
}


and this is the message.


**Error** frame1 : Line 5, Column 1 : [Compiler] Error #1087: Syntax  
error: extra characters found after end of program.

}
ReferenceError: Error #1065: Variable  
Timeline1_3526e27cbdd211dbb7a6016cb38e89c is not defined.


ReferenceError: Error #1065: Variable  
Timeline0_3526c86ebdd211dbb7a6016cb38e89c is not defined.






Gustavo Duenas

___
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] problem with fl9 beta

2007-02-16 Thread Gustavo Duenas
Hi, Ive been doing some experiments (some dumb ones) with the beta of  
flash 9 from adobe labs and I just run this code, something happens,  
maybe its me, but is some basic code. it shouldn't happened that way.
and other issue with this is that the beta doesn't have the check  
code able, so I don't know if I writing this bad or not.



this is the code.:



stop();
this.onRollOver = function(){
this._rotation--;
}


and this is the message.


**Error** frame1 : Line 5, Column 1 : [Compiler] Error #1087: Syntax  
error: extra characters found after end of program.

}
ReferenceError: Error #1065: Variable  
Timeline1_3526e27cbdd211dbb7a6016cb38e89c is not defined.


ReferenceError: Error #1065: Variable  
Timeline0_3526c86ebdd211dbb7a6016cb38e89c is not defined.






Gustavo Duenas

___
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