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 2006 > threads for monday october 23

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

loading jpegs with progress bar
Posted by melodywestern at 10/23/2006 11:44:07 PM
I am having trouble when loading external jpegs into an empty movie on the main timeline. The jpegs load but I'm trying to assign a preloader to the empty movie clip as the jpegs can have a large filesize. When the page initially loads it has a main preloader which works fine it then loads ...more >>


Pass variable into getURL
Posted by AustinHurst at 10/23/2006 11:42:23 PM
I need to know how to pass a variable into getURL. Is it possible to use a param name in the html with a value of a URL (google.com) and pass that into the flash... and then in the actionscript replace the link with a var that calls the param? hope that makes sense. Thanks on (...more >>

Reusing a function
Posted by jmarchan at 10/23/2006 10:19:38 PM
I have 4 buttons that are supposed to use the same function when they are clicked, but when I assign the onRelease event to each button, the function gets executed... Can somebody please tell me what am i doing wrong? loadVarsVideos.onLoad = function(success:Boolean) { if (success) { ...more >>

Antimated
Posted by joesmoes at 10/23/2006 9:51:23 PM
:grin; Hello, I was wondering is there a way to layer some slides to keep moving constantly wile letting the under layer be paused! Please Help me!!!...more >>

From MS Access database to Quiz Template
Posted by 3Dgregory at 10/23/2006 9:28:17 PM
I am copying and pasting test questions from a microsoft access database into frames in a quiz made using one of the quiz templates that comes with Flash. Is there a way to load the questions into flash without doing this manually; for example, with a loop or something? ...more >>

.as flie createTextField problem
Posted by asidfree at 10/23/2006 9:11:58 PM
Hello, I'm working on an interactive map. The map has buildings on it, each building has a class attached to it (Buildings.as). The class has a function that creates a label (using http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/action script_dictionary513.html...more >>

XML loading?
Posted by thejokerman05 at 10/23/2006 9:02:01 PM
.... why this isn't working? ... why this: var pArray = new Array(); var tArray = new Array(); var myXML:XML = new XML(); myXML.ignoreWhite = true; myXML.onLoad = function (success:Boolean):Void { if (success) { var xmlData = this.firstChild[0].childNodes[0]; fo...more >>

Building eCard Application w/ Flash and ASP
Posted by bonzomn65 at 10/23/2006 8:52:30 PM
Does anybody happen to know where I could find a tutorial on how to build a dynamically driven eCard application using Flash and ASP? I'm looking to build a very simple application where users can pick an eCard, fill out their name and a short message, click send, and their friend is sent an e...more >>



XML Preloader
Posted by rfkrocktk at 10/23/2006 8:35:20 PM
Hey all, I'm assuming for a preloader for XML I would use the standard onEnterFrame function with getBytesLoaded/getBytesTotal. What are the requirements for the said XML preloader? Do I have to have all of my XML reliant code on that keyframe in the beginning of the movie? Is there a way to...more >>

Movie Clips in Array
Posted by Rob_QVC at 10/23/2006 8:08:51 PM
I am trying ot push attached Movieclips into an Array btnUp.onRelease = function():Void { var grp1:MovieClip = test.attachMovie("Group1", "mcOne", 1); myarray.push(grp1); } I think this works. What I am trying to do is that after the user select the movieclips he or she ...more >>

global clearInterval?
Posted by FlashForumName at 10/23/2006 7:42:07 PM
I have a parent swf that works much like a slideshow. Users can click and go forward or backward and depending on where they are, a different external swf is loaded with the loader component. These external swfs make use of intervals. Problem is, the intervals keep running even after a dif...more >>

I would like a movie clip to play repeat itself everytime a button is pressed
Posted by shallowdeep at 10/23/2006 7:27:02 PM
Hello, I am new to actionscripting but not Flash, I am using Flash MX 2004 for a college project at the moment. I have created an interface which features four buttons, each button activates a different movie clip. This works fine but only on the first time to press the button if you press...more >>

Embed movie host?
Posted by diversity at 10/23/2006 6:38:05 PM
Here is the thing. I have an app being developed that will allow users with certain privledges to embed a swf in to their site (ex: youtube, google video) .. But if a users account type is basic they can only view on my site. The swf uses remoting but the embed tag is hosted on my server. The ...more >>

Help on
Posted by zcx000 at 10/23/2006 6:24:08 PM
I want to represent many URLs (for example 100 URLs) with some geometry shapes (for example, small circles) and define some similar actions for them. The expected actions are: when we put mouse over each circle, the corresponding URL address is displayed. When we click each circle with mouse, ...more >>

can't get width of targetMC
Posted by pubchum at 10/23/2006 6:18:11 PM
I am trying to align Images as they load, so ImageLoader.onLoadComplete is where I want to use targetMC._width, but it returns 0. targetMC.getBounds seems to get the "unscaled" bounds of the Original Image. any advice? I tried testing with a browser.... //import file with image ...more >>

Drag, Drop and...SNAP!!
Posted by IndioDoido at 10/23/2006 6:07:21 PM
hi... I'm trying to create a simple flash movie were i can drag a shape and place it in it's original location, no problem here. The issue is that i want the shape to "snap" when it's near it's location. Can anyone help me? ...more >>

playing mulitple mc's at one time.
Posted by MichelleTen at 10/23/2006 5:49:24 PM
Hi. I have a website that I'm designing and I need a way so that when I press a button it goes to a frame it creates two new emptyMovieClips and plays the two movies at the same time. I have it working with just one movie clip and the code I have is: on (press) { gotoAndPlay("mar"); th...more >>

How do i actionscript my flash button to play the sound while being transfered to another url?
Posted by killermoose at 10/23/2006 5:21:06 PM
Hi! As the title says: How do i get my flash button to play my sound when i click on it while being transfered to another url? I did get it to work, but only when i set the script to "_BLANK". When i clicked the button then it played the sound and opened the url in a new window. I ...more >>

avoid movie clips overlapping onRollOver?
Posted by kikibian at 10/23/2006 5:06:18 PM
I'm working on this page ( http://www.luminaire.com/000 ) but get stucked once the cursor touch on the thumbnail, the enlarged image covers the ones underneath it, any one can help me fix up the codes? =================================================================== btnPortrait.onRoll...more >>

Alternative to onClipEvent(load) ?
Posted by warrblade at 10/23/2006 4:21:14 PM
How do you avoid using onClipEvent(load) ? In the http://www.adobe.com/devnet/flash/articles/as_bestpractices_04.html article they say to avoid using on() and onClipEvent() handler functions, because it forces you to attach actions directly to a MovieClip. This works fine when replacing th...more >>

prevent certain characters from being...
Posted by jonnybennett at 10/23/2006 4:14:37 PM
In the same way that for textfield called 'message' message.maxChars=50; as soon as 50chars limit is reached you can no longer type I want to prevent certain characters from being typable in the textfield for eg a full stop '.' I know I could replace these unwanted chars once the textfie...more >>

Creating multiple buttons to play sounds
Posted by R.C.Burrell at 10/23/2006 3:38:44 PM
I'm working on an art project where I need to create a large grid of buttons that will play sounds on an action, such as rollOver or onRelease. I'm just trying to get some ideas on what the best way to go about this would be. I want to avoid superfluous code and make the whole thing as dynam...more >>

Increase x&y scale combo box
Posted by NoNameNoPackDrill at 10/23/2006 2:25:19 PM
Hi guys 'n' guysies - I need to upscale a combo box so I did on(load) { this._xscale *= 3; this._yscale *= 3; } // which works great for buttons... and hey presto - it got twice as big - well it did, but its drop down contents list didn't - what else do I need to do to get it all twi...more >>

SeekBar Leaving A Remanent
Posted by backpages at 10/23/2006 2:11:58 PM
Go to: http://www.lotosnile.com/marketing. Click on the Featured Video tab on the window in the right. I'm using instances of FLVPlaback, SeekBar, PauseButton, PlayButton. All works fine. Now click on Featured River Runner or RR News. The video all goes away like it should, but the arrow from ...more >>

Problem with gotoAndStop
Posted by backpages at 10/23/2006 1:48:53 PM
OK, this is driving me crazy. It seems like it should be very easy. I have a simple timeline. I have ActionScript keyframes on frames 1, 5, 10 & 15. I have a random number generator on frame 1. I picks a number between 1 and 3 and then sends the timeline to either frame 5, 10 or 15. Frame 5 is...more >>

Simple Memory Game
Posted by AspIsFun at 10/23/2006 1:39:31 PM
[b]Hi[/b] I want to make a really simple Flash memory game. There is no need for score, level, time limit or stuff like that. Just a simple memory game with 16 cards what you turn and look for a match. Any one who know a good tutorial with fla source code? I have looked at this tutori...more >>

prototype problem
Posted by alanskinner at 10/23/2006 1:09:39 PM
Right I am using Actionscript v2. I simply want to add a prototype to String. so.... String.prototype.printMe = function() { trace("me"); } var t:String = "test"; t.printMe(); !!FAILS!! with: **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 11: There is no ...more >>

attachmovie: why wont this code work?
Posted by OniLink at 10/23/2006 3:16:51 AM
Here is the code I'm using: _root.b.attachMovie("p"+_root.i, "pb", this.getNextHighestDepth()); trace("p"+_root.i) = p0 * _root.b is a movie that contains nothing. When this script is run, nothing is attached. I have a movieclip in the library that has the identifier "p0" and is ex...more >>

displaying variables and remembering them
Posted by trigger2160 at 10/23/2006 1:31:49 AM
Hi. i have 2 problems. first in my game i am timing each level. this is saved in a variable. at the end of the level i want to display this variable in a dynamic text box. i have tried to put the variable in the var box at the bottom of the screen but the dynamic text box will not display...more >>

trim string
Posted by pubchum at 10/23/2006 1:20:17 AM
what is the built in trim method to shorten a string from: "fjalfjlsfja;dlsfjkfa;sldkfjalsdfjadjf24" to just "24" So I can use the number from the Instance Name to find the corresponding file name in an Array? ...more >>

Load exe fullscreen
Posted by lou_games at 10/23/2006 12:00:00 AM
I need to open a flash EXE full screen from within another flash exe. How can i do this without it opeing in a browser? Thanks L....more >>

restarting a running flash projector
Posted by lou_games at 10/23/2006 12:00:00 AM
Is there anyway of restarting a running flash executable using script? ie, click "restart button" and the exe reloads itself. Thanks, L....more >>

Flash Memory leaks
Posted by Sakmrb2 at 10/23/2006 12:00:00 AM
I have been experiencing problems after playing my newest game in development (from a CD) that was built entirely in flash as an executable. While reviewing and playing the game of the course of days, we have issues of severe fragmentation, registry issues, system slow-downs, etc. Maybe it'...more >>

change Frames per Second during run-time
Posted by aa at 10/23/2006 12:00:00 AM
Is it possible to change Frames per Second during run-time or it is set for good during compile time? ...more >>

Dynamic slideshow with pictures and Flash Video
Posted by hansi_norway at 10/23/2006 12:00:00 AM
I want to make a dynamic slideshow that shall include both pictures and Flash Video. The user shall only have to put the files (images/video) into a folder (for example with FTP or an admin-utility) and then the Flash slideshow should present theese pictures and video-files randomly. Is this p...more >>


DevelopmentNow Blog