flashdevelop

Coordinates don't change dragging scaled fxg graphics

非 Y 不嫁゛ 提交于 2019-12-10 12:23:51
问题 I'm using FlashDevelop, actionscript 3 and fxg graphics build with Illustrator (exported as fxg 2.0). I import a fxg rectangle build with Illustrator, then I set it draggable when you clik on it, so its coordinates change. This works if the rectangle scale is 1 (this means: no scale). But, if I change its scale (ex. fxgRect.scaleX = fxgRect.scaleY = 0.5; ) you can drag it but its coordinates doesn't change!! And this make me crazy because the sprite changes position but if you ask its

Security Sandbox in AS3

狂风中的少年 提交于 2019-12-09 00:50:28
问题 What is a security sandbox violation, and how do I override it? I'm making a project in FlashDevelop, and today, it will not load external files, even though it had been previously. It gives the following output: ************* Security Sandbox Violation ********* Connection to file:///C|/Documents%20and%20Settings/Kevin.PC885314341208/Desktop/Import%20.txt/StockData/1.txt halted - not permitted from file:///C|/Documents%20and%20Settings/Kevin.PC885314341208/Desktop/Import%20.txt/import.swf I

ActionScript 3 KeyboardEvent not firing

这一生的挚爱 提交于 2019-12-08 23:11:34
I'm new to ActionScript development and am using the FlashDevelop IDE. I've been playing around with some really simplistic things and have come across a problem I can't seem to solve. My application compiles and runs, and a function that watches click events fires perfectly and I can see the event in the console when I pass it to trace(), yet the same code watching for KeyboardEvent fails to fire at all. Here's my code: package GameTesting { import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.Sprite; import flash.events.Event; import flash.events.MouseEvent;

CreateJS + Haxe -> Uncaught ReferenceError: createjs is not defined

三世轮回 提交于 2019-12-08 12:03:46
问题 After a successfull compile of: http://nickalie.com/posts/67 , when I try to see it in the browser, I get a Uncaught ReferenceError: createjs is not defined right here (on the resulting compiled create.js file): var Main = $hxClasses["Main"] = function() { } Main.__name__ = ["Main"]; Main._shape = null; Main._stage = null; Main.main = function() { createjs.Ticker.useRAF = true; Uncaught ReferenceError: createjs is not defined createjs.Ticker.setFPS(60); haxe.Log.trace("hallo~!",{ fileName :

How to create multiple colors when expanding circle shape AS3?

元气小坏坏 提交于 2019-12-08 10:17:34
问题 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 triggered have the circle keep expanding but with a new color. So on and so on adding new colors every time. I have the code setup to where it expands on mouse_DOWN and it changes color but it changes the whole circle color which is not what I want. Here is the code I have: //Create circle //MC's

ActionScript 3 KeyboardEvent not firing

家住魔仙堡 提交于 2019-12-08 07:08:49
问题 I'm new to ActionScript development and am using the FlashDevelop IDE. I've been playing around with some really simplistic things and have come across a problem I can't seem to solve. My application compiles and runs, and a function that watches click events fires perfectly and I can see the event in the console when I pass it to trace(), yet the same code watching for KeyboardEvent fails to fire at all. Here's my code: package GameTesting { import flash.display.Bitmap; import flash.display

How to make FlashDevelop use 32-bit JRE?

隐身守侯 提交于 2019-12-07 23:22:34
问题 I need to have 64-bit JDK installed for Android Studio (this also means having JAVA_HOME set to 64-bit JDK). I also have installed 32-bit JRE and in Flex SDK jvm.config file I specified path to it (I know Flex SDK uses it because I got Windows firewall warning about 32-bit java.exe starting up when I compiled my project). But still in FlashDevelop I get Error details: System.BadImageFormatException: Próbowano załadować program w niepoprawnym formacie. (Wyjątek od HRESULT: 0x8007000B) . How

Can FlashDevelop deploy to iOS?

房东的猫 提交于 2019-12-07 05:45:22
问题 I have searched the internet looking for a definitive answer to the question of can FlashDevelop deploy to iOS. All the thing's I have read are not very clear and not very certain. I don't have enough money to afford Adobe Flash or Flash Builder so provided I have a Mac is FlashDevelop a suitable replacement that I can make flash games for iOS? thanks, David 回答1: Good tutorials Here are some detailed tutorial here to publish to iOS from FlashDevelop - this kind of template will be integrated

Flashdevelop - Disable autocomplete for txt files

回眸只為那壹抹淺笑 提交于 2019-12-06 14:03:33
I would like to turn off autocompletion for editing txt files (the syntax setting Text ) in FlashDevelop 4.2.2 - how do I achieve this? In Settings > BasicCompletion > Disable Auto Completion , set the value to True . 来源: https://stackoverflow.com/questions/14124172/flashdevelop-disable-autocomplete-for-txt-files

Definition fl.controls:Label could not be found

本秂侑毒 提交于 2019-12-06 09:47:48
问题 I'm using ActionScript 3. Developing in FlashDevelop. I get the following error when I try to do import fl.controls.Label; Definition fl.controls:Label could not be found. I'm pretty new to Flash. I had this project working without a glitch. I must have changed something for it to stop recognizing the import. Even Intellisense gives me an option to add fl.controls.Label 回答1: Controls in the fl.controls namespace are native to Flash Professional. Although I don't use Flash Develop, this is