On Thu, Feb 25, 2010 at 4:13 PM, Keith Reinfeld
keithreinf...@comcast.netwrote:
What should I be looking for?
This is too strange for words. I started commenting out code to see if I
could fix whatever it was that was broken. I figured I'd done just that.
Then I started uncommenting the code
In general, when you really, really think your code is ok (which is
probably a lot less often than you initially think), there might be
issues with running the code that might cause an error. Some other
things you can try:
1. Make sure all your AS files have been saved so you are actually
On Fri, Feb 26, 2010 at 9:31 AM, David Benman d...@dbenman.com wrote:
In general, when you really, really think your code is ok (which is
probably a lot less often than you initially think), there might be issues
with running the code that might cause an error. Some other things you can
try:
Open your script in Flash and you can place debug break points to stop
code execution at specific points. If you have no clue where the error
occurs especially since Flash's output window errors can be vague,
then if you run in debug mode, again ctrl-shift-enter, the debugger
will stop at
On Thu, Feb 25, 2010 at 10:46 AM, Keith Reinfeld
keithreinf...@comcast.netwrote:
Yes, except instead of referencing a problem with the preloader, it
references a problem with the *.as that will load after the preloader.
I think you need to examine '*.as' then.
Yeah, that's what I
: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-
boun...@chattyfig.figleaf.com] On Behalf Of Victor Subervi
Sent: Wednesday, February 24, 2010 9:38 AM
To: Deepanjan Das
Cc: Flash Coders List
Subject: Re: [Flashcoders] Error 1009
On Wed, Feb 24, 2010 at 10:35 AM, Deepanjan Das
On Thu, Feb 25, 2010 at 8:52 AM, David Benman d...@dbenman.com wrote:
Open your script in Flash and you can place debug break points to stop code
execution at specific points. If you have no clue where the error occurs
especially since Flash's output window errors can be vague, then if you run
...@chattyfig.figleaf.com [mailto:flashcoders-
boun...@chattyfig.figleaf.com] On Behalf Of Victor Subervi
Sent: Thursday, February 25, 2010 1:37 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Error 1009
On Thu, Feb 25, 2010 at 10:46 AM, Keith Reinfeld
keithreinf...@comcast.netwrote:
Yes
Victor Subervi wrote:
On Thu, Feb 25, 2010 at 8:52 AM, David Benmand...@dbenman.com wrote:
Open your script in Flash and you can place debug break points to stop code
execution at specific points. If you have no clue where the error occurs
especially since Flash's output window errors can be
On Tue, Feb 23, 2010 at 11:02 PM, Deepanjan Das deepanjan@gmail.comwrote:
Hey,
I have not seen your debugger error.
So how do I debug? I downloaded what I thought was the debugger and it was
just another copy of Flash!
but I feel its the stage that is getting null value.
Please trace
Hi Victor,
Did u trace within Preloader Class?
DD
On Wed, Feb 24, 2010 at 7:48 PM, Victor Subervi victorsube...@gmail.comwrote:
On Tue, Feb 23, 2010 at 11:02 PM, Deepanjan Das
deepanjan@gmail.comwrote:
Hey,
I have not seen your debugger error.
So how do I debug? I downloaded what I
On Wed, Feb 24, 2010 at 10:22 AM, Deepanjan Das deepanjan@gmail.comwrote:
Hi Victor,
Did u trace within Preloader Class?
yes.
V
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Are you getting this error:
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at Preloader/init()
at Preloader()
at test_fla::MainTimeline/frame1()
DD
On Wed, Feb 24, 2010 at 7:59 PM, Victor Subervi victorsube...@gmail.comwrote:
On Wed, Feb 24,
Your code references the stage (to position your textfield) so you need to
listen for the ADDED_TO_STAGE event to prevent the null reference.
Example:
package{
import flash.events.Event;
import flash.display.MovieClip;
public class Preloader extends MovieClip{
On Wed, Feb 24, 2010 at 10:35 AM, Deepanjan Das deepanjan@gmail.comwrote:
Are you getting this error:
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at Preloader/init()
at Preloader()
at test_fla::MainTimeline/frame1()
Yes, except
On Wed, Feb 24, 2010 at 11:01 AM, Keith Reinfeld
keithreinf...@comcast.netwrote:
Your code references the stage (to position your textfield) so you need to
listen for the ADDED_TO_STAGE event to prevent the null reference.
Example:
package{
import flash.events.Event;
import
Also, if you go to publish settings enable debugging or whatever,
you can see the line number of the errors.
Sent from my iPhone
On Feb 24, 2010, at 8:38 AM, Victor Subervi victorsube...@gmail.com
wrote:
On Wed, Feb 24, 2010 at 11:01 AM, Keith Reinfeld
keithreinf...@comcast.netwrote:
Victor Subervi wrote:
On Tue, Feb 23, 2010 at 11:02 PM, Deepanjan Dasdeepanjan@gmail.comwrote:
Hey,
I have not seen your debugger error.
So how do I debug? I downloaded what I thought was the debugger and it was
just another copy of Flash!
Flash IS the debugger. Just hit
Hi;
I have a preloader that (obviously) calls another swf onload. This other swf
loads by itself with no problem; however, it calls another script and
apparently this is what's throwing the error. Curtis Morley says I should
add that other script to the first frame of a timeline and set the alpha
Victor Subervi wrote:
Hi;
I have a preloader that (obviously) calls another swf onload. This other swf
loads by itself with no problem; however, it calls another script and
apparently this is what's throwing the error.
What error? Use the debugger and find out!
Are you listening for Event.INIT or Event.COMPLETE for your
preloader? You should possibly use the former to make sure all your
child clips are instanciated before you run AS3 code that accesses these
child clips.
Victor Subervi wrote:
Hi;
I have a preloader that (obviously) calls another
On Tue, Feb 23, 2010 at 12:04 PM, Glen Pike g...@engineeredarts.co.ukwrote:
Are you listening for Event.INIT or Event.COMPLETE for your preloader?
You should possibly use the former to make sure all your child clips are
instanciated before you run AS3 code that accesses these child clips.
Victor Subervi wrote:
For Hendrik, I am currently downloading the debugger. It's big!
Eh? The content debugging player is only marginally bigger than the
normal player. It is smaller than some movies.
Then again, you need a debugger for the player to connect to. It is
integrated in all
Hey,
I have not seen your debugger error. but I feel its the stage that is
getting null value.
Please trace stage to find out.
Let me know.
Cheers
Deepanjan Das
On Tue, Feb 23, 2010 at 11:45 PM, Victor Subervi victorsube...@gmail.comwrote:
On Tue, Feb 23, 2010 at 12:04 PM, Glen Pike
Hello fellows,
I've bought at Flash Den a code of an Infinite Level Menu (from MBMedia) and
I'm pulling my hair out.
It throws that well known error as the text of the button doesn't show when
it should:
“TypeError: Error #1009: cannot access a property or method of a null
object reference. at
Hi Isaac,
As far as i can see it that you took off the P when going through the
code, since it gives an error that it canot find
local.display:rimaryButton on frame 7.
Try looking there, maybee you changed the linkage identifier or the
classname.
HTH,
Sidney de Koning
On Jun 30, 2009,
Hi,
Shouldn't that be
_label.text = label;?
HTH
Willem
Op 12-jul-2008, om 14:00 heeft Pavel Krůšek het volgende geschreven:
Hi List,
i have MovieClip with some keyframes, on each keyframe is dynamic
TextField with different properties (font, color etc.).
In constructor - class
Some possible ways to solve this issue:
1. Use the addFrameScript to add your code in the correct frame;
2. Create and ENTER_FRAME listener to wait the availability of the
TextField and then execute the code;
I also created a simple GoToFrame class that sends a MovieClip to some
frame and waits
Hi List,
i have MovieClip with some keyframes, on each keyframe is dynamic
TextField with different properties (font, color etc.).
In constructor - class NavigationItem.as I'm trying to jump to frame
and fill TextField with some text:
gotoAndStop( _level );
_label.text = label;
Creat a function that does the setting on the TextField and call it from
that frame.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Hi
(posted in flashnewbies but the list is not very active and i need to
solve this problemas soon as possible)
i have a problem while creating a as3 short animation:
When i test the movie(all done with as3) i get this:
TypeError: Error #1009: Cannot access a property or method of a null
Missing () after Mountain instantiation, first of all...
var mountain:Mountain = new Mountain();
On Mon, Mar 17, 2008 at 3:36 PM, Pedro Kostelec [EMAIL PROTECTED] wrote:
Hi
(posted in flashnewbies but the list is not very active and i need to
solve this problemas soon as possible)
i
Have you tried importing the Mountain Class?
Cheers,
Sid
On Mar 17, 2008, at 4:28 PM, Pedro Kostelec wrote:
I added the () to it but still doesn't work:
package {
import flash.display.Sprite;
import flash.events.Event;
import flash.filters.*;
public class
I added the () to it but still doesn't work:
package {
import flash.display.Sprite;
import flash.events.Event;
import flash.filters.*;
public class RisingCroix extends Sprite {
private var croix:Croix;
private var croix2L:Croix2;
NO , ihaven't. I am only in a learning process of as3, so if you can
help me importing a class
On Mon, Mar 17, 2008 at 4:35 PM, Sidney de Koning
[EMAIL PROTECTED] wrote:
Have you tried importing the Mountain Class?
Cheers,
Sid
On Mar 17, 2008, at 4:28 PM, Pedro Kostelec wrote:
I
Jonathan, that's actually legal in ActionScript. Ugly and misleading, but legal.
Pedro, change Mountain2 to this:
import flash.events.Event;
import flash.display.Sprite;
public class Mountain extends Sprite {
private var color1:uint=0x003300;
private
Just rewrite this:
package {
import flash.display.Sprite;
import flash.events.Event;
import flash.filters.*;
public class RisingCroix extends Sprite {
private var croix:Croix;
to this:
package {
import flash.display.Sprite;
import
I doesn't. I posted the iles on the net.
Can you please throw a look at?
http://www.box.net/shared/wettvhs84s
Thanks
On Mon, Mar 17, 2008 at 4:50 PM, Cory Petosky
[EMAIL PROTECTED] wrote:
Jonathan, that's actually legal in ActionScript. Ugly and misleading, but
legal.
Pedro, change
you can't reference the stage in the Mountain class until it is added to the
Display List. try this
package {
import flash.display.Sprite;
import flash.events.Event;
public class Mountain extends Sprite {
private var x0:Number;
private var y0:Number;
Hi, Cory,
That is really interesting. I played with it a little and I got this
Warning:
Warning: 3553: Function value used where type void was expected. Possibly
the parentheses () are missing after this function reference.
and of course it threw an actual error when I set up the function with
Joson, i tried yours too.
I had to add var x0:Number and so on... (The var was missing)
But it hasn't worked neither. Well i get no more error but the sprite
isn't drawn
On Mon, Mar 17, 2008 at 5:14 PM, Jason Van Cleave
[EMAIL PROTECTED] wrote:
you can't reference the stage in the Mountain
I tried import Mountain; and import com.Mountain but it hasn't worked.
Always get the same error
I supose there is no path if the files are in the same folder,no?
On Mon, Mar 17, 2008 at 5:15 PM, Sidney de Koning
[EMAIL PROTECTED] wrote:
Just rewrite this:
package {
import
I think that in AS3, there is only one file that can exsist in the
'root' of the package, the only entry point you have for a
application. The rest has to live in packages. Most of the time you
call this class 'Main'. And use it as your document class or
instanciate it on the timeline,
Start tracing out the variables, because there is a variable undefined
or null and you try to perform an operation on it. Since its undefined
or null the operation halts.
It can also be that your function init2 does not return void but
returns a sprite.
On Mar 17, 2008, at 5:47 PM, Pedro
some typos in there (coding in gmail)
public function onStageAdded(e:Event):void
{
x0 =0;
y0 =stage.stageHeight -150;
x1=stage.stageWidth/2;
y1=100;
x2 =stage.stageWidth;
y2 =stage.stageHeight -150;
init();
}
On Mon, Mar 17, 2008 at 12:14 PM, Jason Van Cleave
It is exceedingly rare that the compiler is telling you something is
wrong that isn't. If you're getting an error thrown, like it or not,
you made a mistake somewhere. Flash does what you tell it to do.
Unfortunately, it's not always easy to figure out where the error is
coming from if you
Jason IT WORKED
Thanks to you and to all that took the time reply.
//
root folder: Main (- class files)
package: com.something.Mountain (- class files)
package: com.something.RisingCroix (- class files)
//
ISOrry don't really get it. Is com actually a file?
On Mon, Mar 17, 2008 at 5:18 PM,
47 matches
Mail list logo