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 > january 2006 > threads for tuesday january 10

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

How do you call a parameter from another function?
Posted by lt7817 at 1/10/2006 11:58:38 PM
Hi, I'm double clicking on the Scrub bar to code, and I want to make the play button invisible (gelRight is the instance name for the play button). Can I do like this: gelRight._visible = false; or _global.gelRight._visible =false; Both don't work. What's the right way to call i...more >>


Can someone check on this code please?
Posted by lt7817 at 1/10/2006 11:48:08 PM
on (press) { if(_parent.donePreLoading){ _parent.stopMovie(_parent.scrubTarget) //_parent.playgelRight(true); _parent.scrubTimeLineHandle = "scrub"; this.startDrag(false, 0, _parent.timeLine._y, _parent.preloadBar._width - this._width, _parent.timeLine._y); } } on (release, r...more >>

textArea failing
Posted by SilverDev at 1/10/2006 9:41:28 PM
To test: I have a small movie with a textarea component. This swf is brought into another movie via actionscript and then the component fails to work. If I use Actionscript, I can get the text that I type into it, but the text isn't visible. Perhaps this is a problem with initialization? C...more >>

OOP class scope problem
Posted by stephan.k at 1/10/2006 9:36:05 PM
Hi Everyone I have an issue with class scope of a .as class. I am using the sendAndLoad function to send information to a php file. I am sending the info with a loadVars object and load the info with an XML object. Within the XML object "onload" function however I can't get a grasp of h...more >>

Flash Movie Link Help - ASAP
Posted by rramkey at 1/10/2006 8:57:37 PM
Need help ASAP. We have one single flash minisite which features two different products. We need to be able to access the product pages independently from two different promotional emails that are dropping tomorrow, despite the fact that both the sections are in the same movie (FLA). Can someo...more >>

LoadMovie Help!
Posted by gwennabeme at 1/10/2006 8:53:47 PM
I want to load a new movie to replace the one playing. The new swf is in the same directory as the current movie. Lets say the new movie I want to load is called newmovie.swf. What should I put for the url, target, and method???:camera; ...more >>

Need some help from a Flash Pro
Posted by hollywoodbb at 1/10/2006 8:49:02 PM
I have a flash site that has both multilingual capabilities. One is english and the other Spanish. Right before you head on to the main website you are asked to select a language. Is there some code in flash lets your browser understand that once you?ve clicked on the language you want it will...more >>

Stopwatch - a tricky one
Posted by Mallet Media at 1/10/2006 8:38:08 PM
Hi there. I'd like to create a stopwatch in flash that once started will appear on my webpage. It's basically to time an event but when people launch my webpage I want them to be able to see how much time has elapsed since the event has started. The user should not or does not have to start ...more >>



Sound file not playing on HTML reload
Posted by ChrisRyan at 1/10/2006 8:31:33 PM
Hey all, I'm using the loadSound function to load an external .mp3 file in a different directory. The file plays perfectly when the user accesses the HTML page that contains the .swf, but only on the first time. If you page forward and then return to the page, some users don't hear the s...more >>

if condition on keypress?
Posted by Tony at 1/10/2006 8:26:38 PM
Can't seem to get this working, but I don't know if it's even possible. on (keyPress "<Up>") { if (_root.menutype == "list") { do whatever } } so basically, if the "Up" key is pressed and the variable is equal to "list" do whatever? anybody if this is possible to do? thanks ...more >>

Code View
Posted by vhu at 1/10/2006 8:14:54 PM
Hello, F9 only displays my ActionScript code. Would someone kindly tell me the command to view the file's whole ActionScript code? Thank, vhu...more >>

Little Problem - Big Hurry
Posted by toiluj23 at 1/10/2006 7:51:46 PM
i have an XML that loads text, when i try this flash in the browser i just see only the first variables OK, but when i execute a button, then the new variables that i try to see (from the same XML) are undefined. But when i try this from the Flash, i can see the variables also when i execute the...more >>

Passing multiple parameters to a function
Posted by HenrieMediaInc at 1/10/2006 7:06:33 PM
I am trying to pass multiple parameters in a function and I cannot get it to work. The following script works fine if I pass just one parameter (yrLvl). If I pass two (yrLvl,goHere) it dies. Any idea why? Thank you for your help! WORKS: _global.checkAccess = function(yrLvl) { if (_glob...more >>

Pop Up Window - exact size windows needed to be created
Posted by acultureshock at 1/10/2006 6:25:25 PM
I have a flash document and I have a button/text link that I would like pop up windows 300 x 500 to open up. How is this done or can it be done? ...more >>

Using Var as memory for navigation
Posted by Russ at 1/10/2006 5:22:52 PM
Hello I have a cdrom with your usual navigation but there is a help video that pops up in each section how do I use variables so that when I close the help video it remembers where it was in the navigation and returns to that page IE page 1 Page 2 Page 3 Page 4 currently on this page cli...more >>

Calculator
Posted by FlashIsTheCoolest123 at 1/10/2006 5:09:06 PM
I'm designing a little calculator just for fun, and I have the following Action Script to make the addition and subtraction buttons work: on(press){ _root.Display = _root.NumberWorking +(or - for subtraction) _root.Number; _root.NumberWorking = _root.Display; } How would I go abou...more >>

Flash, Acrobat and Adobe Designer Forms
Posted by PDF Trainer at 1/10/2006 4:56:00 PM
:) I've posted a 6 MB Flash movie that shows a simple example of how sum three fields Acrobat, Designer and Flash forms. You can view it http://www.pdfconference.com/formtip_media/Summing_Fields.htm. Carl Young www.pdftrain.com ...more >>

FileReference API: User selects FLV, tries to preview in FLVPlayback but it does not play.
Posted by Noel4DMB at 1/10/2006 4:18:37 PM
I am using the File Reference API to upload a video to a PHP document. Once the user selects a file, I try to load the FLV file into an FLV playback component. However, once they select a file, it does not playback the video. Why does this work on my local machine, but doesn't work on the w...more >>

Tab Highlight
Posted by mat at 1/10/2006 4:13:15 PM
Hi All, I have a Flash MX2004 movie which contains several classes which extend MovieClip (no hint of component architecture). I would like to remove the outline border these movieclips get when I tab through them... does anyone know of a way? I have seen posts on Focus Manager, which s...more >>

Flash file disappear after the file finished playing
Posted by Melissa1992 at 1/10/2006 4:02:40 PM
I have a html page where user will click on the link to view a flash movie ...but I want after the flash movie done playing, the movie will disappear. How would I do this? Please help!!...more >>

Scrubber Bar Need Help Urgent
Posted by lt7817 at 1/10/2006 3:58:09 PM
Hi, I would like to know how I can make a scrubber bar connect to a movieclip, so that when I scrub it, the movie goes a long too. Here is my code: onClipEvent(load){ top = _y; bottom = _y; left = _x; right = _x + 170; } on (press) { startDrag("", false, left, top, right, b...more >>

Need help reading files into a textfield
Posted by hih at 1/10/2006 3:23:08 PM
What I'm messing with is a simplified GUI interface to edit some coldfusion pages that run our intranet. I'm definitely a beginner to intermediate actionscripter, but i've been writing code for a while (web and c++) so I know my way around some things. Without throwing all the actionscript...more >>

displaying correct and incorrect answers in quiz
Posted by mr mustard at 1/10/2006 3:04:46 PM
I'm fairly new to Actionscript, so have patience. The last frame of a quiz template displays the results of the quiz. I need to add to this page, by displaying what questions a student answered incorrectly or correctly. I currently have 12 questions, and in the results frame I have 12 dy...more >>

getURL ("mailto:") question
Posted by Captain Ahab at 1/10/2006 2:26:43 PM
Hello everybody. on my flash site i have created a button, on assigend on its actions on getURL ("mailto:x@y.z"); clicking the button opens a new browser window that contains a regular error message, and a new outlook mail, with the adress in it. my question is why there is a new browse...more >>

Maske textfields created by CreateTextField
Posted by egeriis at 1/10/2006 1:57:39 PM
I'm creating textfields dynamically with createTextField - and though the textfield do appear (as I am possible to mark the text - which is invisible), it doesn't help on the visibility to set embedFonts = true. I've also tried another solution, as of the following code: myFormat = new Tex...more >>

Audio Streaming from URL
Posted by fguru at 1/10/2006 1:33:07 PM
Hi, I am looking for an actionscript code for streaming audio from specific url. I used media playback component, but is there any other way to stream audio. ...more >>

attachMovie and duplicateMovieClip
Posted by Michael Gioffredi at 1/10/2006 1:05:14 PM
I have two questions. A movieclip was manually placed on the stage at authoring time with the name my_mc. Is there any way to find out what the linkage name of it?s parent movieclip in the library with actionscript? I need this so I can attach it using attachMovie instead of duplicateMovi...more >>

Mask with 9-slice scaling
Posted by LB Back at 1/10/2006 10:54:48 AM
I have a mask (mc) with 9-slice scaling activated. When i resize the mask with actionscript, 9-slice scaling doesn't work. Also when i import the Rectangle Class, activate 9-slice scaling with script and then resize the mc, it doesn't work. Does anybody know of a workaround to get it working? ...more >>

flash page with asp
Posted by rohai at 1/10/2006 9:43:38 AM
Hi, I'm new to flash.Basicly I use it only when I need it so I learn what I need. Here's what I wanna do. First, the page was done only with asp. But now I want to make it more attractive and I want to include flash by inserting the flash to asp. So I have to send all data from asp to flash....more >>

Understanding Preloader Concept
Posted by Centerpoint Computer at 1/10/2006 9:07:29 AM
Please correct me if I'm wrong. If I have a complete site with all sorts of flash files that utilize loadMovie() to load external JPG images, and the SWF files themselves have considerable size (I'm noticing that connection rates on high speed connections in most hotels are slower than DSL, s...more >>

flv not load on IIS
Posted by firelion at 1/10/2006 8:58:59 AM
I have a swf that loads a flv. Everything works fine on my server and harddrive ( http://www.mused.co.za/forwardslash/ - only for high-bandwidth users) but as soon as the client loads it on their development server the FLV does not load. I think it's a problem with the ISS server settings. An...more >>

drawing API cursor problem
Posted by Mr. E at 1/10/2006 8:54:39 AM
hi, i'm trying to make a simple interactive drawing app with flash (basically the user can click and drag to draw lines, etc) but I am having trouble keeping the cursor above the drawn lines. The code is Drawing API, and a movie clip symbol is created in the first frame: _root.createEm...more >>

Dividing text in columns with dynamic text field
Posted by subham at 1/10/2006 7:17:08 AM
hi guys, i have urgent problem. is it possible to divide a particular long text in a number of dynamic text field. where the height of text field will be fixed. where in text character end in a text field. the next character should start in next text field. its view has been given in...more >>

Help with createTextField
Posted by HenrieMediaInc at 1/10/2006 6:54:58 AM
I am trying to get the createTextField to work in my movie and it doesn't work. Here is my script, why doesn't the createTextField work? _global.checkAccess = function(yrLvl) { if (_global.session.accessLevel == "") { getURL("login.php"); } else { if (_global.session.accessLevel...more >>

Webcam-image resize problem
Posted by panchou at 1/10/2006 6:50:51 AM
Hi: I have problems capturing a frame from a webcam, because it automatically resizes down. This is the code and an explanation of what is happening. I'm capturing video from a webcam at 640*480 /**/ var mycam:Camera = Camera.get(); /**/ var vid:Video; /**/ vid.attachVideo(mycam);...more >>

Scrubber Bar Help!
Posted by lt7817 at 1/10/2006 6:46:22 AM
Hi, I would like to know how I can make a scrubber bar connect to a movieclip, so that when I scrub it, the movie goes a long too. Here is my code: onClipEvent(load){ top = _y; bottom = _y; left = _x; right = _x + 170; } on (press) { startDrag("", false, left, ...more >>

using BitmapData class in a custom class
Posted by jellyjim at 1/10/2006 6:29:45 AM
hi this fails class myClass { private tData:BitmapData; . . . } **Error** C:\ ... \myClass.as: Line 3: A member attribute was used incorrectly. and trying to use any BitmapData methods fails var t:BitmapData=new BitmapData(this.w,this.h); **Error** C:\ ... \myC...more >>

Is there a global function?
Posted by HenrieMediaInc at 1/10/2006 6:00:01 AM
Is there a way to set a global function that can be called from anywhere in a Flash movie file? If so, how do you create it? Thank you!...more >>

inserting a component inside scroll pane component
Posted by Maddy's page at 1/10/2006 5:11:26 AM
Hello, Can anyone help me out in adding a scrollpane on to the screen through actionscript and after that adding any component inside the added scrollpane component. Thanks in advance....more >>

Racing game using a seperate mc for the ground
Posted by Curtis854 at 1/10/2006 4:21:03 AM
I am trying to make a racing game with an overhead view looking down. There will be a seperate mc for the ground and another seperate mc for the players car. How can I do this? O ya and just in case your thinking the way I did: I already tried to "_rotate" the ground but when the car moves dow...more >>

help next button (slideshow)
Posted by tmoore03 at 1/10/2006 2:21:10 AM
Hello, Any help would be greatly appreciated. I am trying to create a slideshow with a play/stop, next and previous button. I cannot seem to get the next button to work. The images are set on every 24th frame. Here is the code I am using for the next button. It makes Flash freeze up every...more >>

Centering JPG's when using loadMovie
Posted by bubba_puck at 1/10/2006 1:28:18 AM
I have done some searching on my problem and found some discussion but no direct answer. I have a slide show flash movie that is using actionscript and loadMovie to load a set of jpgs in. My problem is the jpgs are various sizes and I need to have them centered in the movie clip they are loadi...more >>

right-click funtion
Posted by CobraC081375 at 1/10/2006 1:12:07 AM
is there a way to produce say a right-click function in a move like if i was trying to go to right-click my computer then go to properties...is there a way to create that menu effect in flash?...more >>


DevelopmentNow Blog