Questions tagged [flash-cs6]

Flash CS6 is part of Adobe's Creative Suite released on 7 May 2012.

About Flash:
Flash is a multimedia platform used to add animation, video, and interactivity to web pages. Flash is frequently used for advertisements and games. More recently, it has been positioned as a tool for "Rich Internet Applications" ("RIAs").

861 questions
1
vote
1 answer

I get a "Nan" error on score counter to when player has choose level from menu

I made a score counter and if has player start level 1 and if has win,counter is keep working to next level.( Level = frame ) it's not exist any issue so far. But when player has choice to level from menu and start level 2,counter is not work.Level…
KucuKeko
  • 111
  • 8
1
vote
2 answers

AS3 Bring button to front on mouse over

I'm using this code to animate the buttons on the contact page of a website I'm designing. //Contact Buttons //Email ContactPage.Email.addEventListener(MouseEvent.MOUSE_OVER,bounceEmailover); function bounceEmailover(event:MouseEvent):void { …
1
vote
1 answer

Accessing Variables from separate class

Hey everyone so I am trying to access boolean variables from a separate class called mcPressMachineusing my main class SmashyFoodEngine. What I want to do is when the score is >= 6 then change the boolean values like so in my Main Engine Class Enter…
Nathan
  • 536
  • 4
  • 21
1
vote
2 answers

scrolling text field help as3

Currently got text off stage that I would like to come onto the stage and stop at a certain position (97, 233.10) on my stage. I'm a little confused on where to stop it and what code to use? addEventListener(Event.ENTER_FRAME, mcInfo); function…
1
vote
0 answers

Adobe Scout Event "enterframe"

Hey everyone quick question here. So when profiling my games performance in adobe scout I can see why my game is being really slow and frame rate drops from 30fps to 8fps. But I don't understand what this means exactly when I check what is causing…
Nathan
  • 536
  • 4
  • 21
1
vote
2 answers

How to stop the song from playing in Action Script 3

I am trying to stop the song from playing when user clicks on a button, this is my code : var mySound:MainSound = new MainSound(); var cmyChannel :SoundChannel; animation_play.addEventListener(MouseEvent.CLICK, playSound); function…
dark_illusion_909099
  • 1,067
  • 2
  • 21
  • 41
1
vote
1 answer

Adding pointer on rollover in Adobe Animate CC

I am starting to use Adobe Animate CC to make a 300x250 banner. I added this code from the code snippet section to my movieclip EDIT using HTML5 Canvas option. this.bg_clickTag.addEventListener("click", fl_ClickToGoToWebPage); function…
Gonzo_e
  • 11
  • 1
  • 4
1
vote
1 answer

How to check if Objects in Array are Colliding with each other?

Hi everyone I hope I asked the correct question. So Basically I have a Movie Clip named mcLiquidWastethat I add to the stage. There are 3 different positions on the stage that they come out of. In my main engine class I have a for loop set up that…
Nathan
  • 536
  • 4
  • 21
1
vote
2 answers

How to make enemies face player

My game is a simple 2D top down design style. I already have the enemies following the player but i don't know how to make the enemies face him. I don't even know where to begin. Here's my code to make the enemies follow the player: if ( enemy.x >…
rtpenick
  • 125
  • 7
1
vote
0 answers

Using KeyboardEvent to navigate through scenes in Flash AS 3.0 without inherited script

I am making a simple animation made up of 5 looping scenes. I want to use certain keyboardEvents to procede to the next scene. So far I have put the following code in Scene 2; stage.addEventListener(KeyboardEvent.KEY_DOWN,…
mrGabes
  • 11
  • 1
1
vote
1 answer

How to shoot on angles with rotating Movie Clip?

Hey everyone so I am having some trouble with this. So I have an Array of Barrel Movie clips that are added to the stage and a movie clip called Circle that when comes in contact with any of the barrels in the array the barrel that it is currently…
Nathan
  • 536
  • 4
  • 21
1
vote
1 answer

AS3: How to control which MovieClip is displayed over which

I'm making a game, in which some enemies are spawned in the right side of the screen, and then moving towards the left side of the screen. To get a little variation, the enemies are randomly spawned a little bit differently on the y-axis. the…
Jens
  • 47
  • 6
1
vote
1 answer

AS3 AIR for iOS get available storage space

Am developing an iOS app with adobe air and flash Actionscript3. I need to know the available storage space in the iOS device programatically. I googled a lot, but to no help :(
Shahbaz Pothiawala
  • 1,175
  • 5
  • 20
  • 38
1
vote
0 answers

height and widths are interchanged but app displayed in landscape mode

My mobile game android app should be in landscape mode, when I maximize after minimize the app it will display in landscape mode and screen not rotated, but the problem is height and width are interchanged. So it was displayed half of the screen…
sivabalaji
  • 43
  • 1
  • 8
1
vote
1 answer

Bitmapdata/bytearray to video file

I just started working with Adobe Flash CS6, and have been trying to find a way to make a game that can record parts of itself. So far I have been able to capture the desired areas of the screen as bitmapData and encode that as PNG and JPEG to byte…