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 2005 > threads for thursday august 25

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

Dynamic paths written in dot notation
Posted by bigstar1 at 8/25/2005 11:36:26 PM
I've googled this to no end...and I still don't understand why its not working... _global.hairButton = function (hair){ for (x=1; x < 9; x++){ hair[x].gotoAndStop(1); // Wont work hair1.gotoAndStop(1); // Works hair2.gotoAndStop(1); // Works } } Any...more >>


erratic button functionality
Posted by scriptKid at 8/25/2005 11:36:05 PM
I have a 5 frame diagram that dynamically plots the location of a weather station and a vector corresponding to the wind speed and direction for 4 times of day. (frames: intro, 2am, 8am, 2pm, 8pm). There are four buttons that correspond to the four times of day. Upon loading, the buttons will ...more >>

wildcard
Posted by protocadd at 8/25/2005 11:34:36 PM
My stage contains over 300 movie clips. All their instance names start with "STR" (eg. STR01001, STR90564, ect.). I would like to simply like to change all of their _alpha values in one swoop using actionscript. Is there any way of accomplishing this with a few lines of code??? instead of doi...more >>

Does No One Know How To Do This!
Posted by WarriorBride at 8/25/2005 11:01:33 PM
I am trying to get my audio to play in the default audio player of the one browsing. Or, I would be ok with just Windows Media Player. But know one has been able to help me with this. What is the actionscript for the button that they press on to go to that audio file in a audio player on th...more >>

I cant get the start button to work
Posted by momentae at 8/25/2005 10:46:34 PM
Im new at this and buttons still confuse me, and im using a button to start my movie. ive got it all figured out except the part where it says in (startingPoint:Number). what do i put there? do i put the frame # it starts on for starting point? and i have no clue what to put in the number slot...more >>

loadMovie - getting it to work in browser
Posted by CBecker at 8/25/2005 10:36:16 PM
I recently went through the mill getting the loadMovie to function. Here is something like what my code looks like when it works: loadMovie("flash\\myMovie.swf", "container") With my recent project, I needed to use loadMovie() - I started it by using the following code: loadMovie("m...more >>

ActionScript 1.0 vs 2.0
Posted by cre8ive1974 at 8/25/2005 10:14:49 PM
I am new to ActionScripting...VERY NEW and and am interested in learning it. I have the highly recommended ActionScript for Flash MX the Definitive Guide by Colin Moock. Should I even bother reading through this book? Is ActionScript 1.0 obsolete? Should I get Essential Action Script 2.0 by...more >>

Dynamic .txt updating?
Posted by withhisstripes at 8/25/2005 9:15:49 PM
Heya, If you go to www.hookweb.net/testing/index.swf and click on the 'contact us' link you'll see the word 'undefined' where my dynamic text box is told to display my external 'contact_us.txt" file. So rather than having it display my 'contact_us' file, it says 'undefined'. Can someone...more >>



XML photo gallery
Posted by Marco A. Muñoz C. at 8/25/2005 8:39:57 PM
Hi to all!! I´m traying to do a photo gallery with xml. Anybody can help me? Or send me a link to download the file Regards PMI - p h a n t a s i a m e d i a i n t e r a c t i v a >> http://www.pmi.com.pe marco a. muñoz carranza [ coordinador multimedia ] >> tel + ...more >>

OT- Easing Into OOP
Posted by AwesomeDigital at 8/25/2005 8:25:20 PM
I am just getting into learning about classes, so I thought I would try to learn more about design patterns. After searching around a bit, several people seem to rave about the book ?Design Patterns - Elements of Reusable Object-Oriented Software?. Well, the book came today and after flipp...more >>

ActionScript VS. Lingo
Posted by cre8ive1974 at 8/25/2005 8:15:46 PM
I know both have advantages and disadvantages, but which language is easier/ friendlier/ more powerful? any opinions? Thanks...more >>

ActionScript for Lingo...anyone
Posted by cre8ive1974 at 8/25/2005 8:13:17 PM
New to ActionScript........ Is there anything in ActionScript that would be similar to this lingo statement? on mousedown me sprite(2).member = "Blue" end Thanks. ...more >>

Please help
Posted by WarriorBride at 8/25/2005 8:12:29 PM
I know in Dreamweaver it is simple to get a link to shoot you to the default player of any video or audio that is within the site. How do I do this inside Flash. I have a button and want it to play the audio in the browsers default player when pressed. How do I do this? I have tried all th...more >>

Testing images loaded
Posted by vncntj at 8/25/2005 7:47:25 PM
I want to see if the photo._witdth is not equal to zero so that i can move onto to placing the images. var num:Number = 4; var i:Number = 1; function doit() { this.onEnterFrame = function() { if (i<=num) { var moo:MovieClip = createEmptyMovieClip("photo", 3); moo = loadMov...more >>

Download file button?
Posted by withhisstripes at 8/25/2005 7:30:56 PM
Heya, I am trying to create a button, that, once clicked, will download the linked file. I know this is a no brainer, can anyone help? -Spence...more >>

loadmovie depth problem
Posted by RIA Flasher at 8/25/2005 7:04:11 PM
I have a movieclip that has various interface elements in it ,text fields, images etc, I also have a movieclip that sites beneath all these interface elements. During runtime a jpg image is loaded into this movieclip. The jpg acts as a background for the panel. however when I load the jpeg...more >>

Log-In problems... Flash MX2004PRO
Posted by krazykid035 at 8/25/2005 6:31:56 PM
Hi i have a flash banner that will be loading on the top of every page of a website. In this banner there is 2 text input fields, one for the Username and one for the Password. Along with it is a button which will be used to send the information. The username and password are all in a sec...more >>

Double movieclip code
Posted by jimmy_milk at 8/25/2005 6:26:54 PM
I have some actionscript that makes a chosen movieclip (preditor) run after a anouther1 (victim) and eat it. The problem is I want two preditors. I tryed just copying and pasting the code into a new timeline and just change the attach movie code to the other preditors name i.e. adam, but It ...more >>

clickable movieclip with loadMovie?
Posted by alphaest at 8/25/2005 12:47:35 PM
Hi! I make a flash to show news and there is a banner. The banner is one movieclip object with a external image. Now i need to make the movieclip onhover cursor to hand and when the user press there, a event will fire. how? i tried to make a button and add there movieclip, but then...more >>

Text field problem in Flash MX 2004.
Posted by Creative Ravi at 8/25/2005 12:17:05 PM
Hi Friends, I have a text field. I have applied selection.setfocus but its not working. Have anyone idea about it, I am giving sample code that i have used, If there is any other method plz tell me. I am using Flash MX 2004. Selection.setFocus("txt"); ...more >>

_visible = false does not work
Posted by Andreas Buchner at 8/25/2005 12:03:56 PM
I load an external .swf with the following script _root.ct_test.loadMovie("movtest.swf"); The I use _root.ct_test._visible = false; But some elements of the loaded movie remain visible. In this loaded movie there are buttons created with for...next and _root.ct_test.rals0.duplicateMovi...more >>

dynamic buttons to go to particular movie
Posted by pandey at 8/25/2005 11:51:58 AM
Hi Guys, I have around 20 Movies (swf) in sequence eg .. movie1 to movie20, I'm calling them one by one into a master movie with the below script this.createEmptyMovieClip("canvas_mc", 1); canvas_mc.loadMovie("script-1.swf"); I have two buttons on the master movies next and previous. H...more >>

Feedback Form, with radio buttons - HELP!
Posted by rustler2001 at 8/25/2005 11:42:23 AM
I am in desperate need of a quick solution. I used to do flash a few years ago, but havent done much of it in the last 12months+, and i need a feedback form that will have a text field for the user to put name, telephone and a few more, like address, sex, etc. Then i need to have 8 questions, ...more >>

Make one movieclip do what another one does
Posted by citygamer at 8/25/2005 11:06:25 AM
is there a simple script witch makes one movieclip do exactly what another movieclip does, like say the first one moves left thres action script the other won dus the eact same movment at the exact same time but on a differnt bit of the stage? ...more >>

decipher my movie
Posted by willx at 8/25/2005 10:27:33 AM
hi, i got a movie of flashkit and tried to convert it for my own needs. It's a picture slider. The problem is i can't work out where the code is that is postioning the pictures in the movie. the pictures end up in the wrong place and i can't find out how it's doing. It is possible someone can...more >>

XML
Posted by nvinod at 8/25/2005 9:58:35 AM
Hi, I have a problem of calling a method which is a member function on a particular class. The class has one method which does loading of an XML file and another method to display error message. What I am trying to do is once the XML file is not loaded successfully I am trying to call the...more >>

getURL to open new window
Posted by 200k at 8/25/2005 9:29:13 AM
Is it possible to open a URL in a new browser window from Flash with no titlebar, toolbar, statusbar, scrollbar, menubar and at a set size. I also need to give the new window a name. any help appreciated. ...more >>

no addpage with movie clip
Posted by mikechampa at 8/25/2005 9:10:42 AM
I am able to print the stage (level 0) using the code below. However, substituting 0 with the name of the movie clip in the addpage command results in no page added to the print job and no print outs. What am I missing? printbutton.onRelease = function() { var pj = new PrintJob(); ...more >>

Can I stop sound after loading it from library?
Posted by Creative Ravi at 8/25/2005 7:23:12 AM
hi friends, I have a project CBT in which i want to load sound from library and also want that when user pause it it should stop on its current position and when user play it, it should play again from its current position and not from starting, just like when we place a so...more >>

check if loader component has loaded image
Posted by OniLink at 8/25/2005 7:22:32 AM
Hi, I'm using this code to check if various loader component have loaded an image: if (list[tv1].shell.bytesLoaded == list[tv1].shell.bytesTotal) { v++; //moves to next pic loader gotoAndPlay(5); } else { gotoAndPlay(7); } It gets through all this... but when the loaders...more >>

Why is grass_mc._x still zero?
Posted by Andrea Hubacher at 8/25/2005 7:08:12 AM
The function "fsquare" draws a filled square at the coordinates (x0, y0) with size (w,h). Tracing shows that position and size coordinates are recognized in the function. Also the square appears on the stage as desired. However grass_mc._x shows still as zero. Why has grass_mc._x not the value...more >>

Go back to the frame you left from
Posted by xsvtoys at 8/25/2005 1:02:11 AM
I would love to accomplish this trick if i could figure out how. This is a simple single-scene project with a number of frames. Mostly the user navigates back and forth among the frames using "next" and "back" buttons - this is no problem. What I would like to do is have a button (scri...more >>

Setting Level Number for a Movie Clip
Posted by timpsmith at 8/25/2005 12:34:30 AM
I'm using a the duplicate movie clip action and the new clip is being placed over top of a movie clip which is on the stage that I need to see - even though the "new" movie clip is specified to be created on level 0 of the movie. Can I use action script to change the level of a movieClip which...more >>

Setting Level Number for a Movie Clip
Posted by timpsmith at 8/25/2005 12:34:26 AM
I'm using a the duplicate movie clip action and the new clip is being placed over top of a movie clip which is on the stage that I need to see - even though the "new" movie clip is specified to be created on level 0 of the movie. Can I use action script to change the level of a movieClip which...more >>

How to turn SWF sound on/off in HTML
Posted by esper1 at 8/25/2005 12:20:29 AM
Hi I'm making a html site (no frames) which has an embedded swf player which plays a swf music file when the page loads. Users can click "off" to stop it or "on" to reload / play. How do I set things up so that when the users goes to another page (with the same embedded flash player) i...more >>

Damn preloaders
Posted by Anth2003 at 8/25/2005 12:00:00 AM
I have made a movie using pageflip v2... and in an effort to avoid the problems I seem to always have with preloaders I decided to use a slightly modified version of their preloader. But unfortunately I have once again run into trouble. The preloader connects to the external SWF with no tr...more >>

Get number of instances within MovieClip?
Posted by SeanMcAuliffe at 8/25/2005 12:00:00 AM
Looking for a way to retrieve the number of movie clip instances that reside within a given movie clip. I've tried messing around with Depth functions but these aren't swfs loaded into another swf, so they don't seem to work correctly. Is there a property of the MovieClip class that pertains t...more >>

count characters in flash
Posted by rspowers at 8/25/2005 12:00:00 AM
im an trying to count characters in my dynamic text field. i am creating a text file that my users will be able to enter in any text they choose, but if they enter in one or 2 words, the text is aligned on the top row and i want it to be in the center of the text field. what i want to do is ...more >>

Getting audio to open in Windows Media Player
Posted by WarriorBride at 8/25/2005 12:00:00 AM
Well, I have a audio file that I want to open in Windows Media Player, or the browsers default player when they click on one of my buttons. How do you do this?...more >>

GetURL fails with Mac projector and Firefox
Posted by Alejandro Ramos at 8/25/2005 12:00:00 AM
I have a flash projector that uses getURL to open a browser window and show a web page. If the default browser is Firefox, the browser launches but it doesn't got to the requested page. Any pointers? Thanks in advance Alejandro. ...more >>

loading external movie into a empty movie clip
Posted by mslproductions at 8/25/2005 12:00:00 AM
I have a variable (tempName) that contains the name of the swf that needs to be loaded. the swf is loaded into a empty clip (_root.loadhere) on my _root timeline. the code below works if the movies are in the same folder function nextSwf(){ loadMovie(tempName,_root.loadhere); } ...more >>

MediaDisplay component's problem
Posted by dyhotAngie at 8/25/2005 12:00:00 AM
Hi all I'm looking to access to FLVplayer class properties? to change somme property and to access onStatus event of the netStream component ? I success to to acces property bufferLength and bufferTime. But it seems impossible to change bufferTime. I try to change it by duplicate the media...more >>

Retrieving a mc name
Posted by forumnotifier at 8/25/2005 12:00:00 AM
I have some code within a mc, and I wish to use the mc name as a variable. I am not sure how to get the value (the name of the mc). This should be pretty simple, but I can't seem to figure it out. Anyone? ...more >>

Progress Bar for Component
Posted by scottyo at 8/25/2005 12:00:00 AM
I have modified an accordion component to create a navigation system and published it as an swf (64K). I then use flash forms with the progress bar and loader components to load the first swf. When I simulate download at 56K and DSL the progress bar moves like I would expect it. However, ...more >>

Conditional Novice
Posted by greatscott90 at 8/25/2005 12:00:00 AM
I am trying to run a conditional statement in action script as follows: I have already defined titanium:boolean=true and silver:boolean=false trace (titanium) trace (silver) if (titanium=true){ gotoAndPlay(105); trace("105") } if (silver=true){ gotoAndPlay(100); trace("100") ...more >>

Conditional Novice
Posted by greatscott90 at 8/25/2005 12:00:00 AM
I am trying to run a conditional statement in action script as follows: I have already defined titanium:boolean=true and silver:boolean=false trace (titanium) trace (silver) if (titanium=true){ gotoAndPlay(105); trace("105") } if (silver=true){ gotoAndPlay(100); trace("100") ...more >>

not hit test
Posted by citygamer at 8/25/2005 12:00:00 AM
this is simple, i know you can do if(this.hitTest)){ but is there away to do it as if (this.NOThitTest)){ just simple i was just wundering if there is!!!...more >>

backspace text problem using named anchors
Posted by alexc at 8/25/2005 12:00:00 AM
BUG: If you have a movie with an input text field, you will no be able to use the backspace key to edit it once published using named anchors. Instead you jump to another page, as if you had used the Browser's (IE6 in my case) back button!! This is a serious issue -as it precludes using m...more >>


DevelopmentNow Blog