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
votes
1 answer

when i run my program and click button_1 error #1009 showed

function f2l_ClickToGoToScene(event:MouseEvent):void { MovieClip(this.root).gotoAndPlay(5, "Scene2"); } button_2.addEventListener(MouseEvent.CLICK, f2l_ClickToGoToScene_2); function…
-1
votes
2 answers

Line 108 1136: Incorrect number of arguments. Expected 1

I cant fix this error and when I do it causes another one. I want to be able to hit key "71" and have a new instance of the movieclip added to the stage. any suggestions? Im a novice so probably alot of mistakes... package { import…
-1
votes
1 answer

Actionscript - Make movieclip move towards another movieclip

Hi guys I'm trying to make a FPS game, I'd like some help to get a 'baddie' movieclip to randomly spawn off stage and move towards the 'Player' movieclip, I'd also like it to allow several instances of that movieclip to be on the stage at the same…
cm125192
  • 5
  • 1
  • 1
  • 6
-1
votes
1 answer

TypeError #1009 in AS3

May I know what kind of errors are this? And what are they telling me? How should I fix these errors? TypeError: Error #1009: Cannot access a property or method of a null object reference. at Options() TypeError: Error #1009: Cannot access a…
Apple.
  • 117
  • 2
  • 4
  • 12
-1
votes
1 answer

TypeError: Error #1009 in AS3 flash cs6

I have got this error while working on my flash: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Options() This is my Options class: package { import flash.display.MovieClip; import…
Apple.
  • 117
  • 2
  • 4
  • 12
-1
votes
2 answers

as3 get URL on click

In as3 on click I have 2 buttons A and B, in a MovieClip when user click on button movie is playing , now I want when if user click on button A movie should play and when it reach the frame number 59 run getURL(abcd.html) and if user click button B…
Vipul
  • 414
  • 3
  • 14
-1
votes
3 answers

getting error TypeError: Error #1009: Cannot access a property or method of a null object reference

I'm trying to call a function on two buttons nav1or2.navi1.navBtn1.addEventListener(MouseEvent.CLICK, goSmall); nav4.navi4.navBtn4.addEventListener(MouseEvent.CLICK, goSmall); function goSmall(event:MouseEvent):void { gotoAndPlay(41); } the…
Vipul
  • 414
  • 3
  • 14
-1
votes
1 answer

Error #1009 with AS3

I'm a rather new to programming with AS3 and started with the rather old MJW AvoiderGame tutorial. Since this tutorial is a bit old, I have got a lot of errors while trying to learn AS3. Now I got an error that I cant figure out. TypeError: Error…
-1
votes
2 answers

Writing an 'if' statement in ActionScript

Is there a way of writing an if statement that involves the following? if (MovieClip1 reaches last frame) { addChild(MovieClip2) removeChild(MovieClip1) } Basically, all I want to happen is when my MovieClip finishes, it will change to…
-1
votes
2 answers

updater function with air framework

this is for flash CS6 AS3 AIR Seriously I've been searching for 3 days straight found these among…
DennisBo
  • 48
  • 7
-1
votes
1 answer

How to compare input text with xml

I have an search_btn, search_txt (input text), type_txt (dynamic text) and a xml file like this:
-1
votes
1 answer

Parsing XML data in AS3 by attribute

I am building an application which allows the user to add ingredients in their fridge to a list and then search for all of the potential recipes based on the ingredients they've listed. I am using XML data which is set out in a fairly simple schema…
adaam
  • 3,700
  • 7
  • 27
  • 51
-1
votes
1 answer

Movie Clips inside of buttons

I am using AS 3.0 and I have a button (mcbtn1) with a movie clip inside that has a animation when you hover over plays the animation and stops and then another button that I want to go to scene 2 function gotoCenter(event:MouseEvent):void…
-1
votes
1 answer

TypeError: Error #1009: Cannot access a property or method of a null object reference. at naj_fla::MainTimeline/runMan()

I know that many people have asked the same question, but i tried everything to solve it and i don't know what else to do. I understand that this error appears when an objects is being called while that objects is not available in the timeline…
-1
votes
2 answers

got Error #1009 in flash as3

i'm new in flash and as3 programming, and this is my first project. i found error on my project like this TypeError: Error #1009: Cannot access a property or method of a null object reference. at src.char::Enemy/Remove() at…