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 2004 > threads for wednesday august 4

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

href url length in dynamic text field
Posted by Rave Q. at 8/4/2004 11:59:58 PM
Hi all! I have a page with a dynamic text field that pull some content and in the content is a standard html link <a href="http://www.somewhere.com?param=abcdefghisdf&more=blah&blah=blah">link< /a> As you can see the url to the link is very long. When you click on the link, it opens a p...more >>

loadmovie - determining background colour
Posted by bcraigie at 8/4/2004 11:56:03 PM
The application I'm working with gets compiled to an exe file for running stand-alone on a PC. I say that so that nobody mentions html or javascript 'cos there's no browser involved. I'm using loadmovie to load several different swf files (with different background colours) into one movie...more >>

Flash based web site
Posted by SandyWeber at 8/4/2004 11:04:24 PM
Hi all, I'm hoping someone can help me... I building a Flash based web site (I mean all the pages are Flash pages, no html). What I am doing is to load each page into a master swf as each menu button "link" is pressed. I am loading each page into their own separate levels in the master fi...more >>

Loading Variables
Posted by Happy Camper at 8/4/2004 10:16:10 PM
Heh, I am creating recipe cards that my family can dynamically add their recipes too. So the initial Flash file loads up "recipes/recipe1.txt", everything works wonderfully... then when you push a button, "next recipe", I have this code on it... Code: on(release){ if(recipe_...more >>

Close Browser window
Posted by RoyMunson2004 at 8/4/2004 9:58:40 PM
I have a swf playing in a browser window. Can I have a quit button in my flash movie that will close this browser window ? Any help on this would be appreciated...more >>

gotoAndPlay problem - please help!
Posted by Fish.boy at 8/4/2004 9:53:24 PM
Hi, This is my first post (with probably more to come) in this forum. I could really use some help with some actionscript - I've been trying to get this working for the past 8 hours, and I'm getting really frustrated. Here's what I'm doing. I've created a new document, and have writ...more >>

Help, I need Get Url action workarounds
Posted by Chillybee at 8/4/2004 9:36:43 PM
I am making a DVD interface for Windows using Flash and would like to have the ability to click a documents program icon and have that document open immediately within it native program. So far I am using the Get Url action but am not happy having the OPEN SAVE dialogue box coming up each time...more >>

CuePoint Navigation vs. CueSegment navigation
Posted by JonasD at 8/4/2004 9:23:16 PM
Having problems throwing up a talking head slide show in MX2004 Pro. 1) The slider works going forwards, but not going backwards 2) The buttons seeking slides work going forward, but not going backwards After talking with tech support, it seems the problem is with how they set up CuePoin...more >>



Targeting: flash puts 'this' incorrectly? Bug?
Posted by deadfred at 8/4/2004 9:20:25 PM
O.k. check this out. tile1_mc is on the main timeline and so is the code below. When i use the targeting icon in the ActionScript pane, it puts; this.tile1_mc.stop(); this.tile1_mc.left_btn.onRelease = function(){ this.tile1_mc.prevFrame(); trace("left button down"); }; and th...more >>

Loading JPG
Posted by yoBur at 8/4/2004 9:19:45 PM
I am using actionscript to show chart. For some specific values i want to put a image in the chart.... .... i am using the following code to play a chart and then check the value if it is 10. if is 10 i want to load a jpg..... if i test my code using macromedia flash the image shows up, but...more >>

background loading
Posted by James at 8/4/2004 9:16:20 PM
Hi, I have a bit of a problem. I am making a slideshow that loads jpg files at runtime into a movie. Where I am having difficulty is that I would like to load the files in the background, then once a jpg is loaded then have it replace the last jpg onscreen. I have no prob loading an image int...more >>

Javascript in Flash.
Posted by benc99 at 8/4/2004 9:04:22 PM
This may be a dumb question, but I'm trying to use the newWindow( ) function in Flash MX 2004 Pro, and I have had zero luck. How do I use JavaScript in Flash? Here is the actionscript I've been using: on (release) { getURL ("java script:NewWindow=window.open('http://www.bencoyour.com',...more >>

floating falling objects
Posted by leanne827 at 8/4/2004 7:40:31 PM
hi does anyone know how to make flowers float down from the sky?i can do it with tweening but i thought there might be a more efficient way to make this happen. thanks in advance...more >>

HTML attributes in MX
Posted by abeall at 8/4/2004 6:40:59 PM
I am very confused about this in rich text formatting(from the Flash F1 resource): The following HTML attributes are supported in text fields: LEFTMARGIN, RIGHTMARGIN, ALIGN, INDENT, and LEADING. I cannot get leftmargin, rightmargin, indent or leading to respond to any value. Align wo...more >>

can i get some rewind?
Posted by Jdogglytle at 8/4/2004 6:24:16 PM
ok so i need to make some kind of timeline and we all know how to make a graphical line extend by playing our movie like normal....but is there some way to rewind the play of the timeline so that my graphic can be played in reverse. i know about the previous frame action , but am not sure how ...more >>

Problems Targeting in a Scroll Actionscript
Posted by Muse Style at 8/4/2004 6:22:33 PM
Hi all, Making a mouseover scroll, having problems targeting the MCs. I am working on the following movie: Scene 1 - Pages - Nav - Furnish - FurnishNav The script below targets the objects as if they were in layers on Scene 1. _root.scrollerName = _root.scrollerClip; _root....more >>

problems with "for" loop
Posted by Fl NO[at]SPAM vius at 8/4/2004 6:18:45 PM
I'm working on the script below and as you can see, there are 12 mc that I'm trying to attach a function dynamically in each one to provide an action , but I can't make it! I tried to use the "for...in" loop to do it but I couldn't make it again. How can I solve this? for (j=1; j<=12; j+...more >>

Multiple Go to Frame Commands for Button
Posted by crownevict at 8/4/2004 5:58:55 PM
hello, i have a button within a movie symbol. the button is on the first frame with a stop command. i have placed a rollout command on the instance of the button telling it to go to frame 2 of that current scene. on frame two, the rollout animation starts and on the last frame, i have a go...more >>

invisible loading of files (syntax) help me I'm st
Posted by gatesey at 8/4/2004 5:45:31 PM
can any body tell me how to correctly put together loadMovieNum ("postcard.swf", 1 ) and _visible=false; till needed; so that I can invisibly load a number of small swf files within anouther swf file? ...more >>

Targeting Issues- I am Dumb or What?
Posted by deadfred at 8/4/2004 5:15:30 PM
Hi - i'm trying to write actionscript for a button within a movieclip on the main timeline. All my actionscript i want to keep on the first frame of the main timeline as I've read it's 'good practice'. However it won't work and i cannot find out why. My buttons work fine if i assign actions...more >>

Disabling the TAB key
Posted by DarkRide at 8/4/2004 4:35:55 PM
Is there a way to disable the TAB key within a series of text fields? I have set the focus to the first text field and have tried to keep the focus there regardless of whether the TAB key is pressed. I tried a listener for the TAB key to just set the focus back to my text field, but that has...more >>

Selecting text and changing to uppercase
Posted by hoz at 8/4/2004 4:21:36 PM
Hi guys, I want to be able to select a word or a sentence in a text box and press a button that changes what is selected to UPPER case. upper_btn.onRelease = function() { Selection.setFocus(notex_txt.text); Selection.setSelection(notes_txt.text, notes_txt.text+notes_txt.text.length...more >>

Script to follow the cursor.
Posted by alfredo_MX at 8/4/2004 4:21:31 PM
Hi... i?m still looking for help. Is a little bit of hard to describe my problem, so I attach a swf file (compress in zip format). I want to know how do the same in Flash MX. Hope someone can help me. Alfredo. ...more >>

Please help with random symbol placement
Posted by Clifford Boobyer at 8/4/2004 4:16:13 PM
Hi, Here's the idea: I would like to have a symbol in my flash movie be placed on the stage at the start of my movie at a completely random position, within the confines of my movie (233x310px). I imagine this must be quite a simple task... Cliff ...more >>

Flash preloader for Director .dcr movie?
Posted by Cayce at 8/4/2004 4:15:35 PM
I know this is probably elementary but that's pretty much my level at the moment. I need to build a preloader that will load an external asset, in this case a Director .dcr file. Flash won't recognize .dcr as an importable format so I can't make it an internal asset. I'm in the dark about ...more >>

Mask Transition
Posted by eklemen at 8/4/2004 4:05:56 PM
I'm creating an animation where a comet streaks across the sky from L to R leaving a trail. How can I fade that trail from L to R? Alpha masking is not possible. Does actionscript provide any solutions for me? Thanks for you help! eklemen ...more >>

"Next Slide" behavior in slide presentation
Posted by image_dr at 8/4/2004 3:53:41 PM
I am trying to use the built-in behavior "next slide" or "previous slide" on buttons in a slide presentation. When I have more than 3 slides with those behaviors, Flash locks up when I try to publish. When I have two, it runs just fine. I have used different buttons to make sure this is no...more >>

How would you protect your work?
Posted by Peter Pippinger at 8/4/2004 3:35:45 PM
Hello NG, i would like to protect my FlashMovies against ripping. Is there any way, to find out, where the FlashMovie is comming from? [HOSTINGSERVER (hosting the Movie)] \/ [CLIENT (loading the Movie from the HOSTINGSERVER)] [ME (wanting the information, where the Movie is hosted...more >>

loadImage not working on some machines?
Posted by Anverc at 8/4/2004 3:27:32 PM
I'm using loadMovie and MovieClipLoader to track images loading in the artists/cindy/tattoos section of this site (http://albanytattoo.com/). It's working fine for me, the image loads up every time. However, my client (who is using AOL) can only see the first 4 images when clicking on the...more >>

please help
Posted by lezar974 at 8/4/2004 3:15:16 PM
I am a beginner using flash 5.0 working on a gallery. everything works fine within flash but when opened in a browser, the main image will not load. do you know what is missing and why it works in flash but not in the browser? Can you tell me how to fix this problem? thank you ...more >>

Get error wiht actionscript: undefined
Posted by The_Big_Fing at 8/4/2004 3:09:12 PM
I have create 2 textinputs and 1 button if I have type somthing in the password or login filed and I trace one of the fields the output window gives my the info undefined. What have I do wrong? thank you for your time p.s. the code attachment is of the button on (click) { ...more >>

Setting a Button to Downoad a PDF in Flash??
Posted by SDH39 at 8/4/2004 3:06:20 PM
How do you write the action script to download a PDF from a Flash movie? Any help would be appreciated. Thanks....more >>

Button to Move ScrollPane Contents
Posted by Nicholai at 8/4/2004 2:57:15 PM
I'm trying to figure out the actionscript involved in moving the content of a scrollpane. Here's the project - http://www.campgreystone.com/swf/index.shtml (sorry, no preloader yet but it's only about 280kb). Click on the magnifying glass in the top right and the scrollpane will load. ...more >>

fla to swf
Posted by Scott at 8/4/2004 2:55:26 PM
I developed a site using flash. The preview of the file looks and works fine but when I publish it and open the swf file the movie does not go to the correct frame (action: goto and play). I checked all my action scripts and they are calling all the correct items needed. Something is happening wh...more >>

Randomely load a named key frame
Posted by otow at 8/4/2004 2:36:47 PM
I know very little when it comes to action script. Is there a way to make a script that runs when a frame is loaded, user is sent to a random named keyframe, and it chooses the keyframe from a pool of keyframe names? I'm working in MX 2004, if that makes a difference. ...more >>

preloader
Posted by lezar974 at 8/4/2004 2:34:56 PM
hi , i have a photo gallery made out of thumbnail which when clicked load the main image. it works fine in flash but not in a browser. i think i have to insert a loader but i do not what it is. I have taken this gallery from a tutorial: http://www.layoutgalaxy.com/html/htmnewletter41-page1.h...more >>

Starwars Scroller
Posted by jglazer at 8/4/2004 2:34:53 PM
Has anyone done this in flash (you know the text the flys into the distance)? If so, any clues on how I could accomplish this? Thanks! Jon...more >>

TextField value of text on a given line
Posted by bkdesigner at 8/4/2004 2:34:26 PM
If I have a dynamic TextField with 4 lines of text such as: apples bananas oranges pears Is there a TextField method to return the value of a give line number? i.e. could I ask for the value or text of line 3 and get "oranges"? ...more >>

Pre load swfs
Posted by gatesey at 8/4/2004 2:06:22 PM
Hi, I have created a website which in its self isn't very memory intensive and it consists of a swf file which loads and then you have a series of buttons which in turn load a lot of other, small swf files in turn. This works fine on broad band, but on dial up it is a little slow. how do I ...more >>

"Pausing" for x seconds
Posted by cjf3rules at 8/4/2004 2:00:19 PM
Hi again. Sorry for asking so many questions. I have a function that has a number of lines of code that get executed when a movieclip is clicked. One of the items is a simple "this.gotoAndStop("nextItem");" statement. Everything works just fine, except..... the gotoAndStop line gets ex...more >>

Session Variables from PHP to Flash
Posted by brockies at 8/4/2004 1:57:07 PM
Hello All, I'm having difficulty passing a session variable from PHP to Flash. Basically, when the user logs in, a session variable is created, when I open the page in a browser I can clearly see the session variable, but when I try to get it from Flash, I have a problem. I've checked t...more >>

Specifying a Scene with a Variable.
Posted by jjay NO[at]SPAM aus at 8/4/2004 1:52:04 PM
I want to link to another scene, but specify the scene with a variable, but can't seem to get it working. From my knowledge of Javasript, and what I have been able to read of the flash documentation, I have been trying with the following: go_to_scene = "Scene 2"; gotoAndPlay(go_to_scene...more >>

Exiting a function syntax (and not using 'break')
Posted by loop360 at 8/4/2004 1:23:59 PM
What is the sytanx for exiting a function without continuing with any of the subsequent lines of code. More specifically I want to exit a function during an 'if' statement and have tried using 'break;' which only works with loops etc. In Director I use 'exit', but what is the same syntax in Fl...more >>

Switch() statement can't have a loop in it?
Posted by cjf3rules at 8/4/2004 1:08:25 PM
Hi. I'm just learning about the switch() statement, and it works just fine when I code my script like this: --------- function loadQuestion() { switch (Index) { case 1: question = "q1"; break; case 2: question = "q2"; break; default: question = "q1"; ...more >>

Simple "calculator" including radio buttons
Posted by Mikasto at 8/4/2004 1:05:11 PM
I want to make a quite simple "counter", but I haven't found any simple examples... most of them are really complicated calculators. So... I have 3 radio button groups (gr1, gr2, gr3), each with 3 radio buttons (gr11, gr12, gr13, gr21, gr22, gr23, gr31, gr32, gr33). User selects one value (1...more >>

whole number ?
Posted by Finty at 8/4/2004 11:17:48 AM
how do i find out if a variable is a whole number in actionscript? thanx finty...more >>

More then 1 instance
Posted by OmniXRevised at 8/4/2004 11:10:54 AM
How do I make an object treat EVERY instance of the same movie clip the same instead of a peculiar instance named "instance1"...more >>

dynamic tween
Posted by rush_rush_q at 8/4/2004 10:14:39 AM
i was wondering if it is possible to start a tween from any place on the screen when told by the user. for example: i want to move a cirlce from one place to another across the screen. i know where i want it to end up. but i want the user to enter the x and y position in a text box to te...more >>

input text field within movie clip
Posted by willx at 8/4/2004 9:51:14 AM
i've made an input text field within a movie clip. I put it inside the movie clip cos i wanted it to be able to be drag and dropped. However when i add the code to make the clip draggable the input text field is no longer able to have text entered into it. Is this simply not possible or is the...more >>

just upgraded ... code does not work anymore
Posted by xyz123 at 8/4/2004 9:26:33 AM
=To view attached files remove .txt extension= Hello, Just upgraded to 7.2 A basic key-press routine does not work correct anymore. Attached an extraction of the code with the same problem. Also added litte screen capture swf movie to show what happens on my machine. Basically I cr...more >>

Help in Developing my concept
Posted by purple_am at 8/4/2004 8:23:42 AM
Dear Flash Gurus Am working on a project and the concept is based on shapes lines geometry etc. Now in flash i need to make all these (shapes lines etc) appear on stage dynamically. Actually i will have all the shapes and lines in moviesclips in the library. And i will need them to app...more >>

Calling a javascript function from within flash
Posted by loop360 at 8/4/2004 8:11:34 AM
Does anyone know how I can call a javascript function from within my flash movie?...more >>

How can i make a group of MovieClips duplicated?
Posted by VenusFeng at 8/4/2004 7:26:59 AM
How can i make a group of MovieClips duplicated using ActionScript??? Who can help me?? ThanQ!...more >>

stack - how many variables can flash handle ?
Posted by diego_redbaires at 8/4/2004 6:04:02 AM
hello everybody ! i need to know how many local-variables can flash handle at the same time. i mean, can i have 1.000.000 variables ? for example: var1 = "one"; var2 = "two"; ... var1000000 = "millon"; if not, how can i un-stack variables ? how to deal with that quantity...more >>

Passing a variable from geturl
Posted by andrespolo NO[at]SPAM hotmail.com at 8/4/2004 5:42:24 AM
I have a flash button where i need to pass a url with a variable ie. http://www.test.com/xxx.agent?opcode=plugin&idioma=<%=lang%> How can i create this link using the <%=lang%>?? Thanks...more >>

tellTarget/gotoandplay not working
Posted by -] at 8/4/2004 5:30:36 AM
onClipEvent (enterFrame) { if (ok2 == true) { gotoAndPlay(2); } }else{ stop(); } this code works when a movie clip finishes whatever its doing. its tells target that ok2 = true; and SHOULD PLAY the movie clip....but the gotoAndPlay....works like....gotoAndStop......in...more >>

flash php form sending variables
Posted by Trippin at 8/4/2004 5:27:59 AM
hi, just trying to work out how to do a mailer form with flash for php. I got the basics going but how does it work with check boxes and radio buttons (default components) ??? so far I used this code for input fields and it works ok ... Code: $mailsend = mail($address, "Contact ...more >>

use flash .exe file to play .avi file
Posted by JiZhang at 8/4/2004 5:08:15 AM
I want to use a flash .exe file to launch and play .avi file. Something like once a use clicks a button in the movie, it opens a .avi file and plays it. I want the .avi to be seperated from flash not embeded in flash. I know a program called FlashJester can achieve that, but I want to know if ...more >>

following the mouse
Posted by alfredo_MX at 8/4/2004 4:49:59 AM
I want to create a button that follow my cursor, for a short time, when the cursor is over the button. Then I want the button to get back to it?s original position. Thanks. alfredo ...more >>

Attach an actionscript to multiple button at once
Posted by Alicethomas at 8/4/2004 2:42:47 AM
I'm trying to find the way to attach the same actionscript to multiple buttons(over 100 buttons) at one time, instead of copying and pasting the actionscript in every frame. I have over 100 buttons as a seperate object in the library. In timeline, there are 100 keyframe, that each frame contai...more >>

when 'private' doesn't work...
Posted by Smikey at 8/4/2004 2:08:37 AM
This is sooo silly. I create a class with a private member say: class Thing { private var name:String; } Then try to access the member with the following code, just in the first frame var theThing = new Thing(); theThing.name = "freddy"; That should error right? acc...more >>

Bring to front
Posted by OniLink at 8/4/2004 1:57:22 AM
Is there a way to change the depth of a movieclip (eg: bring to front, bring to back) in actionscript code? Thank you....more >>

use Actionscript to start at frame in Movie clip
Posted by GGROD at 8/4/2004 1:55:38 AM
I have Actionscript on a frame: if(button_name == "button1"){ tellTarget ("frameTransition") { gotoAndPlay(14); } } This plays a movie clip at frame 14 that has an instance of frameTransition. This works fine. But when I get to frame 26 of this movie clip I want to play fr...more >>

enhanced cd - "play cd" script
Posted by yummyrec at 8/4/2004 1:49:18 AM
Hi there, I'm creating an enhanced audio cd. I'm created the interface with Flash. The interface pops up when the CD goes into the cd/dvd-rom. I've gotten that far. What is the script to go on a button to "play cd"? I've seen other enhanced cds have that button. Joe ...more >>

dynamically calling a function
Posted by Dream Lounge at 8/4/2004 12:47:06 AM
I'd like to be able to call a function dynamically, ideas? I saw an example. It doesn't work, but perhaps it's a starting point: myFunctionName = "myFunction"; _root[myFunctionName](myParams);...more >>


DevelopmentNow Blog