flash-cs5

Change the position of the registration point in Flash CS5

耗尽温柔 提交于 2020-01-12 09:16:26
问题 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. 回答1: 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 回答2: In

Change the position of the registration point in Flash CS5

喜欢而已 提交于 2020-01-12 09:16:10
问题 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. 回答1: 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 回答2: In

Class property looses scope AND can't be set after setTimeout

爷,独闯天下 提交于 2020-01-07 06:57:13
问题 Here's a very simplified version of my project. I have a class file: class MyClass{ public var myNumberStoredInClass:Number; // constructor function MyClass(myNumber:Number){ this.myNumberStoredInClass = myNumber; }; // some method function DoStuffMethod(){ trace(this.myNumberStoredInClass); }; }; // end class I have a normal .as file from which I can access this.myNumberStoredInClass with no problems with MyClass.myNumberStoredInClass until I call setTimeout for a method in the class:

Image load with site load

瘦欲@ 提交于 2020-01-07 02:19:09
问题 Hello I make simple site but I have a little trouble with loading images. As you can see with new category there is new image. There is a problem, beacause only then img is loading, and I want to load all images when my site is loading. sample code how I operate with those img. imgUrls.push("img/01.jpg"); imgUrls.push("img/02.jpg"); var k3:Boolean=false; btn1.addEventListener(MouseEvet.CLICK, clickFunc); function clickFunc(e:MouseEvent):void if (k3==false) { img1.myUILoader.source = imgUrls[0

How to set objects on a androidH runner game

安稳与你 提交于 2020-01-06 19:29:56
问题 I am trying to develop a android runner game for school purpose.. I am still new to this and please I need your assistance.. You guys can view my CS5flash file at >>> http://www.filedropper.com/test_37 The obstacles and coins are on random. But the obstacles and coins are overlapping each other.. Which is very bad for a runner game because it looks very bad and the gameplay gets very very complicated. How can i fix it??. Is there any way to fix it?. And i am also thinking if I can set the

Trigger event from child to parent in AS3

梦想的初衷 提交于 2020-01-06 08:32:29
问题 I have a MovieClip with a MouseEvent function associated to CLICK event. Inside of this MovieClip I have a TextField. So, when I click on my MovieClip, the handler works fine. Now I need the same behaviour when I click on this TextField, but without change my handler function. I mean, I don't want to change e.target to e.target.parent if user clicked on TextField instead of MovieClip. How can I do this? Some of my source code: public function Main(){ var m = new menu(); menuMng.addChild(m); m

Trigger event from child to parent in AS3

寵の児 提交于 2020-01-06 08:31:27
问题 I have a MovieClip with a MouseEvent function associated to CLICK event. Inside of this MovieClip I have a TextField. So, when I click on my MovieClip, the handler works fine. Now I need the same behaviour when I click on this TextField, but without change my handler function. I mean, I don't want to change e.target to e.target.parent if user clicked on TextField instead of MovieClip. How can I do this? Some of my source code: public function Main(){ var m = new menu(); menuMng.addChild(m); m

Flash CS5 Displaying Different “screens” on the stage as movieclips

北城以北 提交于 2020-01-05 12:14:31
问题 Taking this thread to the next level and now making a Main.as class to display different "screens" of my game. For right now I only have 1 screen called ControlPanel, but this will eventually have multiple levels (each level will be a separate screen) and a level selection screen, etc. added. So at this point I'm losing control over how to give things access to the stage (in other words... it's getting really thick with multiple levels and this noob's brain is being overloaded lol). To start

Flash CS5 Displaying Different “screens” on the stage as movieclips

℡╲_俬逩灬. 提交于 2020-01-05 12:14:19
问题 Taking this thread to the next level and now making a Main.as class to display different "screens" of my game. For right now I only have 1 screen called ControlPanel, but this will eventually have multiple levels (each level will be a separate screen) and a level selection screen, etc. added. So at this point I'm losing control over how to give things access to the stage (in other words... it's getting really thick with multiple levels and this noob's brain is being overloaded lol). To start

Targeting Flash Player 10.3 in Adobe Flash CS5

柔情痞子 提交于 2020-01-03 06:06:54
问题 Has anyone successfully tried using Microphone.getEnhancedMicrophone() method in Adobe Flash CS5? I tried all these steps; Step 1: Go to the locaiton C:\Program Files\Adobe\Adobe Flash CS5\Common\Configuration\ActionScript 3.0 Step 2: Create a new folder with the name "FP10.3" Step 3: Copy the file and paste it in the following location: C:\Program Files\Adobe\Adobe Flash CS5\Common\Configuration\ActionScript 3.0\FP10.3 Step4: Rename the swc name to "playerglobal.swc" Step 5: Goto the