flash-cs5

How to create exit button in Flash application

℡╲_俬逩灬. 提交于 2019-12-07 05:49:27
问题 I'm creating a Flash Application that will be exported in exe format and it's not going to run in browser. I want to add an exit button inside stage but I don't know how to do that with ActionScript 3. I remember that it was possible with fscommand in ActionScript 2 but it's not working in AS3. I've searched everywhere but everyone is trying to close a popup or tab or window all in browser environment not a Flash app. 回答1: Why would use a .exe format when you can now export as3 application as

Include MX library to Flash CS5 project

牧云@^-^@ 提交于 2019-12-06 14:32:40
I need to use some classes belong to mx library, but when I try to import it Flash throws me an error that it can't find this library. How can I import it to my project? I'm using Adobe Flash Professional CS5. You may try downloading the Flex SDK , get mx.swc from Flex\frameworks\lib and add it to your library path (ActionScript Settings > Library Path) in Flash CS5. 来源: https://stackoverflow.com/questions/7913822/include-mx-library-to-flash-cs5-project

How do I detect collision detection in flash AS3?

淺唱寂寞╮ 提交于 2019-12-06 03:49:52
I wanted to create a maze in flash AS3, with the user guiding the character. I tried using this (below) but this will require me to make all the maze walls individual and setting collision detection to each one. Is there an easier way of accomplishing the same thing? monkey.addEventListener( Event.ENTER_FRAME, handleCollision) function handleCollision( e:Event ):void { if(monkey.hitTestObject(wall)) { trace("HIT"); } else { trace("MISS"); } } You can use the Collision Detection Kit : https://code.google.com/p/collisiondetectionkit/ prototypical One way you could do this, is to use hitTestPoint

Changing dyanmic text field in MovieClip added to stage by AS3 is not working?

不打扰是莪最后的温柔 提交于 2019-12-05 12:49:40
When I change the text value of a dynamic text field, the text field is just going blank, not showing the new value. I have a MovieClip titled "game_board" that is added to the stage dyanmically by AS3. (stage is blank to begin with.) I have another MovieClip titled "stage_2" that is added as a child to "game_board" dynamically by AS3. "stage_2" contains a prebuilt board with different dynamic text fields on it. They all have instance names. For example "text_1". The original value of this.game_board.stage_2.text_1.text is 0. When I do this: this.game_board.stage_2.text_1.text = "test"; trace

How to create exit button in Flash application

喜你入骨 提交于 2019-12-05 09:38:46
I'm creating a Flash Application that will be exported in exe format and it's not going to run in browser. I want to add an exit button inside stage but I don't know how to do that with ActionScript 3. I remember that it was possible with fscommand in ActionScript 2 but it's not working in AS3. I've searched everywhere but everyone is trying to close a popup or tab or window all in browser environment not a Flash app. Why would use a .exe format when you can now export as3 application as AIR? BUT If you still want the exe, I think that this will work import flash.system.fscommand; //Then you

Augmented Reality on Mobile phones

南笙酒味 提交于 2019-12-05 04:17:53
I am interested in implementing an Augmented Reality application for mobile phones using Adobe Flash Platform. Can you please let me know if any sources is available for me to find out how to start? I'm not sure what software I need to use to implement AR but as I can understand I need: ARToolKit Marker Generator to create the marker matching with the 3D image, then FLARToolKit to analyze the image from the marker and Papervision3D to create an object that shares that same space with the marker. Can you please let me know if what I wrote is correct and advise me how to start the implementation

Getting started with stage3d in Flash CS5, and which framework to choose?

為{幸葍}努か 提交于 2019-12-04 20:32:51
I have been off the stage 3d bandwagon and flash programming altogether this year, but I want to catch up on things and I need some tips. Here's what I know: FP11 features the low level GPU stage3d API, codenamed Molehill. There are a few frameworks out there which help you access all the stage3d features more easily. (I know of Flare3D and Alternativa3D). Which framework is best to start out with? (not just out of the mentioned 2) The rather few tutorials from Flare3D and Alternativa3D say that you require the Flex SKD / Flash Builder, but I have to use Flash CS5. -Can I? This brings me to my

From SWF to AIR to iOS application

无人久伴 提交于 2019-12-04 09:34:57
问题 I have existing Flash application, which compiles to SWF and runs on web. I'm looking at converting that application to work on mobile devices such as iPhone/iPad. I see that there is now a way to publish Adobe Air applications on mobile devices. My thought is why not convert SWF to AIR application and then use that AIR application to publish on mobile devices. Does it make sense? Is this even possible or doable? What are people doing to convert their existing Flash SWF applications to work

How to implement Undo and Redo feature in as3

隐身守侯 提交于 2019-12-04 06:24:36
问题 I am going to create an application in that i have to implement an Undo and Redo feature. In the application there will be multiple objects located on stage and user can customize the position of the objects. But when user clicks on Undo the object go back to their default position and after clicking on redo object will move on the new position. So my question is how can i apply these feature in my application? Is there any library or any third party classes? Can some one help me? Thanks in

Public Function Allegedly Doesn't Exist?

雨燕双飞 提交于 2019-12-04 05:16:24
问题 Okay, I am at the end of my rope. I have a Flash Professional CS5.5, Adobe AIR, Actionscript 3 project. So far, I've never had this problem before... I have a custom class called Prefs, that I wrote myself. This class has a number of functions. The ones I wrote a couple weeks ago, I can call in my code with no problem. But the ones in the SAME CLASS that I wrote today are throwing an error. This one works: public function UserFetch(ID:String):* { This one doesn't: public function Set(setting