Questions tagged [flashdevelop]
FlashDevelop is a popular, free and open source IDE for ActionScript and Haxe.
767
questions
0
votes
0
answers
41
views
how to use stagewebview with flash player and JS enabled for android targets?
I need some help to use stagewebview from Air SDK to display a url that has Flash content on it, if someone knows gow to do it, please reply
using FlashDevelop and Harman Air SDK on lastest version
...
1
vote
1
answer
79
views
Haxe can implement multi interfaces?
I have the haxe code from AS3HX that converts actionscript3 to haxe. Please see the below:
class Container extends UIComponent implements IContainer implements IDataRenderer implements ...
1
vote
0
answers
86
views
FlashDevelop Java 32-bit problem - No Debugger
While it seams a simple edit to the JVM.config to make FlashDevelop use the 32bit JRE, that doesn't seam to work for me..
I've just had to reinstall stuff and FlashDevelop doesn't want to allow ...
1
vote
2
answers
80
views
How to hitTest same Objects in one Array?
I want to create a stacking Game. Where when you tap the screen for instance a block falls down and a new one appears where the other one originally was. Now when the User taps the screen again the ...
0
votes
1
answer
47
views
FlashDevelop debugger window showing incorrect resolution
I have an AIR Projector game that's set to 640x640 resolution in the Project -> Properties -> Dimensions field. But for some reason when I debug the game the window sizes itself to 800x800.
Here's ...
0
votes
0
answers
28
views
AIR application crashes when changing stage displayState to fullscreen
A problem started cropping up in my game that hasn't happened before. I have a fullscreen toggle button, and when I press it my game attempts to go into fullscreen but the entire app closes after a ...
4
votes
0
answers
111
views
FlashDevelop startup problems - problems with plugins
When starting up FlashDevelop version 5.3.3.1 for .NET 4.0 on my Windows 10 system I'm getting these messages:
Unable to load an incompatible or broken plugin: C:\Program Files(x86)\FlashDevelop\...
0
votes
0
answers
49
views
adding an EventListener to an Enter_Frame event function
I was just curious if I add an a EventListener such as addEventListener(MouseEvent.CLICK, onClick);
Inside an ENTER_FRAME event function will it add an instance of that MouseEvent Listener every ...
1
vote
1
answer
120
views
How to spawn objects in array without repeating?
I have MC's rockThrowers that are added to the stage in 3 different positions. They spawn randomly using a random generator which is working fine. The user clicks a button on the stage and the ...
2
votes
1
answer
126
views
Is it possible to port Flashdevelop project from Openfl to Android?
I made a neko project for Windows using FlashDevelop. I want to see if I can port it for android without remaking code or too much of it. In the past I was able to port to hmtl5 without having to ...
1
vote
0
answers
317
views
Is there a way to access/read and modify the contents of .swz files?
There's a 2D party fighter game I play (which runs on Adobe AIR and uses As3==S3) that stores all the instruction code in a .swf that is ran when the game is booted up. When the game is booted up, a ...
0
votes
1
answer
122
views
How to use a mask in actionscript 3.0?
I want to mask the png image pattern.png with another image - mask.png, but it doesn't work at all and I can't find the reason. Instead of masking the image, the mask just disappears and the pattern ...
0
votes
1
answer
32
views
FlashDevelop is putting entire class path on new instance declaration
This is more of a nuisance than anything, but when I use FlashDevelop and declare a new instance it puts the whole class path instead of just the class name.
For example I have a class called "...
0
votes
1
answer
160
views
Unable to get frame accurate timecode in adobe animate CC
I am using adobe animate tool to develop a flash player which will allow users to annotate and tag faces of people in a video. So user plays video he pauses it and draws a rectangle around a visible ...
5
votes
2
answers
949
views
HaxeDevelop debug does not stop on breakpoint
I am new to HaxeDevelop (but experienced with FlashDevelop) and it has essentially no useful documentation that I can find via a Google search. I am trying to get a simple app up and running with ...
0
votes
1
answer
87
views
I Want To add FileFilter ("*.doc") to save automatic file without type extension
I want to add my FileFilter in as3. Because there is the main problem of extension typing. I already use this option
(saveFile.save(bytes,_dbookNameFill+".doc"));
but I want to automatically ...
0
votes
1
answer
172
views
Why is my app's performance much lower when running it outside of development environment?
I'm writing a game application in ActionScript 3. I use FlashDevelop to write the code and compiling and Flash CS-6 for visuals, etc.
The issue I'm having is with getting the program to run at a ...
0
votes
1
answer
523
views
Error: Incorrect number of arguments. Expected no more than 5. in nexusShop\NexusShopPopupView.as(47): col: 115
I want to build a swf file for this I am using FlashDevelop the Flex SDK 4.6 this worked, until I started to get this error: " Error: Incorrect number of arguments. Expected no more than 5. in ...
1
vote
1
answer
99
views
embedded font displays no text (as3)
using flash develop. so i downloaded "source sans" font from here: https://fonts.google.com/specimen/Source+Sans+Pro?selection.family=Source+Sans+Pro
it has a bunch of ttf files, "bold, italic, etc" ...
0
votes
1
answer
104
views
How to create multiple colors when expanding circle shape AS3?
So I am trying to figure out how to do this or if even possible. I create my circle shape dynamically through code and want to be able upon mouse_UP have the circle stop and when the mouse_DOWN is ...
0
votes
0
answers
73
views
How to Optimize multiple if-else statements AS3?
So I have my function characterBooleanFunction which holds over 30 if-else statements. When I run Scout to check performance it points right to this function which is also ran by a ENTER_FRAME event. ...
2
votes
1
answer
48
views
How can I avoid uninstalling the app when compile
I have a general question for about Intellij IDE
by default when I compile my air app in android or iOS devices , this IDE first uninstall my app and then install , but I don't want to uninstall my ...
1
vote
1
answer
259
views
"Module openfl.display.Shader does not define type Shader" when trying to do a release for neko or windows [Flash Develop/Haxe]
this is somenthing I was trying to solve for HOURS, but I don't get why this is not working.
First of all, I'm trying to do a release for neko or windows in Flash Develop. My project is a OpenFl one, ...
0
votes
1
answer
22
views
Whats changes are needed when change the run enviroment of SWF game?
I want to change the runing enviroment of a Flash game from Web to Desktop(Windows).
The game sends and receives to a backend server.
As it is now it calls like :
var varURL:URLRequest = new ...
1
vote
1
answer
172
views
AS3 custom TextField text is being drawn outside its textWidth
So this one is a little hard to explain. I have a custom Text class that automatically resizes and sets the width of the text when you change its value. I then take that Text and draw it on a Bitmap ...
3
votes
1
answer
129
views
How to add Movie Clips of different sizes next to each other? AS3
Hello everyone so I am having some trouble with this I have Platforms that I add to the stage which are different sizes in Width. What I am trying to do in my for Loop is add more platforms on the ...
0
votes
2
answers
278
views
AS3 How to hitTest with multiple Movie Clips of the same Instance Name?
Hey everyone so I have a Movie Clip inside my platforms movie clip called mcTaco so platforms.mcTaco. I add the platforms and the player which I check for hitTest collisions to the stage dynamically ...
2
votes
1
answer
821
views
HaxeDevelop: cross-platform compilation via default project templates
Trying investigate how to create "Hello world" on different languages via HaxeDevelop. I'm newbie and may be inacurate at terminology.
1) C# project. Pressing F8 gives me error:
haxe -cp src -cs ...
1
vote
1
answer
198
views
Compiling in Flashdevelop OpenFL takes 31 minutes
I'm new to Haxe and I think I've messed something up.
If I open up a new OpenFL project in Flashdevelop and immediately compile it with windows(c++) as my target, the initial compilation takes about ...
0
votes
0
answers
105
views
Load swf on loaded swf?
I'm on a project created in Flash Builder 4.7 and Flash Professional CS6, nice.
I need the project load's a SWF inside the "preloaded SWF",
The first SWF, loads a second SWF,
This second SWF would ...
-1
votes
1
answer
51
views
as3 starling tile array
Im trying to make a tile array system using flashDevelop and starling.
I think i complete that but i dont understand how i make bounds,intersects between the tile array and my hero.
Note that i make ...
-1
votes
1
answer
76
views
As3 Globals doesn't work
I have two swf files.I have followed this global variables in AS3 yet no use.
I have a home.fla file
import flash.events.MouseEvent;
import flash.display.StageDisplayState;
import flash....
1
vote
1
answer
73
views
Moving Object to another Objects position
Hey everyone so I am having some trouble trying to get this to work correctly. I have a MC Object called character and another called "points". I have a container object called planetContainer I add ...
-1
votes
1
answer
82
views
Does FlashPunk use GPU render like Starling?
Im interest to know if FlashPunk is a good option to make games for mobile devices.
0
votes
0
answers
111
views
Error building C++ project in HaxeDevelop
I use HaxeDevelop 5.2 and Haxe 3.4.2. I tried to build simple Hello world app in HaxeDevelop. But failed.
Here is the log:
Running process: C:\Program Files (x86)\HaxeDevelop\Tools\fdbuild\fdbuild....
0
votes
1
answer
42
views
How to access Number through separate class?
Hey everyone so this is something that I have always had trouble trying to accomplish or understand. So I have my main Engine class calledescapeEngine where I have a private var nScore I want to be ...
0
votes
0
answers
101
views
Debugging Flash on a webserver in FlashDevelop
I have attempted to set
Project Settings > Output > Test Project > Webserver... to the path of the index.html embedded with my SWF file. Or even Open Document.... It opens a tab but cannot ...
1
vote
1
answer
157
views
is there any way to connect flashdevelop to genymotion or bluestack
I use native overlay to load swf on starling but touch didnt work in emulator i want to connect flashdevelop to genymotion or bluestack. how can I do?
-2
votes
1
answer
145
views
Getting An Image to Move in AS3
I'm using this code to move an image when you press W, A, S, and D.
package
{
import com.adobe.tvsdk.mediacore.CustomRangeType;
import flash.display.Bitmap;
import flash.display....
0
votes
0
answers
2k
views
application.xml: error 102: Invalid namespace http://ns.adobe.com/air/application/23.0
When I package the ipa file use the PackageApp.bat in the FlashDevelop:
C:\Users\Li\Desktop\ViShowMM application.xml: error 102: Invalid namespace http://ns.adobe.com/air/application/23.0
APK ...
2
votes
0
answers
41
views
Preloader not running
Iam trying to run preloader with percentage but it not show the percent in dynamic text please anyone give the solution..
import flash.events.ProgressEvent;
import flash.events.Event;
import flash....
0
votes
0
answers
184
views
FlashDevelop - Cannot Target Flash
I've just recently installed FlashDevelop, OpenFL etc - so this is all really new to me.
Wrote a very basic Haxe / OpenFL program and it works fine when I use HTML5 or Windows as the target platform. ...
0
votes
0
answers
337
views
AS3 touch events lagging and causing unwanted right-click behavior
This may be a long shot, but hopefully someone can help me with this.
I'm running Windows 10 64-bit on a Dell Inspiron laptop with a 10-touch-point touchscreen. I can get touch events to fire but ...
2
votes
1
answer
171
views
How to rearrange code using Regular Expressions in HaxeDevelop / FlashDevelop Find and Replace
I'm trying to turn cast(("Sparkles"), GetBitmapData); to GetBitmapData("Sparkles");
I've got this for my find code:
cast\(\(\"\.*\"\),\ .*\);
but this replace doesn't work:
$2\(\"$1\"\);
What do ...
1
vote
1
answer
478
views
HaxeDevelop with hxml doesn't target the platform
My build.hxml file looks like this:
-main Main
-cp src
-js bin/index.js
I use js.Browser in Main class. When I try to build it with F8, FlashDevelop gives me "You cannot access the js package while ...
1
vote
1
answer
311
views
Adobe flash cs6 Output window closes automatically while executing Filesteam operation in .exe file but it works fine in flash debug mode
I am using adobe flash cs6 for creating a desktop application. In that application iam using flash.filesystem.filestream to save a text file
(I dont want to use FileReference because I don't want show ...
0
votes
0
answers
106
views
AS2 - How to fix the error "Parse Unexpected" from FlashDevelop
I'm trying to compile my classes in ActionScript2 from my project but I can not always get it when I click on the Test Project option it appears this error :
Running C: \ Program Files (x86) \ ...
3
votes
1
answer
170
views
HaxeDevelop : project references missing?
I'm using HaxeDevelop for an OpenFL project, and sometimes the project references are missing:
Any ideas on how I can fix this?
0
votes
1
answer
192
views
as3 - Error: Classes must not be nested
I tried to generate a preloader class linked in the main class in as3 but now my main class keeps getting an error on compile.
I don't know why this is happening because the code was working earlier.
...
1
vote
1
answer
103
views
Haxe OpenFL stablexui project, error Widget class is not registered: meta: include. Why?
I develop flash application using OpenFL + stablexui for Haxe to FlashDevelop. Once I started using the tag <meta: include> in index.xml interface markup file, then immediately began to appear ...