Re: [Flashcoders] debugging events

2009-09-04 Thread Hans Wichman
Hi, you can check willTrigger(youreventtype), assuming its as3. Can you post the event constants here so we can take a look at them and the dispatching and listener code? regards JC On Thu, Sep 3, 2009 at 10:30 PM, Joel Stransky j...@stranskydesign.comwrote: I have some custom event classes

[Flashcoders] javascript style magic zoom in as3

2009-09-04 Thread thomas horner
can anyone point me in the direction of a tutorial for how to build a javascript style product zoomer like magic zoom one featureed in this link; http://www.magictoolbox.com/magiczoom/ ___ Flashcoders mailing list

Re: [Flashcoders] debugging events

2009-09-04 Thread John McCormack
Joel, With the Flex Builder debugger, when you trace into the dispatch of the event it then traces into the receiving listeners. Have you tried that? John Joel Stransky wrote: I have some custom event classes for my project but one of them is just failing outright. I can verify that the

Re: [Flashcoders] Security.showSettings() freak-out

2009-09-04 Thread John McCormack
Alan, I get: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Podaroo() John Alan Watts wrote: Hi all, I'm building an audio recording app and the Security settings window is acting totally bizarre. http://podaroo.org/record/ This swf is a

[Flashcoders] product sector zoomer

2009-09-04 Thread thomas horner
need to create a product zoomer like the javascript zoomer, but in as3, could this by done by bitmap data and scaling up or by masking of the larger image and panning to the relevant co-ordinates. if any one knows of any literature or tutorials ?

Re: [Flashcoders] problem with dictonary on dynamic buttons

2009-09-04 Thread jonathan howe
Your dictionary is built off of that goto attribute but then you're passing in an instance of the object into the dictionary array. You have not assigned a name property to your assets. So when defining them you might also set the .name property to the @goto attribute. e.target as String will

RE: [Flashcoders] problem with dictonary on dynamic buttons

2009-09-04 Thread thomas horner
thanks i figured this out in the end my self. you dont happen to know anything about building a java style zoom viewer in as3; http://www.magictoolbox.com/magiczoom/ i assume you need to use bitmapdata -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

Re: [Flashcoders] product sector zoomer

2009-09-04 Thread Olivier Besson
it seems that your example uses 2 different images (low-res and high-res). The high-res would have to be behind a mask. The rest is geometry ... A question raising to mind is: do you want to display the zoom area in front of HTML (oustside the flash movie), as in your example, or should it be

Re: [Flashcoders] product sector zoomer

2009-09-04 Thread Olivier Besson
it seems that your example uses 2 different images (low-res and high-res). The high-res would have to be behind a mask. The rest is geometry ... A question raising to mind is: do you want to display the zoom area in front of HTML (oustside the flash movie), as in your example, or should it be

RE: [Flashcoders] product sector zoomer

2009-09-04 Thread thomas horner
well i'm buidling an entire flash site so it would be within that would all be done in as3, i suppose the principal is to have as you say a low res and a corresponding hi res image, that is masked. and the low res would have a mouse over function with a box that is the zoom region, that pans the

Re: [Flashcoders] problem with dictonary on dynamic buttons

2009-09-04 Thread jonathan howe
Most of those zoomers use preprocessed images. I.e. there are large and small versions already on the server. A more extreme example is Zoomer which during setup you run an app that cuts your image into bunches of squares and then during runtime web client load squares as needed. I would start

[Flashcoders] Garbage Collection on Scrollbar class

2009-09-04 Thread Zuriel
Here is a page of my GAIA framework code. I am loading a scrollbar var ffxscroller:AxisScroller; but I am trying to destroy it. The documentation for destroying the scrollbar is ffxscroller.destroy(); but if you look at my code below, ffxscroller is not available when I try and run it in

[Flashcoders] Rather urgent advice on how to track the cause of a crash

2009-09-04 Thread Paul Steven
I have created a game in Flash CS3 which is being published for Flash 8 AS2. My client is reporting it crashing periodically on his XP PC. I have also managed replicate this on my Vista Ultimate PC with the following error: A problem caused the program to stop working correctly. Windows will

RE: [Flashcoders] Rather urgent advice on how to track the cause of a crash

2009-09-04 Thread Merrill, Jason
It took me over 40 minutes of continuous play to get the crash. This sounds like a memory leak - memory allocations building up for your allotment in RAM over time, until it there is no more available slots - I would check all the usual things to be sure you are garbage collecting, removing

Re: [Flashcoders] Rather urgent advice on how to track the cause of a crash

2009-09-04 Thread Ian Thomas
On Fri, Sep 4, 2009 at 6:16 PM, Paul Stevenpaul_ste...@btinternet.com wrote: The game is basically a top down flying game with a scrolling background (JPG 5120 X 4320). The flash movie is published at 1600 x 1200 30 FPS. It includes an embedded FLV video on the Splash screen which is

Re: [Flashcoders] Garbage Collection on Scrollbar class

2009-09-04 Thread Juan Pablo Califano
Hi, You're declaring the variable ffxscroller inside the function transitionIn. This makes the variable local, meaning it will only be available when the method is executing. When the method returns, you'll lose the reference to the scroller. If you want to access the object outside the function,