Archived Months
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
January 2008


all groups > flash actionscript > october 2007 > threads for thursday october 11

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Cant assign Action to Movieclip
Posted by fathersmash at 10/11/2007 10:29:49 PM
why can't I assign actions to a movieclip or button in CS3 as I could in MX or Flash 8? Am I missing a setting option?...more >>

How'd They Do This - Drag, Drop, Throw, Rotate, Intertia
Posted by Steelers at 10/11/2007 9:51:42 PM
I can find a bunch of simple drag and drop tutorials, resources, etc. but none involving inertia / gravity (whatever you wanna call it) or rotation or throwing of movieclips like this one - http://www.1-18-08.com/. Does anyone know of a tutorial or resource that might help me get started? ...more >>

Mac vs. PC flash viewability
Posted by chris_teso at 10/11/2007 9:44:31 PM
I am working on re-creating an aurora borealis in Flash. I'm not doing anything insane, for now its just one frame containing AS and one MC on the stage. No external classes or AS right now. I'm importing... import flash.filters.GlowFilter; import flash.filters.BlurFilter; and then run...more >>

how do I set layers
Posted by mrMajk at 10/11/2007 9:26:10 PM
how can i set the layer priority as my action script mc plays over top of my 3d rendered movie all help appreciated ...more >>

Reference to 'stage.ground' Not Working- AS3
Posted by monster356 at 10/11/2007 8:12:56 PM
Alright, so i am having trouble with my class. it keeps kicking back this error: [h]1119: Access of possibly undefined property ground through a reference with static type flash.display:DisplayObjectContainer.[/h] it's because "parent.ground" doesn't exist or something... this is th...more >>

Listening for a php script to load a directory
Posted by chopTheWood at 10/11/2007 8:04:33 PM
I'm trying to get the script to listen and wait for the php file to load a directory listing and then for a Flash script to sort the directory listing alphabetically and place it in a text field. It works if I give it 10 frames worth of time, but I don't want anything else to happen before it ...more >>

Dynamic FLVs don't always play to end
Posted by rweiss23 at 10/11/2007 7:51:47 PM
Hi, I've got a main video (FLV) that starts automatically, and 3 movies (FLVs) that start when you hit their HTML (button) links. The problem is I hit the link for one of the 3 movies, it starts to play but before it ends, the main movie restarts. I'm saving in Flash 8 using Actionscrip...more >>

Date question...
Posted by C-Rock at 10/11/2007 6:57:30 PM
I have a date object created for today. How do I simply subtract 7 days from the date without worrying about if the month or anything changed. I just want it to keep the regular date format but be 7 days earlier. Thanks ...more >>



getNextHighestDepth
Posted by Mister Peanut at 10/11/2007 6:06:35 PM
Hello, I am having a small problem with the getNextHighestDepth function. I have multiple movie clips on stage (a deck of cards). Clicking on any movie clip will start dragging it, and bring it to the top of the pile. Problem is, I can click a card near the bottom of the deck, it will c...more >>

Flash 2.0 Datagrid component bug ?
Posted by donynam at 10/11/2007 5:13:37 PM
Recently I found a bug in Datagrid component. The swf file which contain datagrid act differely in IE 6, and IE 7. This is what I've done: 1) Compile swf, export it together with html file. 2) Run the html file 3)Press on one of the cell,drag it and then release it outside of the brows...more >>

grid of thumbnail buttons help
Posted by ltdesign1 at 10/11/2007 5:11:28 PM
Hello, Not sure how to search for this so I'll just post and hope someone has an answer. I think it's probably pretty easy. I have a grid of 16 thumbnails that are buttons. When you rollover one button, I want the rest of the buttons to gray out. Then when you roll off that button to a...more >>

full browser flash
Posted by viiespk at 10/11/2007 5:11:07 PM
I have a full browser script that is working just fine (script below). I am having trouble however positiong an imported .swf clip into a movie clip (mc2). Even though the movie clip's registration point (mc2) is in the center, the ..swf that goes in has a top left registration point, and th...more >>

How to set Flash CS3 "custom" classspath
Posted by eholz1 at 10/11/2007 3:32:04 PM
Hello Flash Forum, I am following a tutorial on how to create a class. this class requires a package like: todd.interactive (a tutorlal from Lynda.com) I have created my on dir where I keep fla files: D:\Flash\, and then have created the following dir structure under D:\Flash\classes\tod...more >>

Re: how to use "set"
Posted by kglad at 10/11/2007 3:00:21 PM
yes, a colon is not used in flash to designate a path. the period or dot is used to designate a path. if that code doesn't work, omit the "_level0." part of that code....more >>

text boxes to print
Posted by dave at 10/11/2007 2:32:43 PM
I have a screen with about 10 scrolling textboxes on it, which allows people to type in bits of text. I then want to print what they have typed as one long document, so no longer as the 10 boxes but more as paragraphs of text. I just can't quite understand what to do. I have looked at the ...more >>

control main timeline with as3
Posted by brad9376 at 10/11/2007 2:29:09 PM
I'm having some problems playing the main timeline from one of it's children. In actionscript 2 the command would have been: _root.gotoAndPlay(2); How is this done with actionscript 3? root.gotoAndPlay(2) does not work since root is a DisplayObject instead of a MovieClip. ...more >>

Re: how to use "set"
Posted by kglad at 10/11/2007 2:04:46 PM
ok, your first paragraph is clear: TotalA is the total number of correct answers to your 50 questions and each variable q1a,... is assigned a 1 or 0 depending upon whether the user answered question 1,... correctly or incorrectly. your second paragraph is less than clear but i infer that...more >>

Omit Trace causes Stack underflow
Posted by Truantduck at 10/11/2007 2:43:47 AM
I'm building a Flash AS3 project in CS3. The SWF works just fine until I change the publish settings and omit trace. When I do this, I always get a stack underflow error when testing the movie from the IDE. When I allow trace I always run without errors. Has anybody else encountered this ...more >>

Is it necessary to import flash.* packages?
Posted by e-zen at 10/11/2007 2:08:04 AM
If i write this code with or without the import statement it works the same way: import flash.text.TextField; var mytext=new TextField() addChild(mytext) mytext.text="Hello World" Works the same way as var mytext=new TextField() addChild(mytext) mytext.text="Hello World" I ...more >>

While and If Statements
Posted by DJ Sick Nick at 10/11/2007 1:39:09 AM
I have the code: while (_parent.orangehold == 1) { if (this.hitTest(_parent.orange.active)) { //I think this is what's making Flash crash when I export as SWF gotoAndPlay ("hold"); } } if (this.hitTest(_parent.orange.active)) { //Here I want to make is so that ...more >>

Get instance name from MC
Posted by madmac66 at 10/11/2007 12:40:57 AM
Is it possible to get the instance name of an MC or BTN to determine what action to take? For example, I have 10 dynamically generated MCs with the name empty_mc1, 2, 3 etc. I could hard-code the action to each MC (empty_mc1.onRelease = function() { doAction1() } and so on) but the idea is...more >>

using an array to record button click order
Posted by schefz at 10/11/2007 12:14:31 AM
I am working on a demo of a UI for a handheld device. I am trying to make a back button that can track the users actions back several steps. I started by putting this line of code in my frame 1 actions layer: var wherefrom:Array = new Array(); then i placed this follwing co...more >>

fill color in movieclip
Posted by flashcrazy at 10/11/2007 12:00:00 AM
with (myClip) { moveTo(0,0); lineTo(50,0); lineTo(50,100); lineTo(0,100); lineTo(0,0); } this creates shape which is empty . I want to fill the shape created after i have set a certain parameter to true. How to do that with movieclip. beginFill not usable since it starts filling just f...more >>

Dragable input text
Posted by Helester at 10/11/2007 12:00:00 AM
We are attempting to construct a 'input' text box which the user can drag around the screen. If anybody has suggestions they would be GREATLY appreciated. Thanks for your help, ...more >>

Dynamic loading of movie not working
Posted by pandx at 10/11/2007 12:00:00 AM
Hi, I've got a noob question to ask :P I've got 5 movie clips, namely "1.swf", "2.swf", etc.. I've got a numerical variable "scene", which captures a number relevant to which button the user clicks. So if the user clicks the first button, "scene=1", and so on. When I call for the mov...more >>

preloader
Posted by bossche001 at 10/11/2007 12:00:00 AM
Hi I have a preloader in a different scene then my main movie. I noticed that my preloader only show up when it reaches 97% What could be the reason for that? It's a very low prelaoder frame 1: ifFrameLoaded (2) { gotoAndPlay(2); } stop(); frame2: total = int(_roo...more >>


DevelopmentNow Blog