Trying to implement the new FP 10.1 Global error handler into my projects but no matter what I do any uncaught error will still show up the Exception window (both in debug and release versions of the SWF). All I want to do is to prevent these popups but instead send a message to my logger. Here's my code ...
EDIT: I simplified the code ...
Hi,
I'm new in JSON, but now I need to use JSON for my Flash ActionScript 3.0. So I found one lib for JSON and I have seen the terms Deserialize & Serialize what does that means.
...
How to blur 3d object? (Papervision 3d) And save created new object as new 3d model? (can help in sky/clouds generation)
Like in 2d picture I've turn rectangel intu some blury structure
...
I need to create an extension of a Flex component, which (obviously) means that the new component should be able to be used whenever the parent is used. But I don't see the way to do it, Flex offers two ways of extending a component, by defining an AS class extending the parent or by creating an MXML file that uses the parent component a...
I have an application developed in flash, and I need to access some php files. so the php file return some data if the access is came from swf. How can i identify if the request came from flash or not?
without passing get/post variables to php.
...
Hi i want to open a 3d max file and do some rotation of a 3dmax object in flash action script 3.
How can i do this?
...
Hey
Is there a way to clear a textfield when all else fails? This is from
a very long document I can't post. The textfield is on stage and worked
fine until this call. Looking for best guess:)
Thanks
There's no error, I just can change text
public function cx(e:MouseEvent):void{
//VARIABLE THAT EFFECT THESE TEXTFIELDS
V1 = 0;
V2 = 0;
t...
So i have this chunk of XML:
<?xml version="1.0" encoding="UTF-8"?>
<groups>
<group>
<image name="afp.jpg"/>
<image name="agfa.jpg"/>
<image name="americomp.jpg"/>
</group>
<group>
<image name="canon.jpg"/>
<image name="carestream.jpg"/>
<image name="cmt.jpg" />
</group>
...
Hi,
There is the doc page about FlexUnit4's async approach: http://docs.flexunit.org/index.php?title=Writing_an_AsyncTest
Here is the concept that's confusing for me:
// timer is a Timer instance set to tick once with a delay of TIMER_TIME.
[Test(async)]
public function testAsync() : void {
var asyncHandler:Function = Async.asy...
Question. How can i get started with flash/flex or actionscript, to use the Skype4Com, and make something small like this site: https://imo.im/
After login with my SkypID, i can make a voice call from browser using Flash? How, can i get started on this, can someone show me a way please.
Thank you
...
I want to display multiple images and when rollover above it i must get a tooltips (names). The same names are in the database mySQL. Naturally, to tooltips displayed without delay, preferably immediately put all the names from the database into an array and then manipulate them. Tell me please what I do wrong?
Php class to connect dat...
I have a 'shell' swf that i use to navigate a series of swfs. When i want to test or run a swf standalone i want to detect that no parent is present and locate XMLS or images in a local path. If i run in the parent SWF i understand that paths are realative.
The code below doesent work because this.parent evaluates to [object Stage]
if ...
I have an image in Flex I want to change the image with actionscript to show some other image say every 3 seconds or so. I also want to make transition between the image and the next one for instance fade in/out. What is the best way to do so?
...
I would like to provide my own sortItemRenderer within an AdvancedDataGrid like so:
<mx:AdvancedDataGrid sortItemRenderer="MyRenderer"></mx:AdvancedDataGrid>
MyRenderer is a class that I wrote, but Flex doesn't see it and gives "defintion not found" error, because it is not within the mx namespace. What is a clean way to make this to...
I have list of object that I want each item to be rendered with some renderer that include a delete and edit buttons with some text.
What is the best way to make the list of object re-order-able in drag/drop fashion so the user can drag on item on top of another to change the order of the list.
...
I'm playing around with code like this:
<s:Button id="test" label="test" transformX="{Math.floor(test.width/2)}" rotationY="20" x="20" y="20" />
The button is rotated on the Y axis and the rotate pivot is in the middle of the button.
This will create a button that looks something like this:
The rotated button is, visually, filling...
First off I don't understand classes, how to "call" or "initiate" them. I'm class ignorant.
I have two .fla files. One of my .fla files consist of 15+ .as files; we'll call this one XML editor. The other .fla file consists of 10+ .as files; we'll call it the interface.
The xmleditor.swf loads the interface.swf.
Within the xmleditor.s...
Is there a way to compare the current time to a bunch of times (loaded from XML) and have it figure out which is the closest to the current time?
...
I have a strange problem regarding Flash error 1151: A conflict exists with definition i in namespace internal.
Here is the problematic code:
for(var i:Number=dt.getFullYear(); i >= dt.getFullYear()-90; i--)
{
dtYear.addItem( {label:i, data:i} );
} //for
//-*-*-* Month
for(var i:Number=0; i < months.length; i++)
{
dtMonth.addI...
Ok it looks likes like I have stumbled upon a strange timing issue... I made a quick SQL wrapper class for executing sql statements. However after .execute() is called, the SQLEvent.RESULT event is never fired, but the new entry in the DB is created as it should be. The really really odd part is if I put a setTimeout() just after calli...