Tagged Questions
ActionScript 3 (AS3) is the open source object oriented programming (OOP) language of the Adobe Flash and AIR Platforms. AS3 is widely used for RIAs, mobile apps, and desktop applications. (ActionScript 3 is a dialect of ECMAScript.)
0
votes
1answer
7 views
Change the fontsize of a button's label in Actionscript 3.0
Can someone help me change the fontsize of a button's label in actionscript 3?
I have a button called "submit" from the components and I was able to change its
font using the "setStyle"...But I don't ...
0
votes
0answers
2 views
youtube api v3 - flash player no trigger buffering state
As you guys know, the Youtube API allows users to control the YouTube players by loading the player into a Flash application. Previously when using AS2 API, there are ...
0
votes
1answer
4 views
Efficiently XOR two images in Flash compile target
I need to XOR two BitmapData objects together.
I'm writing in HaXe, using the flash.* libraries and the AS3 compile target.
I've investigated HxSL and PixelBender, and neither one seems to have a ...
0
votes
1answer
3 views
Fade out when running removeChild() in ActionScript
I am creating a very rudimentary UI in Flex and Open Exhibits SDK, which I'm just starting to learn.
The UI has buttons and text. When I click a certain button, it removes everything from the screen ...
0
votes
0answers
10 views
How do I tell if the device is pointing down with yaw pitch and roll or quaternion
I have a simple Adobe Air game that I need help on. The app contains a Bucket and I need to to dump out its contents whenever the user "dumps" the phone. I have an ANE that gives me the yaw pitch and ...
0
votes
0answers
9 views
Change color and formatting on TLFTextField with updated SWCs
When I run the following code using an older version of tlfRuntime.swc and textLayout.swc, it displays fine- takes the colors and font name and all. But when I update to a newer tlfRuntime.swc and ...
-1
votes
1answer
14 views
Searching for tutorials to make a game like mario control by accelerometer AIR for android
I have a question how can I make a game like a super Mario, which is when the character collect the coin and the coin will disappear and the score will change based on time. I want to use Action ...
0
votes
0answers
18 views
HTTP status code 503 throwing error #2030 in Flash
I'm attempting to load ads in a Flash video player then download all of the 1x1 Impression gifs linked in the VAST file. Everything works well until I hit this file:
link to bad file
This file ...
0
votes
1answer
10 views
as3 multitouch drawing application
i'm working in drawing application using action-script 3 on multitouch screen .. code working well except one error .. when i use two fingers it not draw two separate lines .. but connect them
one ...
0
votes
0answers
11 views
Microphone Recorded sound playing with stutter
I have a problem with my code for Android device.
I am using a microphone to record voice but after recording when i play recorded audio its stuttering. Please help me.
Here is my code:
...
-3
votes
0answers
43 views
How does garbage collection differ between AS3 and Javascript?
I've had a few occasions in AS3 where GC seems to give up marking-and-sweeping large floating islands of data (even if the main application holds no reference to it whatsoever) and this article seems ...
0
votes
1answer
10 views
Pause FLV Video after X seconds
I'm streaming a flv video and i need to pause the stream on the 15th second. Than after user interaction ( after hiting a button ) to resume the stream.
var connection:NetConnection;
var ...
0
votes
0answers
21 views
retrieve User's Friend in Desktop app(Adobe Air)
I am currently developing a Desktop app in which i want to retrieve facebook friend to send invitation. by Googling about the this task, i get information that facebook prevents to fetch all friend of ...
2
votes
2answers
46 views
ByteArray class for C#
I'm trying to translate a function from ActionScript 3 into C# .NET.
What I have trouble is how to properly use ByteArrays in C#. In As3 there is a specific Class for it that already has most of the ...
0
votes
1answer
21 views
Shared Objects in Flash to Javascript?
I have found a bunch of online games with high-score saving, and the documentation says Game settings and highscores saved to Shared Objects. What does this means?
Is it possible to catch that ...
-1
votes
0answers
12 views
Is there is possible to set title property for typographicCase to label in flex
How to set title for typographic Case in spark namespace.I used a method for title case conversion but no use.Please help me thanks in advance
0
votes
1answer
18 views
Adobe Air Application - open facebook app to login
I want my adobe air app to open my user's Facebook app installed on their own device and return to my adobe air app and finish the login process.
I don't want to open Facebook with ...
1
vote
1answer
12 views
How to capture RIGHT_CLICK in FlashDevelop?
I wish to add an event listener for the MouseEvent.RIGHT_CLICK event in FlashDevelop.
In Flash CS6's editor, I can simply do:
stage.addEventListener(MouseEvent.RIGHT_CLICK, onMouse);
But ...
0
votes
0answers
21 views
Trouble refilling an array
Trying to refill my array. My brick container contains 5 bricks (movieclips). All the code works up until I try to refill the array again (calling fillBricks() from my loop). Get the error code ...
0
votes
0answers
12 views
Control buttons missing after flash published Adobe Flash cs6
I have been trying do do what I thought would be very simple, but so far each time I publish the flash file on Adobe Flash cs6, I do not see the control panel below the vid with the start/pause, ...
-1
votes
1answer
15 views
Action Script 3 Errors 1061 and 1120
I'm new to this, not sure what I'm doing wrong, Thank you for help
Please see my code below:
protected function getXMLUrl(vid:String):String {
//return 'http://v.iask.com/v_play.php?vid='+ vid;
...
0
votes
1answer
36 views
Trace is not working in Actionscript 3 Flash CS5
I am having an issue with using trace();
For example, at multiple points in my project (and other projects) I had trace statements, which functioned until recently. For some reason now, in the same ...
0
votes
2answers
16 views
AS3 Accessing a variable from an external include ActionScript File .AS not Class
i am loading in a external AS file directly into the main timeline IDE using the "include" method with some variables and calling another Class within the AS file for example;
include "vars.as"
...
-1
votes
0answers
11 views
Bypass redirect during upload via URLLoader?
I've got a php script running on a web space ending with .org. This web space has an automatic redirect to the same space ending on .com.
In my AIR application I'm trying to upload XML files to the ...
0
votes
2answers
34 views
AS3 MovieClip click event not working
I'm working on a flash slider using as3 and cannot get the click event to fire which clicked on a MovieClip.
The click event works perfectly when targeting the stage but not any MC.
Below is all the ...
0
votes
1answer
8 views
Swf loses keyboard focus in flash cs3
I am using Adobe Flash CS3 to create a project. I need to utilize the keyboard. When I publish the swf file for testing, it registers only a select number of keys on the keyboard. I have noticed, in ...
0
votes
1answer
15 views
Dynamic BlazeDS endpoint configuration
I search for some help creating a Flex application using BlazeDS and Java server with dynamic BlazeDS endpoint configuration.
First, I will try to explain my current situation.
I have a Flex 3.2 ...
0
votes
0answers
21 views
editable flash component (swc)
I am learning making of flash component by trying make a simple button movieclip and export it as swc file, so far I knew how to make it and packging by following tutorials avialable on the webs. but ...
0
votes
0answers
10 views
dynamically create a storage directory in wowza
My First Attempt
I am implementing a webcam with wowza streaming engine.
Application.xml
<streams>
<StreamType>record</StreamType>
...
0
votes
2answers
27 views
Transferring movieclips in a swf to another swf
I'm currently creating a flash animation where the swf will run when called by the Windows Application done in c#.
Lets have an example, WinA and WinB (Seperate windows application called to run the ...
0
votes
1answer
26 views
How to stop text autocorrection via code
I have a translation programme to translate Spanish to English. I am writing code in flash AS3. How to I stop the autocorrection when I am typing on the tablet?
Cheers
0
votes
0answers
25 views
Setting up flash Security settings via code
I'm looking a way to set up security setting via code.
here is Policy File. we can use the following code to apply it to application's Security settings :
...
0
votes
1answer
32 views
Actionscript 3.0 - Changing FPS for scenes won't work
I have a scene where if you push a button, it goes to a different scene.
At the beginning code of Scene 2, I have -
stage.frameRate = 40
But, to my surprise, it stays the same FPS!
Should there ...
0
votes
1answer
43 views
as3 event listeners in for loop to pass dynamic variable to function
I need your help. I have an array with numbers, and I tried to pass a dynamic variable to a function in the mouse event listener. It works but not how I want. Whenever the mouse event listener is ...
0
votes
1answer
13 views
ActionScript 3.0 - How to make a button finish looping the scene, then go to the next scene
So, lets say scene 1 has 40 frames. Someone clicks on the button to go to the next scene at frame 10. I want it to continue to frame 40, then change to the next scene.
Keep in mind that the 40 frame ...
0
votes
0answers
18 views
Error 1026 Action Script 3
I'm trying to make a simple button with gotoAndStop command in AS3, but i keep getting error 1026. This is the code:
import flash.events.MouseEvent;
function onButtonClick(event:MouseEvent):void
{
...
0
votes
0answers
21 views
The application has stopped unexpectedly (Adobe AIR/Android/FlashDevelop)
EDIT: Turns out my Android device isn't compatible with Adobe AIR :(
I'm trying to build an app with Adobe AIR (using FlashDevelop) to run on my Android device. However, when I and run the APK with ...
0
votes
1answer
28 views
TypeError: Error #1009: Cannot access a property or method of a null object reference
i am using flash CS 5.5.if i call one function in button click event by the time that error came.Anyone say what am doing wrong?
This my code:
var visited:Object = {
Movieclip: 0,
one: 0,
...
0
votes
1answer
26 views
How to rotate FLVPlayback around a specific axis ? (ex. Y= 10 , Y = 100)
In my program I have a FLVPlayback to play video and I want to rotate the FLVPlayback with keyboard inputs around X axis.
following is the code.
Here the FLVPlayback only rotates around Y = 0.that ...
0
votes
0answers
25 views
class mapping (object to object ) failure with FluorineFx
I have a flash application(by AS3) and a server application(by c#). I use the FluorineFx to send and get messages between them. But now I have a problem that I cannot return a value of Object ...
0
votes
1answer
34 views
How to load xml into flash via php?
I have a problem and couldn't find an answer, so sorry if this is posted before.
I have 2 SWF files for a crossword puzzle: first one is for creating puzzles and outputting XML files upon clicking ...
0
votes
0answers
11 views
Android Remote Chrome Debug in Adobe Air StageWebView
I am able to usb remote debug a StageWebView in Adobe Air application on a rooted Android Galaxy Note 2 running 4.4.x. This is from a Macbook running Mavericks.
It maybe a driver issue, but the ...
0
votes
1answer
46 views
send sms without any prompt and read the received sms
I'm creating app using flash cs 6. I need to send sms from my app. I created the native extension which will send the sms. It uses default sms manager.It is working fine. But when i use it to send sms ...
0
votes
1answer
19 views
How to make a bridge between javascript and actionscript3
I want to make a super simple javascript-actionscript3 bridge.
call the actionscript's method with string param.
and it returns the string param that have sent.
this is my code.
as3 file,
package ...
-1
votes
1answer
34 views
Wait/Sleep inside functions
I was wondering how to use a Sleep/Wait system inside functions in AS3 without pausing the whole project at once, here is how I usually do it:
function doubleBoom():void
{
boom();
...
0
votes
1answer
15 views
How to include helper functions in multiple classes
I have two major classes, including about 7 files each, each containing 2 to 10 functions.
However, I have a utils.as file, containing about 10 simple explicit functions, that I wish to include in ...
0
votes
0answers
28 views
I don't manage to create bevel in AS3
This is what I have tried but not succeeded:
generateBevel(playBarBackground);
function generateBevel(myMC)
{
var myBevel:BevelFilter = new BevelFilter();
myBevel.type = ...
0
votes
0answers
23 views
Screen turns black while playing beside small rectangle (AS3 starling)
I have encountered in this situation for few times on androids devices
https://www.dropbox.com/s/0ors3fb6xpe1rw1/20140827_224147.jpg?dl=0
All the screen turn black except small rectangle.
The bug ...
0
votes
0answers
46 views
the type of the return value in c# can not match the type in ActionScript
I have a flash application(by AS3) and a server application(by c#). I use the AMF to send and get messages between them. But now I have a problem that I cannot return a value of Object type(which ...
1
vote
1answer
26 views
“Access of undefined property” errors when the property is actually defined
Answered my own question: I can't declare any variables out in the open like that in my class. They have to be declared in a function, in this case, initialize();
I have a class called "Sushi"
...