Tagged Questions
0
votes
0answers
6 views
Actionscript trouble connection
I'm took it upon me to help a friend on an adobe flash problem thinking that it would be a logical problem but i realized that i got way ahead of myself once i saw the actionscript code, well kinda... ...
0
votes
0answers
10 views
Rich media banner. Play video in lightbox
Im about to create a rich meda banner in Flash. On hover a lightbox going to open, fill the screen and play a youtube video. I have worked alot with flash and actionscript, but this is new to me. How ...
0
votes
1answer
11 views
how to show Alert while the input text data is changing with actionscript 2?
i want to make an input text validation with FLASH ActionScript 2.
The input text only displaying numbers above 5, so if i try to input number 0,1,2,3,4, the Alert will pop up and give an information ...
-1
votes
2answers
19 views
Enable button when a variable is a specific value
I'm making a game with AS2.
Recently I coded a lot on Unity but I don't get how I recreate the void Update() function.
For example, I got this script:
stop();
if(Points == 0){
myButton.enabled ...
0
votes
1answer
29 views
Actionscript 3, access Symbol properties (AS Linkage)
I have created a new Symbol in the Flash IDE, I set it to Export for Actionscript and it has a class name of itemCoin
My stage has now 3 movieclips of that class, how can I:
count how many of ...
0
votes
0answers
20 views
ActionScript 2.0 class scripts may only define class or interface constructs. External ActionScript
I'm trying to compile some flash files that reuse an external ActionScript and whenever I compile any of them I'm getting a compiler error saying
ActionScript 2.0 class scripts may only define class ...
0
votes
1answer
60 views
How to select multiple objects on MOUSE_OVER during a MOUSE_DOWN
Lets say I have 30 objects created in for loop, added to a container.
Objects stop on frame 1. I have added event listeners to the objects as you can see below, and when I click any object inside ...
0
votes
1answer
24 views
Actionscript 3.0: How do I override browser keyboard shortcuts?
I have a .swf that requires Ctrl+N and Ctrl+T as keyboard shortcuts, however when in a browser this opens a new window or a new tab (respectively).
My question is, how do I (or even can I) override ...
-1
votes
0answers
22 views
Best Resources to Learn Flash & ActionScript 3.0
What are the best resources (books, video tutorials, website documentation) for learning Flash / ActionScript 3.0 ?
I want to focus on developing games. I already program HTML, javascript, php and ...
0
votes
2answers
41 views
Make 2d array from single array
I created a level editor for web game, I can build, save, load and play levels.
Now I want to edit some levels but I have a weird situation.
I export a level as a single array, it looks like this ...
-1
votes
1answer
42 views
Actionscript Loader Error #1009
I'm trying to make a basic loader that uses Splash.swf to then load myisogame.swf
I keep getting error #1009. It's a template we was given in class, originally the Splash.swf directed to Game.swf, ...
0
votes
1answer
31 views
(ActionScript 3) Children and clearing the screen issue
I've been learning ActionScript 3 recently, and for the past 2 hours I have been stuck on this:
I cannot clear the screen when using the usual
while (numChildren)
{
removeChild(0)
}
I have ...
-2
votes
0answers
28 views
play video mail ru using other player? now what are they using.?
my problèm is how can i play video mail.ru using other player
Does anyone know what are they using..??
and Thank you very much
best regards
0
votes
1answer
36 views
Bypass objects in the way - flash and actionscript
I have a virtual world, players walking in the world space.
but, i have one problem:
In the map, i have objects(bushes, trees and more..), And I want that once a player clicks anywhere on the ...
-3
votes
1answer
29 views
How do I make Random Arithmetic questions come up in my program in ActionScript [closed]
I have to make my program generate random Arithmetic questions, but im a little confused of how to do that. would I use MathRandom(), and how would I do that? I would really appreciate the help.
0
votes
1answer
38 views
How to use special key combinations in flash/actionscript?
Hi I am building a rich web application using Flash / ActionScript 3 which needs to use special key combinations inside (like Ctrl+R, F5 etc). But browser looks like always have a priority in ...
0
votes
0answers
14 views
Disconnect Bug in Flash Chat (ActionScript 3) based on RTMP
There is a flash chat platform i am using for my site and many other sites are using same platform too because its free and fast its actually based on rtmp and client side is based on flash ...
0
votes
0answers
15 views
Actionscript 2 Unexpected ']' encountered
I've been getting the error Unexpected ']' encountered for the following line:
null[] = (Error)() == null ? (null, throw , function ()
{
try
{
...
What would I need to edit to fix ...
-2
votes
1answer
49 views
“Access of undefined property…” in for loop declaration? Should not happen… AS3
So this is practically straight from the Adobe website. Flash Builder is telling me I am accessing an undefined property when I am clearly not. What is going on?
I am putting a piece of code in to ...
0
votes
1answer
30 views
Include all class files in Flash
I currently have all these files:
The problem is, none of the actionscript files are being included in ~shell.fla. I [think I] can include all the files separately, but there are a TON.
It would ...
0
votes
0answers
16 views
Adobe Flash CS6: Need movieclip to appear below other movieclip , layering
I'm not very familiar with actionscript. I was asked to edit a SWF movie. Had to Decompile it with JPEXs, Free Demo does not convert actionscript, so I had to manually had it in. The fla is working ...
0
votes
0answers
16 views
Scripting a TRQ Digital and TRQ Analog Guage for a dynamic slide show in actionscript 3 from actionscript 2
I had this code in AS2 and now I believe I need to bring it to actionscript 3.
The primise of the code takes a string and breaks it down to create a number to input that number into a guage and a ...
-1
votes
0answers
34 views
Implementing Admob ANE using flash
I know that this question had been asked so many times on this forum but I've tried everything here and on google but nothing work for me.
I developped a game with flash cs6 and I'm now ready to ...
0
votes
1answer
22 views
TypeError: Error #1034: Type Coercion failed at addChild();
import flash.display.MovieClip;
var clip1:clip01 = new clip01;
var clip2:clip02 = new clip02;
var clip3:clip03 = new clip03;
var clip4:clip04 = new clip04;
var clip5:clip05 = new clip05;
var ...
0
votes
2answers
60 views
actionscript3 function parameter modifier. Is it possible? [duplicate]
I tried to search about that, but didn't find anything. I used links to modify data via parameters in C++. In C#, for example, I can use like that:
bool foo(ref string r)
{
r+= " is text";
}
...
0
votes
0answers
17 views
World map with Lat/Lon support
I need a vector world map in JS/Flash that supports display of dots based on their lat/lon coordinates. I need to use this for a office locator, for a company with offices around the world. The idea ...
3
votes
1answer
43 views
Context3D not available when forcing software rendering in flash
I'm having a problem with fallback from GPU to SOFTWARE rendering.
I want the .swf to work on machines that don't support GPU rendering and I have found that the following line forces the software ...
0
votes
1answer
46 views
ActionScript 3 Selecting a MovieClip
My situation is this:
I've got several (2+) MovieClips on the stage.
Each one contains an input-textbox in addition to the background.
When I click the first MovieClip, it gets selected and a light ...
-1
votes
0answers
16 views
Upload a file in Actionscript 3 flash and send it to an email
Is there anyway to create a upload-a-file module in actionscript3 inside a frame?
how?
Also, the customer would be able to upload and SEND it after to a specific email.
3
votes
1answer
37 views
Generate a Static Unique ID for every Computer without storing it locally in ActionScript
I want to generate a unique id for every computer and it should remain static every time the id is generated which means we dont need to store it in local storage because most of our user disable ...
0
votes
1answer
53 views
Transfering Actionscript 2 code to Actionscript 3
I started a few years back with actionscript 3 when I got out of school and the first real job I had, I had to get into actionscript 2. So after about three years of coding things into actionscript 2, ...
-1
votes
0answers
19 views
Flash chroma key background transparent
I am using this example to do the chroma key http://www.quasimondo.com/archives/000615.php
I want to get transparent background from this.
Can you please help me.
3
votes
1answer
97 views
AS3 NetstreamInfo Class returning wrong values
I wrote a little swf Container which should load a video file and playback it.
I followed the official Adobe documentation and the video plays smoothly.
Afterwards I added some ExternalInterface API ...
0
votes
0answers
8 views
Is it possible to place a navigator.pushview in a result handler from a httpservice
so i am building a mobile app with a login and register view. i got the php script working and i am able to make it communicate with flash builder.
the only problem is that when i enter the login ...
1
vote
2answers
20 views
AS3 SharedObject IF isset or equals
very new to SharedObjects, but essentially all I want to do is let a user answer a question once and not allow them to answer again, how is it possible. This is what I have below?
...
0
votes
2answers
63 views
how to set up a Tuio AS3 OSC receive function
I'm using the Tuio AS3 library to work with OSC data. And successfully implemented to send OSC signals through UDP from the example here:
http://bubblebird.at/tuioflash/guides/sending-osc/
My ...
0
votes
1answer
25 views
Movieclip not orbiting correctly
I'm current a student doing a flash animation. I'm new to it and algorithms.
The problem with my current project is that the movieclip I'm animating is not orbiting correctly, I followed the video ...
0
votes
2answers
22 views
Displaying A Symbol After Set Time [Action Script]
I was curious if this was possible to display a symbol after a set amount of time? The only method I am aware of in Flash is setting it in the timeline. However I need the animation to loop and if it ...
0
votes
1answer
19 views
Is content in an encrypted Flash container file more safe than as plain HTML/Javascript?
The current task is as follows:
It's about publishing spreadsheet tables online and making them accessible only to registered subscribers. The access to these spreadsheets is meant to be a paid ...
1
vote
1answer
58 views
Get the upper, bottom, rightmost and leftmost point of a pixel-perfect BitmapData collision
How can I get the upper, bottom, rightmost and leftmost point of a pixel-perfect BitmapData collision? This is my collision-detection code:
public static function checkCollision(object1:*, ...
0
votes
1answer
33 views
In ActionScript how to count number of lines in a Text Field and Update it by keeping only specific number for lines
In a shoutbox application we use clear command so users can clear their screen if it's get so much text.
The clear command execute UI["TABS"].TABS[UI["TABS"].CURRENT]["BOX"].htmlText = ""; which ...
0
votes
1answer
34 views
How to Detect Duplicates in an ActionScript Array and For Loop
Here is a piece from my code:
for (_variable1 in _variable2) {
_variable3 = new Array();
_variable3["ip"] = _my_so.data[_variable1]["ip"];
...
0
votes
0answers
14 views
Creating new instance of an object which is in another flash file library?
I'm trying to create a instance of an object which is in another flash file library via action script.
A class is responsible loading flash file B and C.
B flash file has library and all objects in ...
0
votes
2answers
31 views
Adobe ActionScript 3.0 and “this”
private function onEnemigo(e:TimerEvent):void{
var tiempoTranscurrido:int = getTimer() - ultimoEnemigo;
if(tiempoTranscurrido > proximoEnemigo){
ultimoEnemigo = ...
1
vote
0answers
28 views
Differences in assigning on-stage or code-created object instances to stage.focus?
I am trying to focus on a button(a MovieClip) with up/over/down/disabled effects and I am facing the following issue.
When I specifically place an instance of the MovieClip to the stage and name it ...
1
vote
1answer
46 views
In ActionScript how to disable CTRL+V Paste in a TextArea
I disabled the Paste option in right click of TextArea using:
MyField.textField.mouseEnabled = false;
But still i can paste any text using CTRL+V is there anyway to stop it?
0
votes
0answers
25 views
Converting Actionscript 2 web service call to Javascript
I'm currently working on a HTML5 ad that is a conversion of a Flash ad that was built by another developer. I'm new to working with databases and am by no means a Javascript ninja. Basically, the ...
0
votes
0answers
37 views
ActionScript how to check if Local Storage is Disabled?
I am using a flash chat based on actionscript 3.0. We need to make sure the chatters dont have their Flash Local Storage set to none / disable. Because we need to to store some data for future use ...
-1
votes
1answer
55 views
Updating SharedObject Data Value in ActionScript
First of all i am sorry for my little knowledge of actionscript i need some help.
I want to update the value of _third.data["#ID"] in this code. What i want to do it to add something with ...
0
votes
1answer
36 views
expecting colon before rightparen and expecting identifier before if
Another probably dumb question.
I followed a tutorial (popping game by Richard Parnaby-King).
i got this anoying errors that i cant seems to fix.
the main.as (called test1):
package
{
import ...