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 > august 2006 > threads for wednesday august 9

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 XML into dynamic text boxes
Posted by tbar1 at 8/9/2006 11:57:51 PM
I have an XML document and I am trying to load the text from that doc into corresponding dynamic text boxes in flash. I wanted to use a loop to do this because I have 30+ textboxes to load text into and I thought this would be easiest to do. I know that the XML is being parsed and I can get it...more >>


Textfeild.variable and Javascript SetVariable?
Posted by Oblivi0n at 8/9/2006 10:29:49 PM
I am working with Flash and Javascript using a textfeild and so far everything is working great, up until I want to access the textfeild.variable value. It will display in the flash properly in the textfeild. I have the variable name set to: myVar The instance name of the textfeild is: myT...more >>

Sound Volume Knob
Posted by Design IQ at 8/9/2006 9:39:17 PM
Hello Everyone, I am building a flash sound player and it uses knobs instead of sliders. I am having a hard time establishing the volume, and left to right balance. I have the panning control working left to right but not the sound to turn up and down working with a dynamically loaded MP3s...more >>

Using Variables to Specify Hex Color Values
Posted by MrStuntman at 8/9/2006 9:38:11 PM
Hi, I've been working away on my webpage for a few days now and have run into a bit of trouble. In the backdrop of the flash scene, I have a bunch of actionscript controled shapes that float from the bottom of the window to the top, reset, and repeat. Within each shape, I have a layer that...more >>

using the "deleteTextField" function
Posted by everynewday at 8/9/2006 9:26:04 PM
Here's the code I'm using to try and delete text fields: _root.createTextField("band_name"+i+"_txt",_root.getNextHighestDepth(),210,yPos, 160,20); _root["band_name"+i+"_txt"].setNewTextFormat(detailsFormat); _root["band_name"+i+"_txt"].text = users[j].band_name; ... for (var i = 0...more >>

Custom Event not firing.
Posted by Gary Townsend at 8/9/2006 8:19:17 PM
I am trying to load some data from an asp page that i wrote to to provie = data to a flash order form. I am having a bit of a problem though that i = want to load the list boxes from the asp data. Simple enough.=20 The problem i'm having is that i was trying to load the data but the = LoadVars...more >>

Dynamically loaded swf difference local<>server
Posted by strife.dk at 8/9/2006 8:09:41 PM
I am creating some templates for CMS-based flash, and i'm running into some trouble with video(SWF) Locally it works fine, but on the server, my other items get pushed around. http://www.strife.dk/lokal.jpg http://www.strife.dk/server.jpg I am using MovieClipLoader to load the files As...more >>

Button Error
Posted by kingdom29 at 8/9/2006 8:03:56 PM
Why am I getting this error **Error** Symbol=butt03, layer=Layer 2, frame=2:Line 1: Statement must appear within on/onClipEvent handler butt03.onRelease = function () { Total ActionScript Errors: 1 Reported Errors: 1 Thanks ...more >>



Zoom in/out script easy?
Posted by Summer_shine at 8/9/2006 7:48:15 PM
Hi, Was wondering if anyone can help me with the following. When going to http://www.belcompany.nl/NL/Home.htm, on the right, a banner "TOP 5 TOESTELLEN" where you see phones, and when you select next or previous, the 'phone' zooms in or out. There is a loop for the phones and the pho...more >>

button to open a file
Posted by joedisney at 8/9/2006 7:22:05 PM
I am using Flash 8 and would like to know if I can have a button in my movie open up a .pdf file either in Acrobat or a new html window? My movie will be run from a CD in a PC with no internet access. I am trying by using the following code on a button on (click) { getURL("Joe.pdf","_bla...more >>

better way
Posted by Caurj at 8/9/2006 6:47:21 PM
which is a better way (smaller) to write this: if (p1 == 1) {res1 = "RIGHT";} else {res1 = "WRONG";} if (p2 == 1) {res2 = "RIGHT";} else {res2 = "WRONG";} ... (this will repeat till p10==1) thanks ...more >>

Hyperlink Flash 8
Posted by dzedward at 8/9/2006 6:32:47 PM
(this is all in flash 8) here is my script for the button, and this is where it should link to "on (release) { getURL(http://www.elementsca.com/magazine/elements.html); }" this is the page where the button is "http://www.elementsca.com/magazine/coverbutton.html" when you click the button ...more >>

Flv Sound
Posted by infoVac at 8/9/2006 4:22:44 PM
How do i kill the sound on an FLV file with action script?...more >>

#include not work at Flash 9????
Posted by davidnob at 8/9/2006 4:15:49 PM
Yesterday I downloaded the Flash 9. I?m at my first site build on it. First error, that returned in Output panel: [quote]**Error** Scene 1, Layer 'AS~', Frame 1 : Line 1, Column 1 : [Compiler] Error #1093: Syntax error. #include "preloader.as"; ReferenceError: Error #1065: Variable Tim...more >>

Loading SWF Files
Posted by tommy53 at 8/9/2006 3:53:27 PM
I have created about 15 animated sequences. Each one is a separate swf file. I would like to have the user push a single button, and then have each swf load and play in order. For example, the user hits the play button, swf file #1 is loaded, then, when it is done, swf file #2 is loaded and pl...more >>

attachMovie
Posted by yarkehsiow at 8/9/2006 2:40:10 PM
hi, i have a movieClip in the library of my "master" .swf, with linkage name set up. it attaches no problem when called from within "master", but when called fron "child" it does not work. i have put the MC in the "child" library as well, but no luck... any ideas? thanks ...more >>

Loading JPGs into multiple movie clips
Posted by Jason Cook at 8/9/2006 2:07:44 PM
I did the Flash part of http://www.gcstulsa.com/ I want to load the images with actionscript. How do I fade in mc1, leave it on for 20 frames, then fade out WHILE fading in mc2? Please help. I can't figure it out. ...more >>

Drag and Rotate
Posted by animee at 8/9/2006 1:58:40 PM
Hi all, i'm working on a projekt, which is a card game and i need to implement some kind of rotation function. Actually i can drag, pick up and drop the cards. Now i want the cards to rotate depending on the movement of the users mouse when he drags a card. I tried to do it on my ow...more >>

need correct actionscript for pop ups
Posted by restivz77 at 8/9/2006 1:08:16 PM
Hi, I've been using the actionscript that I see all over forums, however when people view my site in either IE or Firefox, the pop ups don't work! for reference; this is my site: http://www.theliftband.com. for instance, go to the store, you should be able to click the t-shirts or the pay...more >>

Motion over time problem
Posted by Angyl at 8/9/2006 4:17:44 AM
I'm trying to get a little triangle to move along the x axis to a location whenever you mouse over a button. Code is: var speed:Number = 10; function cbuttonOut() { if (navPointer._x>=500) { navPointer._x -= speed; } if (navPointer._x<=500) { navPointer._x += speed; } } M...more >>

Playing the Timeline in reverse
Posted by kminnich at 8/9/2006 4:09:09 AM
Hi I'm playing around with Flash MX Profesional (v 7.2) and am having dificulity getting my timeline to play backwards. my code is : // This script takes the user to the previous page when the prevPage_btn is released prevPage_btn.onRelease = function (){ gotoAndStop(20); for (v...more >>

Help with on release
Posted by kingdom29 at 8/9/2006 4:02:20 AM
How can I make the second on release work with the first script with out losing the rollover function. on (rollOver) { if (_root.link<>page) { this.gotoAndPlay("s1"); } } on (releaseOutside, rollOut) { if (_root.link<>page) { this.gotoAndPlay("s2"); } } on (release)...more >>

Pause button not Pausing all MCs
Posted by rsinclair at 8/9/2006 3:09:12 AM
I have a Pause button on an animation that needs to stop the main timeline from moving, as well as any Movie Clips that are currently playing. I have the button set up and it stops the main timeline, as well as TWO of the MCs (?!), but there are several more it does not affect. All of the ...more >>

Concaterated movie clips...
Posted by 3fx at 8/9/2006 2:46:55 AM
Hi guys, here I am again needee of some Flash help.... I have a few movies with fade-in and fade-out... I want them to play in this way only: detect when you reached frame 30... then play from another location from frame 1 to15... here is my code. It plays the first fade-in, then it sto...more >>

what's the different between _root and this in this case?
Posted by sprming at 8/9/2006 12:00:00 AM
In my flash, I add a new layer called actions, and add actionscript at the first frame. In the stage, there are 10 instances of "ball" move clips called "ball1_mc" ..... to "ball10_mc", and 10 intances "city" move clips called "city1_mc" ...to "city10_mc". In the script, it seems if I u...more >>

QUIZ
Posted by Caurj at 8/9/2006 12:00:00 AM
I dont know much about actionscrip. I need to build a simple quiz and I dont know where to begin. the quiz must have 10 pages with 4 answers each. (I dont want to use XML files, because there will be answers with drawings) I need a final page showing like that: 1- you answered A -->...more >>

attachMovielip
Posted by KrisCons at 8/9/2006 12:00:00 AM
Hi all, I am using the attachMovieclip method and I would like ot know how to position the attachedMovieclip. Here is my code: attachMovie("popup_mc", "Popup1", 1); Thanks in advance. ...more >>


DevelopmentNow Blog