Questions tagged [flash-cs3]

Flash CS3 is the version 3 of Adobe Flash Professional tool, part of Adobe's Creative Suite.

261 questions
1
vote
2 answers

Type not found error for sound

I am a newbie for ActionScript. I would like to add Sound dynamically to my flv. I have this code. I am pretty sure it is working because I found it in Textbook. :(. package{ import flash.display.Sprite; import flash.media.Sound; import…
cynwong
  • 41
  • 1
  • 2
1
vote
2 answers

Serious problem with the speed of full screen textField animation

I can't find any proper way to make a long textField move fluently horizontally across the screen in full screen mode. I tried many ways but it always gets stuck from time to time for a few milliseconds and ruins the whole experience. Please, if…
peerLAN
1
vote
2 answers

How using my MovieClip in other flash projects?

I worked in flash cs3. Have "People.swf"- library MovieClips, they have export for actionscript and first frame. Names classes "Head1"..."Head2" and so on. How i make create object "Head1" in other flash project?
user241423
1
vote
1 answer

Type was not found or was not a compile-time constant

I keep getting the error: "Type was not found or was not a compile-time constant: Team" on my constructor for this class: package ncaa.Data { import ncaa.Data.Team; public class PositionedTeams{ public var Position:int; …
Malfist
  • 31,179
  • 61
  • 182
  • 269
1
vote
2 answers

As3 Movieclip loaded in container reports exaggerated .width value

I am trying to load a swf(as3) into another As3 Swf with the Movieclip loader. After loading however Loader.width/loader.content.width returns an exaggerated value than the actual width of the swf being loaded. Any pointers on where to begin looking…
1
vote
2 answers

Flash Action Script 3 - Moving everything around the player (Platform Game)

I can scroll the ground left and right, but I can't scroll the ground up and down. private function scrollStage():void { if (lastPosX != lastPosX) { canScrollStage = false; } else if (lastPosX ==…
Moynul
  • 635
  • 1
  • 8
  • 30
1
vote
1 answer

Tank with Rotating Turret AS3

I'm making a battleship simulator that controls a battleship with the WASD keys and the turret with the mouse pointer. The turret can move 360 degrees. It rotates as it should; however, whenever the mouse pointer makes the turret reach an angle of…
Mario
  • 15
  • 5
1
vote
1 answer

Adobe Flash ActionScript 2.0 selected text in textbox

How can I tell what text the user highlighted in an Input Text textbox? I would like to mention that selectionBeginIndex and selectionEndIndex will not work and at this point I cannot upgrade the project to AS3.
Weston Goodwin
  • 343
  • 5
  • 17
1
vote
2 answers

Are there any libraries that bring CS4 Actionscript to Flash CS3?

Are there any custom libraries available that allow me to code/publish in CS3 using some of the features of CS4? EDIT: I say "some", because I understand that it is obviously nearly impossible to reimplememnt CS4 in CS3.
Moshe
  • 57,511
  • 78
  • 272
  • 425
1
vote
1 answer

toggle play/pause button

Im new to this flash and I am using as2 for the action script I wanted to know if there are any good tutorials on how to create a toggle button so far this is all I have. on (release) { play (); } on (release) { stop (); } I wanted so that when…
kwek-kwek
  • 1,343
  • 3
  • 19
  • 34
1
vote
1 answer

Need to create a pause/resume toggle button in Flash CS3 AS3

OK, I have seen a lot of questions and answers on how to code pause/resume buttons, but none of them fit my specific need. First let me explain what I have: I have made a tutorial video for my job. It consists of screens shots and sounds. I have a…
cholverson
  • 61
  • 1
  • 7
1
vote
1 answer

Adobe Flash CS3: DataGrid component is broken?

My datagrid component appears to be broken. When I drag one out onto the stage, its just a square. Nothing in it. Just a square... Then, when I tried to programmatically add it to the stage, using an example straight off the docs, it throws some…
Cyclone
  • 17,939
  • 45
  • 124
  • 193
1
vote
3 answers

Problems with dimensions of swf when loaded into fla

I am creating a portfolio website for myself and want to embed a swf that is a simple flash game into my main flash file. My problem is that when I use this code to put the swf into my main flash file it doesn't keep the proper swf dimensions and…
flashey
  • 11
  • 2
1
vote
2 answers

what is the difference between class and Class ? in flash as3

i was just writing some code and wrote : public Class start extends SimpleButton I thought this would be 100% right but it gave errors 1071: Syntax error: expected a definition keyword (such as function) after attribute public, not Class. 1084:…
1
vote
3 answers

Going from Flash 8 to CS3

After many years of using Flash 8, I'm moving to CS3 at work. I know I'll have to learn AS 3.0 so, does anyone have any good references or summaries of the major/most noticeable changes? Also, are there any tips/tricks for the flash environment? …
Everett
  • 1,077
  • 5
  • 23
  • 42