Questions tagged as 'actionscript-3'

1
answer

Clock in Action Script

I created a watch on Action Script to use as content for Digital Signage with 6 countries' time, but I'm having a problem with daylight saving time. I used getHours to pick up schedules and applied the spindle difference with simple...
asked by 16.07.2014 / 16:12
1
answer

Doubts with ActionScript Classes and Objects

Description of the Project I'm developing a slide catalog, in which there are photos and texts, which are loaded dynamically from urls provided in a list. Load list that has this format: nome_do_item url_da_sua_imagem url_da_sua_descriçã...
asked by 23.07.2014 / 14:23
1
answer

Start application on a specific monitor in Adobe AIR

I'm developing an application in Adobe Air exe that uses 2 monitors, the application calculates how many monitors the computer has, and calculates using a rectangle to popular them. This way it's all right, my question is why the mouse has de...
asked by 12.08.2015 / 10:20
1
answer

Difference between "Object (myobject)" and "(myobject as Object)"?

I wanted to know the difference between using Object(meuobjeto) and (meuobjeto as Object) based on the code below: var mc:MovieClip = new MovieClip(); //Um objeto MovieClip trace(mc as String); //null trace(mc as MovieClip); //[...
asked by 29.10.2014 / 18:56
1
answer

Error loading web address XML file

I have a flash game where I load the words through an XML file ie: var carregaPalavras:XML = new XML(); carregaPalavras.ignoreWhite = true; carregaPalavras.onLoad = function(success) { if (success) { parsePalavras(); } else {...
asked by 05.02.2015 / 11:51
1
answer

How to convert a JSON object to XML in AS3?

There is some method of converting a JSON object to an XML object using
asked by 17.02.2014 / 19:50
1
answer

How to protect swf file from running in other domains?

How can I protect a swf file by Actionscript 3.0? I know that Security.allowDomain("www.example.com") exists, but it only serves to receive data from the domain that is in parentheses, if I'm not mistaken. Does anyone know any other wa...
asked by 16.09.2015 / 05:13
1
answer

Action Script 3.0 Function does not receive parameter

I'm having a problem with parameters for my function. She is not getting the parameter I step into it. Here is the code below: function gerarescala(e:MouseEvent):void { var tom:String = texto.text; var escala:Array = new Array('C','C#','Db',...
asked by 15.08.2014 / 22:47
1
answer

Flex 3 - ActionScript - Cairngorm DispatchEvents - How do I know when event is over?

I'm using Flex 3 with Cairngorm framework. Somewhere in the program I trigger a dispatchEvent event, like: CairngormEventDispatcher.getInstance().dispatchEvent(new eventExample [...] Do you have any way to tell when the event is over...
asked by 26.06.2014 / 13:27
2
answers

How do I use cookies or other local storage in Flash?

I would like to persist some information in the program I'm doing in Flash. I need to save primitive data from my application's inner controls, and I thought of something like a local XML or a cookie . Is it possible to do something like...
asked by 19.05.2014 / 22:20