flashdevelop

AS3 using PrintJob to print a MovieClip

你离开我真会死。 提交于 2019-12-30 02:33:04
问题 I am currently trying to create a function which will allow me to pass in a MovieClip and print it. Here is the simplified version of the function: function printMovieClip(clip:MovieClip) { var printJob:PrintJob = new PrintJob(); var numPages:int = 0; var printY:int = 0; var printHeight:Number; if ( printJob.start() ) { /* Resize movie clip to fit within page width */ if (clip.width > printJob.pageWidth) { clip.width = printJob.pageWidth; clip.scaleY = clip.scaleX; } numPages = Math.ceil(clip

AS3 debugger stops responding while trying to load image into sprite using Loader

六眼飞鱼酱① 提交于 2019-12-25 17:27:16
问题 I'm trying to create a simple Menu in AS3. There is a sprite called startButton , which when pressed will call the function startGame , and that's it! But, not so easy. I'm using flashdevelop IDE so I'm trying to call a loader to get a .png image file for the spite startButton . But, it doesn't work. There are no error messages, the debugger just does not respond. Any help? Here is the code for both files Main code: package { //Other Files import Menu; import flash.display.Bitmap; import

AS3 Air 3.3 app on Android always crashes after 4 seconds

自作多情 提交于 2019-12-25 05:14:33
问题 I'm testing on an HTC Sensation, running android 4.0.3. I'm publishing using FlashDevelop 4.0.3 and using the Air Mobile AS3 App template. All the application does is display a Rectangle using: this.graphics.beginFill(0x00FF00); this.graphics.drawRect(0, 0, 100, 100); Just so I can see that its actually publishing something. The app runs correctly if I publish to the desktop, however when I switch to publishing it to the phone, the problem I'm facing is that the application publishes and runs

{FlashDevelop} Building iOS with AIR and FlashDevelop

你离开我真会死。 提交于 2019-12-24 15:14:10
问题 I'm having trouble using the following tutorial and flashdevelop template to build a flash project for iOS. http://www.codeandvisual.com/2011/exporting-for-iphone-using-air-27-and-flashdevelop-part-four-creating-an-air-certificate-and-compiling-to-ipa/ Whenever I compile my project (using FlashDevelop 3.3.4) I get an error from adl.exe saying "Error loading initial content". Using the iOS applicationpackager.bat, I get an error saying: application.xml: error 305: Intial window content SWF

Adobe Flash and Python

。_饼干妹妹 提交于 2019-12-23 22:17:44
问题 Is it possible to use CPython to develop Adobe Flash based applications? 回答1: You can try ming, a library for generating Macromedia Flash files (.swf). It's written in C but it has wrappers that allow it to be used in C++, PHP, Python, Ruby, and Perl. 回答2: take a look at Flex PyPy: http://code.google.com/p/flex-pypy/ 回答3: I guess it would be possible to compile the python interpreter to flash bytecode using this http://labs.adobe.com/downloads/alchemy.html and then use it to run python

Any pointers to good AS3 code snippets/samples?

回眸只為那壹抹淺笑 提交于 2019-12-23 17:26:31
问题 I am newbie in AS3 and learning day by day. I am looking for good AS3 code snippets/samples/small projects which I can use for learning purpose and for reference (with no dependency on Flash IDE because I use Flex SDK and Flash Develop). Also, I am specifically looking for tutorials/articles about Audio/Video streaming, creating own audio/video player, playing audio/video files and working with other media (such as images) and creating special effects. If there's any good websites(other than

Flashdevelop - Disable autocomplete for txt files

最后都变了- 提交于 2019-12-22 16:58:14
问题 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? 回答1: In Settings > BasicCompletion > Disable Auto Completion , set the value to True . 来源: https://stackoverflow.com/questions/14124172/flashdevelop-disable-autocomplete-for-txt-files

Flashdevelop - Disable autocomplete for txt files

两盒软妹~` 提交于 2019-12-22 16:58:13
问题 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? 回答1: In Settings > BasicCompletion > Disable Auto Completion , set the value to True . 来源: https://stackoverflow.com/questions/14124172/flashdevelop-disable-autocomplete-for-txt-files

FlashDevelop — Specify an HXML file?

最后都变了- 提交于 2019-12-22 09:15:12
问题 [a continuation of this question] In order to embed resources in a SWF file, I have to add lines to my HXML file. However, since I'm using FlashDevelop, I don't know where to find that. Where should I put stuff I would ordinarily specify in my HXML? 回答1: There's more detailed help about the projects settings you need in the Haxe wiki. You can use a custom .hxml file to build your project in FlashDevelop. Go to Project -> Properties... . Choose Custom Build as compilation target. Go to the

FlashDevelop - training materials, tutorials, books (Flex/Flash development without FlexBuilder) [closed]

给你一囗甜甜゛ 提交于 2019-12-21 21:49:43
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I want to start Flash/Flex/ActionScript development and got lost with the technologies, documentation and tools available. Searches pointed me to Adobe FlexBuilder and Adobe Flash (Designer, CS3, CS4). Then, I found FlashDevelop, learned that Flex SDK and compilers are free. Also, you can make a complete Flash