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 > september 2004 > threads for wednesday september 8

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

Flash Player version 7 - breaking actionscript
Posted by chachismo at 9/8/2004 11:28:31 PM
I have an actionscript that uses the loadVariables(URL,VARNAME) command and worked fine on flash players version 6.9 and below. However, on version 7, variables are not being loaded. Does anyone know if the syntax has changed? If so, is the change retroactive to earlier versions of the Flash P...more >>


Rollover a bunch of MCs
Posted by Rothrock at 9/8/2004 11:17:37 PM
So I'm trying to create a menu type thing. I have used createEmptyMovieClip and within the MCs createTextField. I have set up textFormat and applied it to the TextFields. I would like to have a rollover function that changes the Format when the pointer rolls over the text. Additionally I w...more >>

slide show by time...
Posted by bso_71 at 9/8/2004 11:03:43 PM
How do I create a slide show with action script that fades in my next image with loadMovie (in a movieClip) and after 5 seconds changes to the next image fading in. Thanks, Brenda S....more >>

Mouse Class - Listener Problems
Posted by scisnero at 9/8/2004 10:25:59 PM
hi Again, i have a new problem now. im ussing the mouse class, and adding listeners. i have the next code: objMouse = new Object() objMouse.onMouseUp = mouseListener function mouseListener () { trace(this) } that trace return Object, when i really want to access to the movie c...more >>

key listener help
Posted by Scott Sosebee at 9/8/2004 9:58:03 PM
I need to allow a user to pause an SWF by pressing the space bar, and the start it again by doing the same. I was told to use a "keylistener", but I am a BEGINNER to action scripting (much more of an animator). I have downloaded a script that lets me show dialogue when keys are pressed, but st...more >>

Training From the Source, Lesson 2 question
Posted by NBSflasher at 9/8/2004 9:39:49 PM
Hi , tapping into this forum in hopes of resolving a question I am having with the third part of Lesson 2, the Pool Table exercise in Training From the Source for Flash MX 2004. So I'm checking out the stage area, and Im looking at the properties for the ball_mc movieclip. In the properties...more >>

Urgent Help. PLEASE!
Posted by Keffcop at 9/8/2004 9:09:33 PM
I have been trying for a while to achieve an effect for navigating between pages after a button has been pressed. An example of this effect can be found http://www.theworkframe.com/sample/prototype_a/ I have posted to these forums in the past couple of weeks and finally got to what I thoug...more >>

dynamic object (movieclip) name resolution?
Posted by vintagetone at 9/8/2004 9:06:18 PM
Hi, I have a number of clips to dynamically build like so: film_panels.attachMovie("film_panel", "film_panel1", 1); film_panels.film_panel1.film_art_clip.attachMovie(strPicClipName, strPicClipName + "1", 1); film_panels.film_panel1._x += 200; film_panels.film_panel1._y += 0; //------...more >>



Actionscript 1.0 to 2.0
Posted by brayon_mt at 9/8/2004 8:58:34 PM
Hi, I would like to know if it is possible to update the actionscript code in Flash MX, from 1.0 to 2.0? If yes, how? I'm using a Mac (in case it does make a difference). TIA,...more >>

simple button
Posted by atomneve at 9/8/2004 8:53:02 PM
sorry for such a simple question but here goes for button in 2004 (MX is a snap) two frames stop on 1 with button click button go to 2 AS on button on (click) {(gotoAndPlay(2); } what's wrong with this? ...more >>

use an Array to load thumbnails
Posted by steveJo at 9/8/2004 8:39:50 PM
I'd like to use an array to load thumbnails in various galleries. The thumbnails will be properly labeled 01.jpg -> 10.jpg. How could I create a new array and have the array load the thumbnails into their respective movie clips. Each thumbnail is externally loaded and will load into mov...more >>

dataGrid help please.
Posted by ooba at 9/8/2004 8:35:59 PM
Can someone tell me how to have a hidden column in the dataGrid? I need this column to hold the unique id for the record to match to a db. I would rather not have to create another array to store in memory to try and match the index position to the db id. ...more >>

_currentframe seems to return wrong value
Posted by ZarkingFardwarks at 9/8/2004 8:19:12 PM
so theoretically the following script should only trace either nothing or 20, and only when the movie clip is on frame 20 onClipEvent (enterFrame) { thecurrentframe = this._currentframe; if (thecurrentframe=20) { trace(this._currentframe); } } but when I run it, it will trac...more >>

position text
Posted by grover970 at 9/8/2004 7:09:52 PM
Say I have a dynamically driven text box that can hold 3 lines of content, and is centered within a vertical space. if only 1 line of content exists, can I vertically center that line dynamically?...more >>

how to thwart decimal exponent shorthand
Posted by jrk at 9/8/2004 6:57:53 PM
Is there a way to keep Flash from displaying large decimal values with an appended "e" plus a negative exponent? I just want plain old digits but I get the dreaded "e-7" (or whatever) when there are more than 4 zeros after the decimal point. I want to make what looks like an odometer of 14 pla...more >>

MovieClip Instancing
Posted by speedlab1 at 9/8/2004 6:38:58 PM
myobject is an Object returned from a remoting call, the value of 'movieclip' is a string value of the instance name I want to assign to mc. I have an movieclip on my stage for example called test123_mc, myobject 'movieclip' value is also test123_mc, so what I want the rollover function to ...more >>

help with making a movie clip NOT clickable
Posted by havnFn at 9/8/2004 6:30:05 PM
I have a movie clip that is being loaded by clicking on a button. The button is actually a photo and it is larger than the contents of the movie clip that is loaded on top. I have a close button in the movie clip and it works. However, the entire region of the movie clip is taking on the behav...more >>

duplicateMovieClip for nested MovieClip?
Posted by jbong at 9/8/2004 6:08:03 PM
Hello all, Is it possible to copy or duplicate a movie clip from a nested MovieClip, where the destination MovieClip is on a different "level" (either up level, or down level) from the source MovieClip? for example, I have movie clips: mc1, mc2 on the same "level", different depths. I...more >>

Newbie problem with movie rollout
Posted by raheelm at 9/8/2004 6:05:51 PM
Hi, I have a button say 'abt_btn' on the main stage. On rollover, this button is instructed to gotoAndStop() at 5th frame which has a movie, 'mc_abt_submenu' on it, basically this implements my rollover effect since the movie at 5th frame is a submenu for abt_btn. Upto now, everything is ...more >>

anyway to write file to client machine..?
Posted by beachboy NO[at]SPAM work at 9/8/2004 5:18:10 PM
if just using action script?...more >>

Flash 5 actionscript opening a new window
Posted by jennsite at 9/8/2004 4:37:16 PM
Hi. I worked this script out a month ago and have since had my hard drive crash. Since I only uploaded the .swf and the .html, I can no longer see the code I used or remember it. The functioning page is here: http://www.geary.k12.ok.us/shared/pages/great/great.html the bottom button o...more >>

RollOver behaviour on nested movie clips
Posted by scisnero at 9/8/2004 3:39:32 PM
Hello, I have that problem, i have nested movie clips with roll over behaviours. i need roll over behaviours in the parent movie clip, and in the child movie clip, but the one in the parent movie clip is intercepting the roll over behaviour in the child movie clip. How can i do to make the r...more >>

grandchild clip
Posted by Edwin Merced at 9/8/2004 3:32:58 PM
Hava a main movie that has a button. The button loads and moves a movie clip into a blank mc in the main movie. The loaded mc has a a three frame nested mc inside. How can I control this grandchild clip? ...more >>

button functions controlled by looping statemen??
Posted by pwiop at 9/8/2004 3:06:47 PM
Hi Folks Is it possible to generate button functions using a looping statement an example being;- REPLACE THIS . . . b1.onRelease=function(){ gotoAndPlay(1) } b2.onRelease=function(){ gotoAndPlay(2) } etc, etc etc, . . . WITH THIS. . . . cold this be done something like ...more >>

gotoandPlay at end of FLV in Media Playback???
Posted by Leo D. at 9/8/2004 2:35:47 PM
Using Flash 2004 Pro. Need to play a FLV using the media playback component, then and the end of the FLV automatically jump to another scene. ----- (gotoandPlay("myScene", "start"). I have found this script: var myListener = new Object(); myListener.complete = function(eventObj...more >>

embed video clip
Posted by atomneve at 9/8/2004 2:13:34 PM
I embed video clip in single frame MX2004 Pro and it works fine but if I change anything- like put the clip on second frame with button on frame one I get a rectangle that says "player" does anyone know why? ...more >>

What causes load errors?
Posted by Edwin Merced at 9/8/2004 1:43:33 PM
What causes load errors I have a html file and a css file which I lod into a swf (carta) This carta.swf is then loaded onto a main movie. The carta loads neatly but the html and css do not... ...more >>

problem with loadmovie and preloader like function
Posted by Benjamin Bittner at 9/8/2004 1:37:05 PM
hallo ng, im tryin to load some .swf's dynamically. after loading i have to edit height, width etc, so i have to use a preloader like function to determine if the swf is completely loaded. i get the paths to the swf files from an xml file, but since i only want three items, my loop just goes t...more >>

Pressing Enter Key while in Input text field
Posted by timbo313 at 9/8/2004 1:35:08 PM
Hi, I have an input text field to allow the user to type, and what I would like to happen is, when the user presses the Enter key while the cursor is still in the input text field, it plays. Here is the script I am using now, which works if they are NOT in the text field, but doesn't w...more >>

Background Effect
Posted by bloogrin at 9/8/2004 1:31:59 PM
Please excuse my ignorance as i'm fairly new to this flash lark. I've seen a really nice (and i thought simple) background effect on a few sites e.g. http://www.duciel.com where background of the area of the movie highlights when the mouse is over it (The effect is not visible on the home page...more >>

Passing data
Posted by chrism59 at 9/8/2004 1:30:29 PM
I transfer data to and from a database using sendAndLoad calls to cfm pages. My ISP does not support Remoting (cf5). Everything worked great! UNTIL I needed to pass arrays both ways. Can I tranfer and receive arrays, to and from, a cfm page(s) using sendAndLoad? If so, how do I refer to ...more >>

Button Script - go backward a set number of frame
Posted by docugod at 9/8/2004 1:28:19 PM
I am trying to make kind of a universal back button for a complicated flash file. All I want is for the button to go backward on the main timeline 4 frames when released. All help is appreciated. Thanks. MKJ PS - Flash MX 2004 Pro. ...more >>

Using arrays and Shared Objects
Posted by Danny S at 9/8/2004 1:02:29 PM
How do i get a button to write to an array and then save the array to a shared object?# I have the following code btn1.onRelease.catalog_array.push("menu1"); This should add the test "menu1" to my array. How do i then write this to my shared object? ...more >>

looping fields?
Posted by chrism59 at 9/8/2004 12:36:14 PM
I have a loadvar in the parent movie holding 9 values named h1p through h9p. I need to both read and update these fields. The following, inside a loop, does not work: switch (_parent.UserInfo.h + loopNumber + "p") I have traced (_parent.UserInfo.h + loopNumber + "p") and get undefine...more >>

targetting buttons within a movie clip
Posted by Roger Gibson at 9/8/2004 12:24:39 PM
I am pretty new to flash so if this sounds completely stupid I apologise. I have a button nested within a movie clip which is attached to the main timeline of a swf file using the attachMovie command. I am trying to target the button from the main timeline of the swf file to load home.swf, but...more >>

Candle Flame Animation in Flash MX-2004
Posted by stevenshowers NO[at]SPAM homewardboundjournal.com at 9/8/2004 12:17:52 PM
Dear Flash Folks, Here is a link to a tutorial that explains how to create a candle flame animation. Now, this is fairly impressive. http://www.sitepoint.com/article/flash-script-fire-effect But, this was implemented in Flash prior to MX-2004. And when I tried to implement this in MX-20...more >>

Content managed gallery in Flash?
Posted by Kevin Price-Ward at 9/8/2004 11:07:03 AM
Hi, I've been asked to develop a content managed gallery site for a photographer in Flash. Question 1: Is it possible in Flash to link to and display external image files as you can with external .swf files? Question 2: Assuming the answer to question 1 is no - is there a way that I can ...more >>

Help Please
Posted by Craigus86 at 9/8/2004 10:47:03 AM
Hi i am try to refer to a value in a text file i use the following code. Check = new LoadVars(); Check.onLoad = function(){ if (this.User1 == User.text and this.Pass1 == Pass.text) { getURL("http://www.google.com.au/", "iframe") }; }; Login.onPress = function(){ Check.load("Dat...more >>

Converting Javascript function to Actionscript 2.0 help
Posted by Suman Dahal at 9/8/2004 10:19:35 AM
Hey dudes, I have got a lengthy javascript function that I have to show in a flash movie? I think I will have to convert all the javascript functions into actionscript language. So I need help with javascript statements like these: Rounding() eval() pmt() Math.Round() str.substring() ...more >>

Moving object in a loop
Posted by BrainInAknot at 9/8/2004 9:32:15 AM
Hi there! I'm new at flash and actionscripting as you'll probably soon notice... and need help. I'm creating a game where you have 5 Strings that I have to loop through with a Total that I got from a different section. Say for instance it's 3. It loops through the Strings and eliminates ev...more >>

control move clip depths
Posted by Rai_Kane33 at 9/8/2004 8:45:54 AM
I'm having problems targeting a movie clip I have a button that runs an animation with a movie so scene 1 - Button_MC - Button_Fadeout at the end on the timeline in buttonfade out I want to to goto frame 1 in button_MC this is my code but nothing it dont work stop(); _root.Button_MC.g...more >>

XML Data to dataset or Array
Posted by Erika123 at 9/8/2004 8:11:33 AM
Hi, I have managed to pull in an xml file and have managed to create a DataSet which I think has the contents of the file but what I want to do is pull in an XML file and put the contents into an array so I can use the variables to create and name buttons but I can't work out how to. Pleas...more >>

Array
Posted by jimi06 at 9/8/2004 8:00:43 AM
Hello Does anybody knows if there's a solution to construct dynamically an array ? as : for (var j = 0; j<5; j++) { eval["srubrique"+j]=new Array() ["srubrique"+j].push("toto"); } Many Thanks jimi ...more >>

multiple action button
Posted by v_empirez at 9/8/2004 7:28:23 AM
I need the button to do on rollOver, on rollOut and on press events.the code so far is: on (rollover) { tellTarget ("/servicestext") { gotoAndPlay ("servicein"); { loadMovie("intelamd.swf","/empty"); } } } on (rollOut) { tellTarget ("/servicestext") { gotoAndPlay ("...more >>

Short one- Calling?
Posted by DumNewB at 9/8/2004 7:04:19 AM
Is it possible to induce a buttons on release state by code?...more >>

#include
Posted by vasanthakumar at 9/8/2004 6:59:29 AM
i thought of including a ".as" file from my local server, i have give the full path,like "http://localhost/...as" it give error msg, my requirement is to put the script in server and and my swf has to access it, is it possible, ...more >>

check internet connection throu flash
Posted by amuaman at 9/8/2004 5:57:01 AM
plzz anyone can help me, tell me how to check that your pc is connected to interent through flash, but it checks only when your flash completed and stop at last frame. If your pc is connected to internet then url opens otherwise it will give message to connect to your pc to internet first. ...more >>

problem with color objects
Posted by e_jogendra at 9/8/2004 5:36:40 AM
I have a flash movie with around 40 different movie clips. I want to show them as regular button on mouse rollOver, rollOut, release, Press with diferent colors. For this purpose is it better idea to create different 40 color objects or is there any short cut method. Wish for help..... r...more >>

How can i access events of dinamic created mc
Posted by Christin-78 at 9/8/2004 5:36:25 AM
hello, so I am creating a movie clip, afeter that lodanig anoder movie (swf ) into that... so i have to work on events of movie what was created inside ... i do not know if i could explain the problem i will write down the code //-----this part is working -----// _root.createEmptyMovieCli...more >>

action script "tween frames"
Posted by dresden phoenix at 9/8/2004 5:03:21 AM
am not quitesure how to explain myself here. I am using FLASH MX 2004. I have a movie clip ( 15 frames long) , with an action layer. I have Action script code in the first frame of the actionlayer which, I believe, extends through all 15 frames ( I mean if you looked in the action frame...more >>

how can i make super script and subscript
Posted by e_jogendra at 9/8/2004 4:50:36 AM
I think this is very general issue and almost every body face such kind of situation. Now i am developing a glossary for some elearing course. In which i have lot of scientific formulla with super script and subscript(i.e. formulla of water). How can i manage such type of situation. In fla...more >>

Preloader problem with nested buttons....
Posted by kjwilliams at 9/8/2004 4:31:25 AM
Howdy, Got a bit of a preloader problem. I've got a basic preloader using the MX2004 loader, and the basic script of: var pbListener:Object = new Object(); pbListener.complete = function(evt) { evt.target._visible = false; }; myBar.addEventListener("complete", pbListener); ...more >>

Using and extending built-in classes
Posted by Whittaker007 at 9/8/2004 3:44:48 AM
Hi there, I am planning on building a Flash windows environment programmatically by making and extending primitive classes, but I would like to standardise as much as possible - which means making use of the predefined Flash classes Button, Movie Clip, String etc. The Button class can ...more >>

Custome Projector Menu and Window
Posted by samuelfuller at 9/8/2004 3:28:13 AM
Is it possible to customize the projector window, and menu so that when my program executes it can show the menu items of my program and my window panel?...more >>

problem in calculator....
Posted by sosan at 9/8/2004 1:45:54 AM
I'm newbiee in Flash. I'm creating a calculator. I found an example from web (macromedia.com), where it is a basic calculator. i use that as a reference for my calculator. The problem that i am facing is I dont want to use the operator (e.g. +, -, *) to control the result that displayed...more >>

Action Script and levels help needed?
Posted by rickrabe at 9/8/2004 1:38:54 AM
My main swf is called index.swf (level 0). On top of this page, I load another swf called "other.swf" (level 2). Inside of "other.swf" there is a movie clip called "page_videos" with an instance name of "player0". Inside of this movie clip is a media Playback controller with an instance name...more >>

dynamic button help
Posted by Anton_FA at 9/8/2004 12:33:03 AM
Greetings I have created a dynamic button which is a component. It has parameters for the button label and frame label. The button label works fine but not the goto frame label. this is the code that I use for the frame label: -----------------------------------------------...more >>


DevelopmentNow Blog