Groups | Blog | Home


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 > march 2005 > threads for wednesday march 30

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

Rubik's cube ... in ActionScript
Posted by David Stiller at 3/30/2005 11:58:52 PM
Not a question, just an amazing example of ActionScript. You can play with the cube, or scramble it and watch the thing *solve* the puzzle. (Not my work. Wish it was!) http://ericlin2.tripod.com/skew/rubicGame5.html David stiller (at) quip (dot) net "Luck is the residue of g...more >>


flowing dynamic text across multiple text fields
Posted by mattmuller at 3/30/2005 10:46:22 PM
Hi has anyone done this, I want to create a wrap effect to wrap dynamic copy around images, magazine style and do not want to scroll, Ive looked at using maxscroll > 1 but dont see a property to get the number of visible chars so that I know where to break it and continue the copy into txtBox...more >>

detecting if a sound is playing
Posted by ShaneHoffa at 3/30/2005 9:59:45 PM
I have a sound playing that I play useing actionscript. How do I detect if it is playing or not? Thanks, Shane this.createEmptyMovieClip("mcSoundHolder", this.getNextHighestDepth()); var sndAudio:Sound = new Sound(msSoundHolder); sndAudio.attachSound("mySound"); sndAudio.start(); ...more >>

Action script in normal mode in MX 2004
Posted by vldesign at 3/30/2005 9:54:02 PM
Is there a way to go into normal mode in Flash MX 2004 when writing action script? On my program, it defaults inot expert mode when writing script in the actions panel. I'm not quite that good yet. :) ...more >>

while statement to move an object
Posted by darrylfrith at 3/30/2005 9:29:14 PM
I'm using the following code to move an object when a button is pressed. The instance name of the object is mover. This code works however the object moves directly to the new position and I want it to move across the screen. Does anyone know how to make this happen? I think this might be...more >>

Dynamic text field from an external .txt file actionscript?
Posted by caslon1975 at 3/30/2005 9:17:03 PM
Does anyone know what the Actionscript would be to make a dynamic text box pull from from an external .txt file containing a list of names, then have each name on the list switch out at intervals of 5 seconds within the dynamic text box? Does this make sense? Any help is appreciated, thank y...more >>

Reference static component with variable
Posted by ashar2005 at 3/30/2005 8:30:02 PM
Without going into all the details, I just want to refer to a static component by using a variable.... I have several components in a MC, txt_BODY cb_BODY txt_WEIGHT cb_WEIGHT etc.... I want to be able to reference those components by using the value I have in a variable called TITLE whic...more >>

link into XML
Posted by Carlos Gonçalves at 3/30/2005 7:47:01 PM
Is it possible to make a link into XML that goes to a specific frame into flash movie? How can I do this? Thanks a lot. Carlos ...more >>



Path Issues
Posted by angelina28 at 3/30/2005 6:54:08 PM
Hi! I am currently having path issues. I have a scrolling menu bar that won't work unless it is on the main level. I have to actually have this nested in another movieclip that resides on the main level. The following is the code for the down button: y = getProperty("_root.text.content...more >>

function keep recursing by itself....HELP!!
Posted by lost&found at 3/30/2005 6:46:07 PM
hi i wrote this code in a timeline of a clip witch is a mask layer in its child timeline all works great but when the functions are calling another function in the _parent root....called : loadmore. after it is comming back.. all the functions here are recursint themselfs....first buttom c...more >>

Object rotation
Posted by Porsche_2004 at 3/30/2005 6:25:46 PM
Hi, Would you please let me know how a 2D object could be rotated like the action done by transform tools of the macromedia IDE? Thanx, ...more >>

attribute static
Posted by Dominik Schöneberger at 3/30/2005 6:09:45 PM
Hello, I just bought the programm Macromedia Flash MX Professional 2004. I added a button and called it "Button". Than I wrote this code: Button.onPress{ Button._x=5; } If I want to start this script Macromedia gives that error: The attibute which is refered to, does not di...more >>

linking to external .avi from flash
Posted by SC20 at 3/30/2005 4:56:48 PM
Flash MX 2002 Ok i dont know how many times i've looked this up but i can't seem to get it to work. I am making a presentation projector on a CD. I want to have a button on the presentation that when pressed the .avi will pop up and play in windows media player or whatever standard player th...more >>

understanding - attachMovie
Posted by ManinBlaq at 3/30/2005 4:43:15 PM
:confused; Hello, thank you for your interest. Background: Using MX 2004. I have created my own component, and I am trying to create several instances of it through script -- using attachMovie. Problem: I have the component added to my library, but no actual instances on stage. ...more >>

Local Connection and Mozilla/Netscape
Posted by kevin_tx at 3/30/2005 4:30:20 PM
Using IE and Flash 7, am able to use Local Connections to have movie buttons (.swf) control other .swf movies no sweat, whether it be: 'Play', 'Rewind', or 'Pause'. Having said that however, whenever I try using the latest Netscape (7.2) and Mozilla, the controls won't work at all. Is the...more >>

Maximum string length
Posted by LazLong at 3/30/2005 4:24:25 PM
:confused; I've seen another post on this subject which has gone unanswered so I thought I'd pose it again as it's currently pertinent to me. Does anyone know what the maximum string length is in Flash MX 2004? Is there a maximum length? I hope someone out there knows :D ...more >>

How to shorten a line?
Posted by vintagetone at 3/30/2005 4:23:00 PM
I have 2 points (x,y) for the start and end of a given line drawn dynamically on the screen. I need to be able to shorten the line by a specific amount (20), but still have the line pointing at the same direction. I am able to calculate the slope (x1-x2)/(y1-y2). I assume I need that. ...more >>

Uppercase
Posted by a-cross at 3/30/2005 3:41:43 PM
Hi Is it possible to set the characters of a dynamic textfield which I load from an XML file to UPPERCASE only an d this with actionscript? Tom...more >>

Object Pickup Problems
Posted by Rob_jones732000 at 3/30/2005 3:34:32 PM
Hi Just noticed a problem, the object in the inventory disappears when you click on it whether your on a tile 5 or not. Also, im creating more items for the same room but im finding it very confusing with the script and what to add for another item. Could you make the bits bold (make them st...more >>

currencyt formatting problem for all the coders!!
Posted by vikta at 3/30/2005 3:02:04 PM
actionscripters !....... hope everything is all good with you at the moment.... i have another issue in flash which i need to deal with ...... its just currency string formatting ... basically at the moment the the coins are goin down the slide fine but theres a problem with the cu...more >>

The loader component on the timeline
Posted by Al B. at 3/30/2005 2:33:14 PM
I have a time line with 4 key frames and an instance of the loader component on each keyframe. Each loader references a specific .swf. I want each swf to play and then advance to the next key frame and play the .swf referenced by that keyframe's loader. As it stands now it just runs through al...more >>

incremental variables
Posted by daniele capedri at 3/30/2005 2:29:31 PM
hi, how can I create an incremental variable in for cycle? for example: for (var k:Number; k<=total1; k++){ var link add k = this["text"+k]; } :confused; I need help! :o...more >>

More class issues
Posted by chrscote at 3/30/2005 2:24:23 PM
I'm sorry for all the questions about classes, but I have never used the methodology in Flash before. I plan on taking some courses in the near future, but until then, this seems to be the best place to find the answers. Anyway, I have a main Flash file which loads in other Flash files fr...more >>

Help
Posted by TheMadMax at 3/30/2005 2:11:30 PM
I have a short looping .wav music file that is in its own .swf and loaded onto a different level. What I would like to do is control this swf so that when a button is pushed the music will fade out. Any help with this action would be greatly appreciated? THANKS IN ADVANCE. ...more >>

reference a particular layer within a movieclip
Posted by Lucas da Li at 3/30/2005 1:53:10 PM
How can I access a layer within a movieclip? Is there something like "some_var = movieclip.layer1._width;" ?...more >>

loading an external xml file
Posted by krembo77 at 3/30/2005 1:52:12 PM
Hi, I would like to load an external xml file (from a different domain than my where my swf is located) in my flash file. It al works fine when i test my swf on my home computer but when i put the swf online it doesn't want to load the xml file because of the crossdomain security polic...more >>

functionName woes
Posted by poppabear at 3/30/2005 1:42:38 PM
well....after much searching, i realized that both netscape and firefox have built-in javascript consoles (but not IE....go figure). so, here is my next question : i have a CBT lesson....that loads up individual swfs into a loadmovie clip. those .swfs send vars back to the _level0.parent s...more >>

Question regarding flash & Javascript
Posted by geo15 at 3/30/2005 12:56:07 PM
Hello everybody! I have a question that I'm trying a lot to find an appropriate answer! Is it possible to load an html page in the same window that is the flash movie? My flash movie has specific dimensions and I would like the linked html page to appear on the same window....What I know so fa...more >>

Input textfields and embedded fonts
Posted by Vince at 3/30/2005 11:59:45 AM
Hi, I'm experiencing erratic behaviour when dynamically creating input textfields with embedded fonts. (1.) If the textfield is initialy left blank, I can't seem to select it to enter text (no flashing cursor appears). (2.) If, however, the textfield contains some text, I can select it ...more >>

how can I target duplicate MC on level2
Posted by (_seb_) at 3/30/2005 11:19:42 AM
I have a duplicated MC, placed on level2: myMC.duplicateMovieClip("myMC2", 2); Then I tried to control it with these different codes in a keyframe of the main timeline, none of them work: level2.myMC2.stop(); level2.stop(); _level2.stop(); _level2.myMC2.stop(); shouldn't one o...more >>

mouse events+text box
Posted by aquarian911 at 3/30/2005 9:18:51 AM
hi, ok heres the scenario, i have made a simle ticker, an image at top and a dynamic text box on the bottom, and all this is single mc, this is wrkin ok now im trying or rather want the movie to stop on mouse over on the mc.( _root.stop() ) what i have done-> i have made a button ( _...more >>

help!!! on roll over textbox, i want root to stop
Posted by aquarian911 at 3/30/2005 9:02:21 AM
hi, ok here's the scenario, i have made a ticker, which has an image,(createEmptymovieclip()...) and a dynamic textbox which has a HTML string which is a hyperlink, get the picture, everuthing upto here is wrking fine, and all this is single mc. but now i want that if i get mouse on this...more >>

auto load
Posted by zsn at 3/30/2005 8:05:04 AM
Hello! I was wondering if there's a way in flash to automaticly load images that are in one directory into a movie.for example if i have directory "PICTURES" and every time that flash loades a movie it checks if there are any files in that directory and if the statment is true the images are...more >>

Changing screeen Res.
Posted by Stephan Knuesel at 3/30/2005 7:44:17 AM
Dear List I would like to be able to change the screen resolution of the user's computer when he launches and ends the projector application. (Flash MX). This should work for both MAC and PC. The file is designed for 800x600. I know I can read the Screen Resolution and make adjustements ...more >>

Load variables without Flashvars
Posted by chadweston at 3/30/2005 6:14:21 AM
:confused; OK Flashers, Please excuse me if i am being a real muppet, i reckon that my enquiry can be solved by someone with a basic understanding of actionscript, in an instant..... but i am stumped. Right. I have a flash file which is passed variables from flashvar in the html. H...more >>

stop sound between movies
Posted by Yamid
Hi flashers, Does some body know how can I, stop a sound sending the command from one movie to another movie with the loop sound in the same html page? Thanks in advance :) Yamid ...more >>

$10 for rush Flash MX job
Posted by Alliancepaintball at 3/30/2005 3:06:56 AM
It?s a simple one, but I need it done tonight. I need this video, http://www.alliancepaintball.net/Media/int3b.wmv to have a preloader added to it. The flash page needs background color #A0B086 , and in 640,480. The page needs a button to skip the intro/load, and go directly to www...more >>

Returning a value from a function
Posted by Chris Cole at 3/30/2005 3:06:30 AM
I have a main file and an as file. In the main file, I make this call (in an onLoad handler): var vIsMyContentLoaded = _global.gfLoadContentAndRespond(vChildSlide,numSlides); In the as file, I have the function shown in the code attached to this post: You can see that when _global....more >>

loadSound doesnt work
Posted by trovic at 3/30/2005 1:17:46 AM
why I cant play my wav file using the loadSound function? It work well with mp3 files but if I load a wav file it will not play. Is there any way to load a wav file to my movie dynamically? thanks for you replies. ...more >>

HELP - Passing variables from Flash to ASP to Flash
Posted by adman007 at 3/30/2005 12:17:29 AM
hi all, i need to pass values of one or more variables from 1 flash movie (movie1.swf) to another flash movie (movie2.swf). i am using asp (mycheck.asp) as the middle man to pass variables in the background. I have a button in flash MOVIE1.SWF. Onclick of the button it should pass the value ...more >>

FRUSTRATED! trying to put a php variable into flash
Posted by mjportal at 3/30/2005 12:11:54 AM
hi i m trying without success to get a value from a php page called by a flash movie. i tried the following command cause the text file called "estatus" in the movie is nested on many levels... but it doesnt work print "_level2.Symbol120.Symbol63.Symbol54.estatus=Complete!"; ...more >>


DevelopmentNow Blog