Groups | Blog | Home


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
June 2008
all groups > flash actionscript > september 2006 > threads for wednesday september 6

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

_root.MyFunction(variable);
Posted by PDMart at 9/6/2006 11:45:35 PM
I am designing a fishing game and am having the following problem: When the user catches a fish, it goes to a page where they can decide whether or not to keep the fish which is a type of object and is temporarily stored as a variable to access on the frame where you decide to keep it or thr...more >>


phpobjet flash 9 firefox problem
Posted by robsheely2 at 9/6/2006 11:15:26 PM
Hi, I've been working with FlashObject from GhostWire. It's worked great. Now I'm getting a strange issue where my flash app plays fine in the ide,but won't play in firefox with the flash 9 plugin. I think I've narrowed things down to an issue where the phpobject onload handler seems to re...more >>

Editable text inside draggable movie clip
Posted by thunder.scripts at 9/6/2006 10:27:24 PM
I am dinamically creating textfields inside movie clips. Those movie clips are all dragabble (startDrag). The problem is that those textfields are supposed to be editable (input type) but once I attach startDrag to them, it's impossible for them to get the focus, hence they are not editabl...more >>

opening constrained window in IE problems
Posted by damitz61 NO[at]SPAM hotmail.com at 9/6/2006 8:38:41 PM
I am working on a Mac. Everything works great in Safari and Firefox but when I try to open a constrained window in IE, the window opens up with a white spacer on the right and bottom sides of the window. In the window I have a quicktime movie droped into a html page. Here is the code. on (rel...more >>

Communicating between swf files
Posted by ewon15 at 9/6/2006 8:34:46 PM
Okay here is my senario: I have two files, one is main.swf and the other one is sub.swf. sub.swf is an external swf that i loaded into main.swf on _level1. In the sub file I have a movie clip and when it is clicked on it needs to tell the main file (the host) what to do...how do i go about...more >>

MovieClip size detection
Posted by shorste at 9/6/2006 8:28:02 PM
If you load a movie clip with a jpeg using loadMovie the _width and _height properies are 0. the getBounds method returns some huge fixed value. Can anyone tell me how to determine how big a loaded jpeg is? Thanks. ...more >>

Keyboard Keys and Key Code values
Posted by Matt-R at 9/6/2006 8:18:30 PM
Below is my code that zooms into a map when the user presses the SPACE bar. I want to change the SPACE bar to the + key. However the Key command seems to only have code hints for some keys (ie. SPACE, ENTER, LEFT, RIGHT etc). Does anyone know how I can change the action to zoom in using the ...more >>

How to display an movieclip loaded from asset with specified view port ?
Posted by McMuthu at 9/6/2006 7:20:19 PM
Hi all, I would like to display only a specified viewport or cliprect of an movie clip(image) loaded from the asset library using the MovieClip::attachMovie fn. I searched thro the flash api's & could not find anything which is applicable. Is there any way to do this. Thanks i...more >>



Event Listener Scope
Posted by stratosnatcher at 9/6/2006 4:40:56 PM
I am writing a class, and adding the following code to its constructor: var oListener:Object = new Object(); oListener.onMotionChanged = function(twObject:Tween):Void { _mDrawing._y = nYPixels - _mDrawing._height; }; var twInitBar:Tween = new Tween(_mDrawing, "_height", n...more >>

Can you load a Word document?
Posted by mgschange at 9/6/2006 3:50:22 PM
I have many pages of Word documents (.doc) that I would like to load into my SWF at runtime. Do I have to convert these to text files (.txt) in order to use LoadVars with a dynamic text field? If possible, I would like to keep my formatting and just load the word file as is. ...more >>

Loading clips into specific stage location
Posted by southbeachbum at 9/6/2006 2:37:55 PM
I'm loading a bunch of clips, each on their own level into a clip. i want to control the placement of those loaded movies, but moving the target clip around doesn't do anything. how do i tell flash to put those loaded clips into my target clip which is at a specific location? anyone? sb...more >>

Please take a look at this code.
Posted by DragonTheory.com at 9/6/2006 2:23:53 PM
I have a button instance with the following code on it on (release) gotoAndPlay(25); On frame 25 I have the following code. var myClip = this.createEmptyMovieClip("myMc", this.getNextHighestDepth()); var myLoader = new MovieClipLoader(); var myListener = new Object(); myListener...more >>

Easy way of attaching stylesheets to Flash dynamic text boxes
Posted by rooikop at 9/6/2006 2:15:41 PM
Hi there! Does anyone know a easy way of how to attach a stylesheet to a dynamic textbox in Flash? LM...more >>

Temporarely disable Eventhandlers
Posted by Jenser55 at 9/6/2006 1:58:10 PM
I build a moveable, editable TextField by creating an AS 2.0 Class derived from UIObject (MovieClip with TextField - Child). This Object should listen to onPress (for Drag'n Drop Action) and onRelease (also D&D and for indicating a Doubleclick). On DoubleClick the Focus is set on the Textf...more >>

Action Script (.as) external use
Posted by beko75 at 9/6/2006 1:49:16 PM
Hello there, I just learned how to use external .as which will load in a movie. Well, I really was happy when I found out how to call the external .as, but every happiness is followed with sadness. When I make changes in my .as file, they do not affect the .swf file (i.e. there are made ...more >>

help - how to apply action script
Posted by achwell at 9/6/2006 1:44:53 PM
hi. i made a movie clip buttons. one of their layers is a hit surface (an invisible buttons). in the main scene (scene 1) i have created a layer of few pictures that i want to pass between them with the help of those buttons. i have created a labels on the time line of the scene. and each hi...more >>

pixel dissolve
Posted by jagguy99 at 9/6/2006 12:32:17 PM
I can't make the pixels dissolve so the object reduces to nothing. import flash.display.BitmapData; import flash.geom.Rectangle; import flash.geom.Point; var bmp1:BitmapData = BitmapData.loadBitmap("cave1"); var bmp2:BitmapData = new BitmapData(64,64); var bmp3:BitmapData = new Bit...more >>

Scoping Question when one movie loads a second movie
Posted by dad_1953 at 9/6/2006 2:37:08 AM
I have a movie that is just a preloader for the main movie. This preloader movie has the loader and progress bar components so that I can show the process of the main movie loading. When I load a sound file in frame 1 of the main movie to be used later in the movie and run the main movie (wi...more >>

LoadVars() Problem?
Posted by TheInmate at 9/6/2006 12:53:12 AM
Hello, I've created four clocks in Flash that load minutes and hour and day information from a php file. When Flash first loads, it works just fine. Whenever it comes around to a new hour for some reason my code is not accessing the new hour, though it still does for the minute and, I pres...more >>

having " displayed in a textbox via actionscript
Posted by twistedpancreas at 9/6/2006 12:34:08 AM
Easy one. I've forgotton how you display the quotation marks (") in a textbox via actionscript eg this.textbox.text = "John said, "Hello I'm John". John was a very simple boy."; is incorrect. How do I get AS to recognise the "Hello I'm John" as a part of the sentence rath...more >>

object scrolling: snap to zero
Posted by southbeachbum at 9/6/2006 12:14:10 AM
i'm using a basic scroller where mouse movement on the swf scrolls a bitmap text clip vertically. if the position happens to be at point-zero, the text is of course sharp. otherwise it's blurry. i want the text field clip to snap to ..0 at rest. anybody done this? sbb ...more >>

_root.gotoAndPlay inside a movie clip doesn't work with multiple scenes
Posted by vortexfive at 9/6/2006 12:00:00 AM
Hello My site was up and running when I decided to add a preloader, which I placed in a new scene before the real site. Now I notice that all my buttons are broken. After some research I found out that a button with _root.gotoAndStop(5) inside a movieclip (and there are a lot of them in m...more >>

Help with this code?
Posted by alaskanewmedia at 9/6/2006 12:00:00 AM
Three hotspots as buttons all load same movieclip myHotSpot.swf i can't figure out how to rewrite this code so each button loads a defiant movie and not the same? I hope I make scene. Thank you very much for your help and time with my problem :confused; var ref = this; var listener...more >>

syntax error
Posted by Goo101 at 9/6/2006 12:00:00 AM
In the following bitwise operation to try and convert an image to binary . . . the following line of code is generating a syntax error but I don't understand why? string result = (lsb ? "1" : "0")+result I have tried different variations of this line of code but with no success . . .. ...more >>

Re: scrollbar
Posted by 2m at 9/6/2006 12:00:00 AM
first: I don't use them much, as I try to aviod scrollbars. (Reason: The thing that forces you most often to use them is long text, but long text in most cases is suited better for html than for flash) second: I only use the component one if I allready use other v2 Components and mostly for ...more >>

Help on text scrolling
Posted by piksel8 at 9/6/2006 12:00:00 AM
Hi Everyone! I have a problem scrolling my text inside a movie clip...when i put it inside the MC it seems that the script i created won't work. I used the same script on another flash project and it worked but it was not inside a Movie Clip, unfortunately, when i used it inside a movie c...more >>

Serious Help!?
Posted by Goo101 at 9/6/2006 12:00:00 AM
Hi All, I have a .jpg image stored in an XML file as Base64 encoded data. I have managed to pull this data in from the XML file and decode it using Jason Nussbaum's 'Base64.as' file. However, now that I have decoded it, I'm at a loss as to what to do next! I have tried to convert it to a bin...more >>

Diable special keys in projector
Posted by NoNameNoPackDrill at 9/6/2006 12:00:00 AM
is there a way to make the projector ignor '.' (full stop) - so not to jump into my next scene, when I don't want it to? I have a keyboard listener, but according to a trace, the action of the '.' happens before the listener even knows the key is pressed - I would like to use '.' to do som...more >>

cache issue
Posted by me at 9/6/2006 12:00:00 AM
Hi I am trying to create a randomise Flash file questions. Here is the structure of the file: 'index.swf' loads up 'welcome.swf'. Then within 'welcome.swf' I have a 'continue' button. When the 'continue' button pressed, it will call up couple of the 'questions.swf' files randomly. My...more >>


DevelopmentNow Blog