flash-cs5

Package SWF into an EXE or APP

拈花ヽ惹草 提交于 2019-12-03 20:21:51
问题 I am trying to adjust my Flash development workflow so that I am using Flash Builder for all of my coding and multiple FLA files for the user interfaces. I will be creating an ActionScript project in Flash Builder and then having each FLA export a SWC into a resources folder. It is important that I retain the ability to export PC and Mac -- EXE and app, respectively -- projector files. Is there a way of doing this with the Flash compiler or any 3rd party tools? I know that mProjector and

What's the meaning of the non numerical values in the XFL's edge definition?

北城以北 提交于 2019-12-03 19:07:26
问题 XFL is the new uncompressed ADOBE FLASH (CS5) source file, it consists from XML definitions, most of them are clear but unfortunately, the important one are strange. Looking to various existing sources, I can see shape's EDGE definitions like: <Edge strokeStyle="1" edges="!0 0S4|180 0"/> <Edge strokeStyle="1" edges="!2720 2720S6|0 2720!0 2720|0 0!0 0/2720 2720"/> <Edge fillStyle1="1" edges="!3532 1539.5S2[#BD9.4D #577.3C 2952.5 1756.5!2952.5 1756.5[#AF6.DA #4C6.1D 3584 1119!3584 1119|3532

Change the position of the registration point in Flash CS5

梦想的初衷 提交于 2019-12-03 16:21:38
Is there a way to change the position of the registration point inside a Movie Clip using Flash5 ? I've found stuff online for older Flash versions but not CS5. I wasn't aware of that. As far as I know, all you need to do is: edit the MovieClip(Dobule-click) move the contents of the MovieClip relative to the crosshair on stage If you want to match the transform point with the registration point: Go one level up Use the Transform Tool(Q) Double-click Transform Tool's circle. HTH Stan In free transform mode, just move the hollow circle wherever you want and that will set the new registration

From SWF to AIR to iOS application

大憨熊 提交于 2019-12-03 03:18:00
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 on mobile devices? Jason Sturges This question was just answered here , but to recap any Flash content

Merge two sound files into a new file

血红的双手。 提交于 2019-12-02 19:41:23
问题 How can merge two sounds and save as a new file?. One sound is a loaded mp3 file and the other from the microphone. Then I need to upload this sound into a server. Is this possible? 回答1: This all can be done, but if you looking simple example with few methods to call, I'm afraid it's not so easy. You can extract bytes from sound with Sound.extract(). This data is sound amplitude in 16-bit numbers, right and left channel interleaved. Use ByteArray.readShort() to get them. Microphone data can

how do I make non-document-class classes 'aware' of stage components in Flash AS3?

青春壹個敷衍的年華 提交于 2019-12-02 17:33:25
问题 I am working on a text adventure game which will have at least a few components (a text area for narrative and text input for user input) on the stage at all times. Therefore, I have created those components statically through Flash's WYSIWYG design environment. I gave them instance names "myTA" and "myTI" respectively. I was able to get my main class (the document class for the stage) to interact with them (dynamically adding text one character at a time like a typewriter at runtime), but

How to return a variable from Public function

跟風遠走 提交于 2019-12-02 16:38:01
问题 I'm trying to get away from using code on the main timeline but I'm struggling to understand how .as files and .fla files interact. For example, I'm trying to figure out how to pass a variable from the main timeline, to a public function, do some stuff to that variable and pass it back to the main timeline. I have an input text box on the frame and a simple button with a listener. I want to be able to input 00000 00 into the text box, and have 0.00 returned. Below is my code: import flash

How to implement Undo and Redo feature in as3

余生颓废 提交于 2019-12-02 08:19:27
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 advance. Take a look at the command pattern . It's well suited to undo/redo type problems. If you only

Merge two sound files into a new file

﹥>﹥吖頭↗ 提交于 2019-12-02 07:55:31
How can merge two sounds and save as a new file?. One sound is a loaded mp3 file and the other from the microphone. Then I need to upload this sound into a server. Is this possible? This all can be done, but if you looking simple example with few methods to call, I'm afraid it's not so easy. You can extract bytes from sound with Sound.extract() . This data is sound amplitude in 16-bit numbers, right and left channel interleaved. Use ByteArray.readShort() to get them. Microphone data can be captured with SampleDataEvent.SAMPLE_DATA, see example here . To mix them with song, just add sound

Public Function Allegedly Doesn't Exist?

独自空忆成欢 提交于 2019-12-02 07:24:56
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:String, val:*):void { I call both the same way. In the document class "base": package { import flash