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 > march 2006 > threads for wednesday march 1

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

for loop syntax
Posted by TheScarecrow at 3/1/2006 11:50:49 PM
I want to change the following if statement. if (gTotal == 10) { _root.questionnumber1.htmlText = (questionsRecordResult.items.ID); _root.questionnumber2.htmlText = (questionsRecordResult.items.ID); _root.questionnumber3.htmlText = (questionsRecordResult.items.ID); _root.questionnu...more >>


linking to a movie clip with rollOver and rollOut
Posted by dreamlyn at 3/1/2006 11:28:12 PM
Hi I am building new pages for a template and at the same time editing parts of a template. I am trying to link to a movie clip from the front main page. The new page I created was my renaming an existing movie clip to be called 6. Now this movie clip is not on the time line. I made a butt...more >>

Duplicate movie clips frames
Posted by givenUP at 3/1/2006 11:20:11 PM
Repost - Please do help Hello I have 10 images. I import them to separate frames in one movie clip and i give this movie clip name instance "MC". I'm wanting to duplicate the frames so it makes one long vertical stripe by putting one image after another. Like stitched all in one bi...more >>

Preloader for attachmovie
Posted by alien4m_mars at 3/1/2006 10:54:43 PM
hi how can i use a preloader for attachmovie.... i want to attach multiple movies from the library and i want each one to have a preloader.... or if it is possible to load each image from the folder directly using a preloder and placing these images in a line. please help thank you ...more >>

move clip depth problem
Posted by alien4m_mars at 3/1/2006 10:50:58 PM
hi, I am attaching few movieClips form the library and i use "this.getNextHighestDepth" for each. After few frames i attach some new movieClips using "this.getNextHighestDepth"...I want these new movieClips to have a depth lower than the previous ones.... how do i get about this.......more >>

Script play does not loop
Posted by ronhawker at 3/1/2006 10:17:08 PM
I have a short script for starting and stopping a movie with buttons as follows: // This script takes the user to Scene 2 when goScene_btn is released start_btn.onRelease = function() { play(); }; // This script takes the user to Scene 2 when goScene_btn is released stop_btn.onRelease...more >>

Unload Levels problems
Posted by boxfish at 3/1/2006 8:02:52 PM
Im trying to unload .swf movies loaded into levels in another .swf file... flash 8 I have a btn that works fine when the AS is in the loaded movie but Im trying to get it to work from the AS in the parent swf file ... there must be a simple way of doing this ... I must be missing something...more >>

Link to open external PDF file?
Posted by JMcFarland at 3/1/2006 8:00:37 PM
I can't find this ANYWHERE. Can anyone help? I've got a portfolio CD-ROM that I'm authoring in Flash. I want to have a button that will link to my client's resume. He's provided the resume as a PDF file, so I thought it would be easiest to have the button simply launch Acrobat Reader to vi...more >>



onPress / onMouseDown Driving me Nuts!!!
Posted by boxdoctor at 3/1/2006 7:53:42 PM
Ok this is driving me crazy. Time for outside eyes. I have a movieClip that when you click to drag it it moves around a canvas that has preset boundaries. Here's the issue. When I use this.onPress() it calls the this.startDrag() with the boundaries and it works just fine except if you "rel...more >>

KeyEvent if ENTER doesnt work ?
Posted by Jamal S at 3/1/2006 7:43:07 PM
Hello, I hope you are fine :D I have a problem which is kinda of weird I added this code, it trace all the key events on the keyboard only the ENTER doesnt have a code, it worked normal before, I dont know what the problem now, anyone had this issue before ? keyListener = new Obj...more >>

Dynamic Data Using Flash 8
Posted by NetBossUSA at 3/1/2006 6:51:28 PM
We have a debate going here and were wondering what everyone else?s opinion was on what the best way is to display dynamic data from a SQL database on an IIS server on a flash project using Flash 8. I know most people have their favorite way but what is the consensus on the best way (less effo...more >>

Newbie Q: AS scaling a jpeg?
Posted by leistico at 3/1/2006 6:50:46 PM
Hi all .. newbie here, and I've been R'ing TFM 'til my eyes are bugging out on me. Anywho, question. I'm building a banner-sized SWF for my website, and I'm using OS flash tools (i.e. MTASC, Swfmill). I've gotten the thing to show my image, or at least part of it (it's a good-sized jpe...more >>

How do you make a button point to a frame within a movie instance?
Posted by Rising_Suns at 3/1/2006 6:04:12 PM
Hi all, So I want a button to go-to-and-stop on frame#3 in a movie instance (instance name "Bezel"). Here is my code for the button: on (release) { Bezel.gotoAndStop(3); } This is what the help file told me to use, but when I click on the button, nothing happens. I should be seei...more >>

Call a simple funtion seems not to work
Posted by highlander_1 at 3/1/2006 6:00:19 PM
Here?s the problem simplified: Why does call function displaySomething(); work but not changeBackground(); -------------------------------------------------------------------------------- ----------------------- function changeBackground():Void{ loadMovieNum("example.swf",1); } func...more >>

best way to use flash <-> asp <-> mysql?
Posted by doof moof at 3/1/2006 5:58:29 PM
ok so i have used coldfusion before to connect flash to mysql on a local host but then when it comes to going onto the net i find that, hey it's gonna cost like ?5000 (i know i should have checked that out first before months of learning to make CFCs). so now i see that my host comes with iis ...more >>

Method calls from dynamic text boxes
Posted by knucklenutz at 3/1/2006 5:56:45 PM
Hello, Is it possible to link text in a dynamic text box to a method? I have text loaded from an external text document and I would like to link certain keywords in the dynamic text to a function declared in the Flash movie. I know it is possible to link dyanmic text to HTML pages so I a...more >>

Why does ths work?
Posted by jesus102984783093987 at 3/1/2006 5:55:11 PM
This is right out of the help in Flash 8 it works but how, magic?: var firstName:String = "Gus"; var lastName:String = "Richardson"; var age:Number = 92; myBtn_btn.onRelease = function() { getURL("http://www.macromedia.com", "_blank", "GET"); }; How in the world does the query str...more >>

What's wrong with this snippit of script?
Posted by tomservo6 at 3/1/2006 5:20:36 PM
This seems to me to have a simple solution and yet I can't get it to work. I have a simple login/password screen on frame one. It's not pulling anything from a database or anything but is just for testing purposes. There are two input text fields that collect "name" and "password" for variab...more >>

to call a function seems not work
Posted by highlander_1 at 3/1/2006 5:13:22 PM
I?m trying to call a function, but it does not work. Frame1: function changeBackground():Void{ //Change background. New transition in bacground.swf if(home == true){ //Load psycadelic animation loadMovieNum("animation.swf",9); //Background home _level1.gotoAndStop("homeOpen"...more >>

Basic loadVars question
Posted by Jason Cook at 3/1/2006 4:41:12 PM
If I want two links on my page that go to mysite.com/mypage.htm?song=song1.mp3 and mysite.com/mypage.htm?song=song2.mp3 How do I read these values into Flash? Also, is there anything special I need to do to actually use the song variable in my file? Thanks, Jason ...more >>

Adding Frames to MovieClips Created with ActionScript
Posted by speedeee at 3/1/2006 4:29:07 PM
I have created a MovieClip using createEmptyMovieClip but can not figure out how to add frames to this movie clip. How is this accomplished?...more >>

going to new level and using "gotoAndPlay"
Posted by gmerrilllee at 3/1/2006 4:01:25 PM
Here's the code that is supposed to play frame five on the root time line of the movie in level_0. It doesn't. can you tell me why? on (press) { setProperty(_level1,_visible,false); setProperty(_level0,_visible,true); _root.gotoAndPlay(5); } ...more >>

duplicate MC timeline not playing
Posted by FrogCdrom at 3/1/2006 3:24:01 PM
Hi all, When a hot air balloon MC hits an obstacle I want to replace it with a POP! MC and sound effect, but the POP timeline doesnt seem to be working. Heres some of my main code: if (collisionRect) { var pop_mc:MovieClip = mc_pop_master.duplicateMovieClip("pop", 6); pop_mc._x =...more >>

Syntax Error!
Posted by Enroid at 3/1/2006 2:37:31 PM
this._parent.3DStatus.gotoAndStop(25); This is the error message for all 48 thumbnails in my SWF. Does this make sense to anyone?...more >>

HTML param variable + reading into flash
Posted by deerowbear at 3/1/2006 1:53:51 PM
Hi there, I am able to read in HTML paramater values into flash. However, I seem to be running into a problem when trying to mix alpha and numaric values. Here is the code I am using. //This is the html code <PARAM NAME=movie VALUE="ele01_h.swf?myVar=2&UOC=51"> <PARAM NAME=quali...more >>

request help with Variables
Posted by Techauth at 3/1/2006 1:23:03 PM
All, Sorry to bother you with this problem however I have tried all I know. One question before I begin thou, can you set variables between multiple swf's? Background I have my main swf 'presentation main' from here I have a frame labelled 'loadmc'. Within this frame is a empty mc 'l...more >>

Drawing Lines on an image
Posted by Web Student at 3/1/2006 11:56:31 AM
I am trying to draw dynamic lines to create an outline of an image. I have a layer that contains a empty movie clip called Lines. On the first frame of the layer below it, I have the code shown below. Everything works fine when I draw the line outside of the "Canvas", but when I try and draw t...more >>

When to use this.onEneterFrame?
Posted by highlander_1 at 3/1/2006 5:07:16 AM
When to use this.onEnterFrame as eventhandler? Why doesn?t this code work?: this.onEnterFrame = function(){ loadMovieNum("animation1.swf", 9); delete this.onEnterFrame; } ..and when can I use this.onEnterFrame = function() and when should I avoid to use this.onEneterFrame?:confus...more >>

2D array ?
Posted by jezzthisisfull at 3/1/2006 4:43:26 AM
Hi, how can a swf be randomly selected from a group of say 20 possible swfs, played in a movie clip target, then, when it is finished playing load another swf from the same group of 20 without repeating any of the 20 possible swfs before all 20 have been played -- each swf calling up randomly ...more >>

Fade out completely before fade in
Posted by quovadimus02 at 3/1/2006 3:08:09 AM
I'm trying to fade one movie clip out before fading another in using an onEnterFrame clipEvent. Here's the setup. I have 2 movie clips on the stage, mc1 and mc2, to start off with mc1 has an _alpha of 100 while mc2 has a starting _alpha of 0. I also have 1 button on the stage that calls the...more >>

opening levels from folders
Posted by twistedpancreas at 3/1/2006 1:22:16 AM
Ok, I have a swf opening other swf's in other levels with on (release) { loadMovie("inv_but.swf",1); loadMovie("csci/csci114.swf",2); loadMovie("csci/csci114_info.swf",50); } now in csci114.swf a button opens up another swf file called nav.swf in the 3rd level (ie loadMovie(...more >>

Class programming help.
Posted by subSE7EN at 3/1/2006 1:15:20 AM
Hi, and thanks for reading! First off I'll mention I am developing an application for the web, intended for Flash Player version 8. I'm creating a preloader class extending the MovieClip class, which will preload multiple files and track their progress displaying it on a loading bar I cr...more >>

MX 2004 not compatible with Flash 8?
Posted by kyle mccrocklin at 3/1/2006 12:30:11 AM
I am trying to create a chromeless pop up when on the release of a button. I have found some tutorials and other helpfull information at chromeless.org. All of them work in Macromedia Flash MX 2004 but when i try to do it with Flash 8 it will not work. I am not very familiar with javascript so...more >>

fullscreen .flv for CD ROM ???
Posted by epic306 at 3/1/2006 12:14:48 AM
Hey guys, I'm building this flash project for CD ROM, there's a few videos that when clicked I want to play regular size, is there a way to interact with the video to toggle between fullscreen? I've accomplished this in the past using Director, when you click on the video it will open ...more >>

random frames? help
Posted by blaarrrgh at 3/1/2006 12:00:00 AM
heya! How do I random frames in a movie clip??? I have a movie clip on my scene1 timeline, which I want to random its frames... can anyone help me out? cheers!...more >>

problem of retrieving results from Google API through Actionscript
Posted by Antonio_82_ at 3/1/2006 12:00:00 AM
hello everyone. I am developing this flash interface for Google through its API and there's something wrong which I can't find it. Basically within the code I have inserted a WebServiceConnector that connects to the Google when the search button (btnNext) is pressed. The problem is that, a...more >>

htmlText and anti-Alias for readabilty, Bug!
Posted by Pandan at 3/1/2006 12:00:00 AM
I am having problem when using .htmlText and .antiAliasType = "advanced" When using this text data. "This is a link: <a href="asfunction:_root.showWindow">Link</a>" This should display --> This is a link: Link But when using antiAliasType = "advanced" it sometimes displays: This is a...more >>

How on Earth should I code this?
Posted by Enroid at 3/1/2006 12:00:00 AM
Hi I have 4 buttons, each of which tell a media player (who's instance name is mediaplayback) to play a different MP3. I don't want the buttons to restart the MP3 if it's already playing when clicked. Please help! I've tried all forms of IF coding but none of them work. ...more >>


DevelopmentNow Blog