flashdevelop

How does one import symbols from a .fla file to an AIR project in FlashDevelop?

吃可爱长大的小学妹 提交于 2019-12-11 12:17:08
问题 This is my first time working with AIR. In previous AS3 projects in FlashDevelop, I would create a .fla file with Flash Professional in the same directory as my source files and link my main class as the document class. I used Flash to create symbols and export them for actionscript and then wrote the definitions in FlashDevelop. That isn't working with AIR. I have the .fla file in the same directory with all of my source files. FlashDevelop AIR Mobile compiles the project fine, but the

FlashDevelop / Haxe - build halted with errors (haxelib.exe)

谁说我不能喝 提交于 2019-12-11 11:55:01
问题 I'm trying to get started with Haxe but I can't even get past the easiest step, compiling the "new project" template. I'm using FlashDevelop 4, installed Haxe and used the the command haxelib install openfl to install openfl (did the same for NME) though I still get the most basic compiler error: haxelib run openfl build C:\dev\haxeBox\openFlTest\application.xml android -debug [file_contents,C:\Program Files(x86)\Haxe\haxe\lib\openfl//.current] Build halted with errors (haxelib.exe). I've

StageOrientationEvent is not dispatching on DEFAULT orientation (Portrait)

坚强是说给别人听的谎言 提交于 2019-12-11 11:18:30
问题 Intro: I have a AIR Mobile AS3 Project, where I want to receive all Orientation events onChange, but never actually let the device rotate the Screen (I do the necessary altering myself). So I set the autoOrients=true (needed to get any Orientation events) and try to prevent the device rotation by e.preventDefault (now deprecated on iOS). You can download a FlashDeveloper Project with the problem here. Upload it to an Android device and let me know if you get StageOrientationEvents when

AS3 tracking and using coordinates of a rotated object

人走茶凉 提交于 2019-12-11 11:15:59
问题 How does one track and use the coordinates of an object that is rotated on initialization? Let's say I have a sword that is put on the stage in Main init(); and rotated (adjusted) so that it would look ok together with the character perspective. In another class however, I am making the sword rotate some more on a keypress timer event so to create a 'swing' animation. All this is done through flashdevelop. I only used CS6 to create the symbols. And as this 'swing' is happening, I want to add

Flash Player Settings Panel not showing Privacy or Local Storage tabs on Safari for Mac

回眸只為那壹抹淺笑 提交于 2019-12-11 08:29:25
问题 I'm making a small flash application for a website. It works perfectly apart from one small thing, I have implemented a way to bring up the flash settings menu to a user specified tab. This works as expected in all cases apart from in Safari on Mac, the Local Storage and Privacy tabs are missing. This is a bit of a problem as the Privacy tab is the most important one in this system. This only happens when the swf is hosted on a subdomain (for example the swf is hosted on bs5.somewebsite.com

ActionScript: Adding multiple instances of the same swf file to the stage

你离开我真会死。 提交于 2019-12-11 07:44:21
问题 I'm creating a game in ActionScript 3.0 using the FlashPunk game engine and the FlashDevelop SDK. I've created my own MovieClip class that takes a preloaded movie clip file. public function MyMovieClip(file:MovieClip, posX:int, posY:int, frameRate:int) { movieClip = file; movieClip.x = posX; movieClip.y = posY; movieClip.stop(); FP.stage.addChild(movieClip); timer = new Timer((1 / frameRate) * 1000); timer.start(); timer.addEventListener(TimerEvent.TIMER, onTick); } The update for my movie

Adobe flash cs6 Output window closes automatically while executing Filesteam operation in .exe file but it works fine in flash debug mode

不问归期 提交于 2019-12-11 06:37:02
问题 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 the save dialog box ) When I call the new FileStream() in the exported .swf or .exe file, the app stopped running and it closes the window. here is my sample code while executing this line var fileStream : FileStream = new FileStream(); the window closed automatically but this code work fine in

Blurred bitmap/embedded text when scrolling in TextField? (Flash/AS3)

匆匆过客 提交于 2019-12-11 02:15:13
问题 Basically, if I leave the text as-is, I get this: As you can see, there is more text overflowing, so if I hit END on my keyboard, it does what TextField usually does and moves to the end with a little extra gap to show as such. Only, in this case the text is blurred: Why is this happening? Here is the embedded custom font: [Embed(source = "../../../assets/font/FleftexYC_bold.ttf", fontFamily = "FleftexYC", fontStyle = "normal", // normal|italic fontWeight = "bold", // normal|bold unicodeRange

Why is this Haxe try-catch block still crashing, when using Release mode for C++ target

北慕城南 提交于 2019-12-10 18:22:30
问题 I have a HaxeFlixel project, that is working OK in Debug mode for misc targets, including flash, neko and windows. But Targeting Windows in Release mode , I'm having an unexpected crash, and surprisingly it's happening inside a try-catch block. Here's the crashing function: /** * Will safely scan a parent node's children, search for a child by name, and return it's text. * @param parent an Fast object that is parent of the `nodeNamed` node * @param nodeName the node's name or a comma

HaxeDevelop debug does not stop on breakpoint

牧云@^-^@ 提交于 2019-12-10 14:23:21
问题 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 OpenFL and Starling. It had an issue so I tried putting a breakpoint. However, it doesn't stop at the breakpoint. I even put several breakpoints in the main class code and it won't stop. I've even tried making a new project with just a main class and a dummy class and it won't breakpoint on this