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 > april 2005 > threads for monday april 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

Array of movieclips?
Posted by natex at 4/11/2005 4:39:43 PM
Hi. I'm trying to perform a function (tween) on a list of movieclips (boxes) instances that I've placed on the stage. First, I wanted to get the function to perform on boxList[0], then after that was successfull I'd put in a loop to use boxList[1] and so on. import mx.transitions.easing....more >>


pop up quicktime from swf
Posted by vcorr at 4/11/2005 4:17:04 PM
I am simply attempting to trigger a qt movie (10mb) from within an .swf- At this point I need it to work, but I would like to plug in some features...too....more >>

Creating actionscript buttons
Posted by MarkDDIM at 4/11/2005 4:13:22 PM
:clock; Could someone give me a basic actionscript for attaching an actionscript to a button so when I click on it, it will play the flash movie?...more >>

unload swf from a form application
Posted by enfantterrible at 4/11/2005 4:02:11 PM
does any know if I load an SWF movie clip in a form application using the code that follows, how I can unload the movie clip: on(reveal){ this.contentPath = "contactsmain_010.swf" } Suggestions would be greatly apreciated!!! ...more >>

Drawing based on x/y pos's read in from XML
Posted by lumpy mcfunkerson at 4/11/2005 3:53:11 PM
Howdy - I need to draw outlines of the footprints of n buildings that are described in an xml file which I'm reading into FMX Pro. I'm loading the xml, looping thru it, finding the node which holds the x/y coords (pipe delimited list) all without problem. The problem is that I can't get the st...more >>

Playing a sequence of frames
Posted by Vee at 4/11/2005 3:16:59 PM
I have a nav that i've worked out the long way. When I say the long way I used tons of frame actions (gotoAnd...) to make the nav play certain sequence based upon currentframe == 'some frame number'. I realize at the time it was the only thing I knew how to do or was ready to take on. Now fee...more >>

External Class Script
Posted by ManinBlaq at 4/11/2005 3:16:36 PM
I'm trying to include the 2.0 version of the Wddx files. (Wddx.as and WddxRecordset.as) I have them downloaded, and I'm trying to include them in my project. The files are local to my project. When I attempt to run the movie I get the following error: "Classes may only be defined in ext...more >>

Looking for a script
Posted by Maaike39 at 4/11/2005 2:59:50 PM
Hi, I'm looking for a Flash script where you can look into a brochure. When clicking the page it turns automatically to the next page. Please find an example here http://client.xl-mailinglist.com/onb2T41Br Can anyone help me on this? Tnx Maaike ...more >>



Mail to
Posted by vldesign at 4/11/2005 2:56:57 PM
Here's what I'm putting as my code: getURL(mailto:info@undisclosedsite.com); (I'm putting my site name here) I keep getting this error: **Error** Symbol=ContactClip, layer=Layer 2, frame=1:Line 1: ')' or ',' expected getURL(mailto:info@undisclosedsite.com); Any ideas or help would b...more >>

Drawing a dynamic movie clip into a parent movie clip
Posted by vinylbomb at 4/11/2005 2:54:53 PM
Heeelp! I'm pulling my hair out here. I'm trying to draw a dynamically created movie clip inside a parent movie clip. Heres the code: //imports import Graphics; //import graph2; import Box; g = new Graphics(); g.setColour(255,0,0); g.setupcamera(-500,50); var i:Number;...more >>

Trigger other events(rollovers, release, etc.) using mousewheel events
Posted by ScottDin at 4/11/2005 2:25:36 PM
Is there a way in Flash MX 2004 Pro that I can use captured mouseWheel activity to trigger other events ( such as rollOver and Release)? I am working on using the mouseWheel to scroll from one active button to another and trigger the rollOver event on the scrolled to button without actually ha...more >>

program an advanced button?
Posted by migduvednok at 4/11/2005 2:10:31 PM
i have made a button, with a movie clip as down state. This movieclip is as follows: 1-10: button is increasing in size 10: stop command 11-20 button is supposed to be decreasing in size. the stop command from frame 10 is unfurtunately on all of these frames also, i don't think it's needed. ...more >>

photo gallery
Posted by Brian at 4/11/2005 2:07:46 PM
I am using the following AS and a XML file for a picture viewer. The AS below only works, starting with image 1 and goes up to the last image. I have a varialble called "photo" with which I now would like to be able to start viewing photos at any number photo. For example, if there are 10 ...more >>

Maintaining text selection w/ v2 ComboBox
Posted by dcs-ui at 4/11/2005 12:43:36 PM
Has anyone figured out a way to successfully do the following: Using a TextField, the user selects a portion, then clicks on a v2 ComboBox to change the text in some way. The change is made and the TextField is refocused and the selection is restored (ie the same text that was selected beforeh...more >>

Reference to a variable, not a string
Posted by ReinoutBossuyt at 4/11/2005 9:37:40 AM
Hi, I want to make the following code high reusable: var cache:SharedObject = SharedObject.getLocal("aSO"); aVar= "aString"+number; cache.data.aVar= aContent; cache.flush; But when i use this, Flash uses aVar as String, and not treat this as variable. Could anyone help with this?...more >>

random frames
Posted by Ben2 at 4/11/2005 9:25:33 AM
hi guyz i want to make the backround come up as a random picture each time u go to a diferent part of the timeline in a movieclip i have in the first frame (blank): frames = new Array(TotalFrames); newFrame = function () { _root.frameN = random(TotalFrames);}; gotoAndStop(_root.frameN); fram...more >>

how to dispatch onRollOver event to children movieclips of current movieclip?
Posted by freegink at 4/11/2005 9:11:32 AM
i make a movieclip a, there is a movieclip b in a in movieclip a, i write the actionscript: this.onRollOver = function() { trace("a rollover"); } in movieclip b, i write the actionscript: this.onRollOver = function() { trace("b rollover"); } but when the mouse move on the b, ...more >>

Fullscreen, movie size adjusted to screen
Posted by Snyltaren at 4/11/2005 8:44:02 AM
Can someone help me to make my webpage automatically fullscreen and that the movie adjust it?s size to the size of the screen? ...more >>

Flash and PHP
Posted by Brian at 4/11/2005 7:13:29 AM
I would like to pass a variable to a flash file in a pop up browser window. I think I have everything I need for the flash part to work, but need need some help with the php part. I figured out so far that I need to do the following: The flash file will be embedded like this: <param name=...more >>

Need code for this
Posted by Amcasperforu at 4/11/2005 2:19:20 AM
Hi How can I parse the string: From To this \n\n\n\tExample Example \n\n Example \n Example \n\n\tExample\t Example \n\nExample \t\n ...more >>

Quick Question
Posted by canase at 4/11/2005 1:22:24 AM
I'm trying to build a travel guide in flash which shows maps, hotels, etc. but for the language section I would like for it to have something whre you can put the word or the beginning letter in a search bar and the results show up. How do I do this? Thanks ...more >>

Panning and zooming on an image
Posted by mickof18 at 4/11/2005 12:00:00 AM
hello can anyone help me or tell us how i would go about panning and zooming on an image. its an external image i have called in via XML but now i want to be ablle to zoom/pan etc, surely this kind of thing has been done befor, any help is much appreciated thanks ...more >>

How do I Change and Save an XML Doc with AS 2.0?
Posted by sstringer at 4/11/2005 12:00:00 AM
I am building a Flash MX 2004 application that will be run locallying through a projector file. I need to bring in an XML document, look for a node with a particular text value, and, if found, change the text value. Finally, I need to save the XML back out with the newly altered values. Fo...more >>

What is going on
Posted by vldesign at 4/11/2005 12:00:00 AM
Could someone please go to www.vikinglabsweb.com (my site) and tell me what is happening. I have no references to external pages in my code. It just keeps trying to find something. I'm baffled. Any help would be appreciated. ...more >>

onRollOver insanity
Posted by KTeutsch at 4/11/2005 12:00:00 AM
Hello. I am mortified ahead of time for having to ask this... but what the heck is going on with this simple snippet? When put the following on the first frame of the timeline: this.test_mc._alpha=0; this.test_mc.onRollOver=function(){ trace('Over'); this.test_mc._alpha=100; }; this....more >>

Custom Cursor Advantage/Disadnvantage script comparison
Posted by burnt systems at 4/11/2005 12:00:00 AM
Is this just and old/new version thing or is one better than the other? _root.cursor_mc.swapDepths(1000); _root.onEnterFrame = function() { Mouse.hide(); cursor_mc._x = _root._xmouse; cursor_mc._y = _root._ymouse; } to: Mouse.hide() startDrag(cursor_mc,true) ...more >>

More Item Confusion/Problems
Posted by Rob_jones732000 at 4/11/2005 12:00:00 AM
Hi I just sent you a mail, it explains everything in it. Its probably the last problems i'll encounter because it applies to the rest of the rooms. Thanks very much....more >>

1 of 2 combo boxes not scaling loaded swf
Posted by gungus at 4/11/2005 12:00:00 AM
Hi, I have two combo boxes that load external swfs into an empty movieclip on my stage. (each combo boxe loads swf from different directories) The swfs are scaled once they are imported. Everything on my first combo box works fine but when I go to load a swf from my second combo box, it co...more >>

stopped swf move on after xx seconds?
Posted by livingwithanangel at 4/11/2005 12:00:00 AM
if I have an SWF that is set to stop, pending a visitor clicking on a button to move on, how can I tell the SWF to move on anyway after a set number of seconds?...more >>

Kevin's BrowserStateManager - more than one var in url problem
Posted by manleft at 4/11/2005 12:00:00 AM
Hi, I'm wiring up deep linking/bookmarking into my flash app and am having a few problems. I'm using the process outlined by Kevin at http://www.klynch.com/apps/flashlinking/howto.html (Thanks Kevin) I've got the vars writing back to the address and title bar in the browser ok, but I'm havi...more >>

Multiple instances of the same movie clip
Posted by DocGuru at 4/11/2005 12:00:00 AM
Hello, i want to create multiple instances of the same movie clip without keeping the movie clip in the library. Ex: if one movie clip creates a circle with blue color then i want to create mutlple circle with different colors (not only the blue color) using loadMovie.... So hpw can we do th...more >>

2 Movie Clips not in sync.
Posted by DjPhantasy at 4/11/2005 12:00:00 AM
Thanks for your help. For a FlashLite game I'm making for my phone, I have something simular to whack-a-mole game. In one movie clip, for my mole, I have a button in the MC that has: on(keyPress '1'){ gotoAndPlay(90); /:score = /:score+1; } This shows my mole getting hit. In a different movie...more >>

flowing dynamic text across multiple text fields
Posted by mattmuller at 4/11/2005 12:00:00 AM
Hi Im using this code to flow text from 1 box to the next. But it starts filling the 2nd box from the beginning again. Can anyone see why? cheers MaTT var my_xml:XML = new XML (); my_xml.ignoreWhite = true; var copy:Object; my_xml.onLoad = function (success) { if (success) { ...more >>

suddden problems with launching Word docs
Posted by AndyChicago at 4/11/2005 12:00:00 AM
Hi, For some reason the following code no longer works for me: ----- on (release) { getURL("example.doc", _blank); } ----- I get the standard 'dead link' error in IE when I click the Flash button containing that code. However, with that error still showing, once I click in the ...more >>

Combobox change listener bug?
Posted by maulia at 4/11/2005 12:00:00 AM
1. Have a combobox with items: john, mary, tom, bobby, don -> name this combobox cmbClient 2 Add the code: cmbClientListener = new Object(); cmbClient.addEventListener('change', cmbClientListener); cmbClientListener.change = function(eventObject){ _root.txtA.text = _root.cmbClient.selecte...more >>

How can i apply GradientFill to duplicateMovieClip
Posted by abichack at 4/11/2005 12:00:00 AM
Dear sir, I tried lot of times to apply GradientFill to duplicateMovieClip. but i can't. i can easily apply GradientFill if i used lineTo( ) to draw square or rectangle. In my project i used duplicateMovieClip( ) method to draw the rectangle. so that i can't apply GradientFill( ) method....more >>

loading 5 images
Posted by PenGwnFistoOfFury at 4/11/2005 12:00:00 AM
I am trying to load 5 images. All at different time. But they all load at one time instead. this is my action script.. this.createEmptyMovieClip("thing",1); thing.loadMovie("image1.jpg"); var totalImages = 5; var fadeInterval = 150; for(i=1; i<=totalImages; i++) { this.creat...more >>

Closing screen with button
Posted by plasticonoband at 4/11/2005 12:00:00 AM
I'm using flash form applications to create an interactive project. I need to know how to make a screen invisible by clicking on a button. The button sits on the screen that I need to make invisible and this is the problem. Is there a way to do this? If not, is there another solution to th...more >>

Flash to create content in frames?
Posted by HogHazard at 4/11/2005 12:00:00 AM
Hi, I'm developing a site that uses an XML menu in Flash, and controls content in frames. Does anyone know of a way to use Flash to create HTML content for the frame? What I mean is: I want to use info from the XML file to dynamically create the HTML, just text and links, and then loa...more >>

addEventListener vagaries
Posted by Chris Cole at 4/11/2005 12:00:00 AM
In case anyone missed this a few days ago... Using Flash MX 2004 professional - building a slide-based application... In the Actions for a screen, I have the following code: on (hide) { dispatchEvent({type:"myCustomEvent"}); } The I have written code snippet B: onClipEvent...more >>

MX 2004 Pro Bug?
Posted by fasterthanlight at 4/11/2005 12:00:00 AM
Ok, so here's how I have my movie set up. frame 1, i have a loadVariables("varList.dat", this); frame 9 I have an if statement that checks to see if the data is loaded, if not, it loops back to frame to, otherwise, it gotoAndStop(10); which is where my content is displayed. Now, on fram...more >>

Adding a movable image to Flash HELP PLEASE!!!!
Posted by Stewbaca69 at 4/11/2005 12:00:00 AM
Hi everyone I need some help big time with flash. I have been trying to figure out a way to solve this problem for quite some time but I can't do it. Basically, I have a .wmv file that I have imported into Flash. I am trying to paste the head of someone else and put them on the heads of the ...more >>

Sound: faders & stop all sounds?
Posted by monkey boo at 4/11/2005 12:00:00 AM
Hi can any one help me with sound in flash I 've created an 8 track mixing deck with 8 separate faders which fade in attached/linked sounds. I have also created a master volume fader that I would like to beable to control the master volume. I can't seem to get the master volume control to ...more >>

Converting DB Stored UTC Dates
Posted by danderson1007 at 4/11/2005 12:00:00 AM
I am trying to convert database-stored UTC dates and times to local dates and times. My flash movie is accessing the stored dates via XML connector accessing asp written in VBScript being used to create XML. Problem I run into is accurately converting times in past or future which are a diff...more >>

check for flash
Posted by IRISH_HYPE at 4/11/2005 12:00:00 AM
right I?ve made a website and I would like a link at the beginning to check if a system has flash and maybe even auto update or auto install I know there are most likely different ways of doing this, so in that case, which way is best? I?m using flash pro 2004 on Mac OS 10.3.8 It?d a...more >>

Noscale problem with off-canvas buttons
Posted by tbob mcgee at 4/11/2005 12:00:00 AM
I'm working on a site where we incorporate the no-scale feature for horizontal measure, but use a static pixel measure for the height of each main movie. Everything seems okay but we just realized that on monitors which are at the lower reolutions such as 1024 or 800, (90% of the target aud...more >>

check new version .txt
Posted by bertjeb at 4/11/2005 12:00:00 AM
I have a flash file that loads variable out of a txt. The txt is adjusted by a PHP script that receives its variables out of flash. After the txt is adjusted the swf reloads the variables. When the settings in internet explorer are not set to check for a new version every visit, the old va...more >>

how can i play tween backward
Posted by WW2 airborne at 4/11/2005 12:00:00 AM
i have a button that plays a tween of the nav bar going down but i need a nother button so my nav bar looks like its going up my first button script is on (rollOver) {play(); } on (rollOut) {stop(); } thanks ...more >>


DevelopmentNow Blog