flash-cs5

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

匆匆过客 提交于 2020-01-01 19:31:10
问题 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

How to make a scrollable UI In Touch Flash CS5 for Mobile Devices (Primarily iOS)

橙三吉。 提交于 2020-01-01 15:07:16
问题 I wanted to know how I would make a whole symbol (an image) scrollable? I have found out how to do the multi-touch pinch to zoom but I can't find any code samples that will let me make the image scroll vertically only with one finger. So all I want to do is make an image scroll up and down with a single finger input. Are there any simple methods or sample code anyone could give me? 回答1: There are two ways to make an image scrollable in an AS3 mobile project: using the Pan gesture (two fingers

Flash CS5 reference a display object in the constructor of a non-document class

纵然是瞬间 提交于 2019-12-31 04:29:04
问题 After learning of this excellent method of accessing an object placed on the stage in Flash CS5 in a class other than the document class (found in this thread), I have run into a stumbling point. I am using this.stage.getChildAt(0).greenLight1.visible=false; to turn a symbol with the instance name greenLight1 invisible when accessing greenLight1 (the instance name specified in my .fla for the bitmap). This works perfectly where I was using it which is in a sub function of a few different

Accessing child/nested movie clips with JSFL AS3 CS5.5

元气小坏坏 提交于 2019-12-31 01:02:51
问题 How can I access a movie clip's children (specifically child movie clips) in jsfl? I am already at the instance level from flash.documents[0].timelines[0].layers[0].frames[0].elements[0].instance I've found this documentation but not much else. Thanks in advance. 回答1: The thing to remember in JSFL is that elements on stage are also items in the library, so it doesn't matter how many times you have something nested, it's still a clip in the library, and often that's the thing you want to work

AS3 Setting width and height of a Sprite Container

老子叫甜甜 提交于 2019-12-30 17:26:27
问题 Ok, my mind is boggling over this issue im having. I know this might seem like such an easy issue and I can't understand why I cant figure it out but none the less I can't and I've just about given up. Here's the issue: I have a sprite container which is supposed to hold a bunch of thumbnails to videos. I am able to populate the container with all the videos and the whole works but obviously if I add a bunch of videos its going to exceed the size of the flash document so I need to add a

iOS and Android development on Windows

僤鯓⒐⒋嵵緔 提交于 2019-12-30 04:55:05
问题 I'm facing a dilemma: I have a solid ASP.NET development experience in C# and looking to start mobile development. I have done research and know that there are some hacks for getting a development environment for iOS on windows, and recently after Apple lifted ban on 3rd party dev apps, Adobe Flash CS5 can be used to package iOS apps. I do have some prior experience with Flash and AS2. So my question is: should i use Flash CS5 for iOS and MonoDroid for Android or should i just get Mac and

flash as3 Fadein fadeout xml slideshow

 ̄綄美尐妖づ 提交于 2019-12-25 19:06:35
问题 I am new to as3.0 and want to complete my project. I am using the below code for my xml slideshow but I want the pictures to fade into each other it should never fade to complete white. Hope any expert can help me. import gs.*; import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; import fl.transitions.easing.*; stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; //hides the description box until

flvplayback component doesn't stop playing upon exitframe

时光总嘲笑我的痴心妄想 提交于 2019-12-25 06:13:38
问题 I have an instance of an flvplayback component on a frame (not the first frame) on a timeline in a flash AS3 flash app file. I would like to stop the movie when i exit that frame, either via gotoAndStop() or whatever else. Is there a listener for this? Or any solution that people know of? Thanks, jml 回答1: You could always add an ENTER_FRAME listener to the parent MovieClip, check if currentFrame yields the correct frame number, and stop the FLV if it doesn't. But if I understand correctly,

flvplayback component doesn't stop playing upon exitframe

半腔热情 提交于 2019-12-25 06:12:22
问题 I have an instance of an flvplayback component on a frame (not the first frame) on a timeline in a flash AS3 flash app file. I would like to stop the movie when i exit that frame, either via gotoAndStop() or whatever else. Is there a listener for this? Or any solution that people know of? Thanks, jml 回答1: You could always add an ENTER_FRAME listener to the parent MovieClip, check if currentFrame yields the correct frame number, and stop the FLV if it doesn't. But if I understand correctly,

AS3 quiz and answers

别等时光非礼了梦想. 提交于 2019-12-25 04:56:22
问题 Here's my problem; I want to make a quiz that at the end shows a person the qualities he/she has for chosing a specific college course. The quiz will ask 10 questions which each have 2 answers, upon clicking an answer, points will be earned for a specific course. For example the question could be 'Do you want to work with computers, or with people?' Upon answering Computers points will be gained at the courses Informatica, Designing and Editing Upon answering People points will be gained at