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 > december 2005 > threads for thursday december 15

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

Testing if a movie clip exists
Posted by lafoy01 at 12/15/2005 10:33:05 PM
i have a movieclip called 'window' i have a button, when you press it, it creates a new movieclip and attaches the window movieclip to it the button then calls a function, which loads a picture into it. _root.createEmptyMovieClip("two",_root.getNextHighestDepth()); two.attachMovie("wind...more >>


Launching PDF from Projector file using fscommand
Posted by Ted Fitzpatrick at 12/15/2005 7:44:59 PM
Hi, I plan to distribute projector files (PC and Mac) on a hybrid CD burned from the MacOSX Finder. I'd like for a button in my Projector to launch a PDF file in whatever app. I found a free solution called "Proxy" developed by Northcode. Northcode developed an exe file that looks at i...more >>

dynamic content in browser failing
Posted by j_rudy at 12/15/2005 6:47:17 PM
Ok, this is probably a stupid question, but I'm pulling my hair out. I have a movie that's loading images through an xml file. When I test it on a local PC in the flash environment, it works fine. On my mac, it gives me a failed to load (image name) message in the ouput dialog box. When I test...more >>

"_parent._parent.gotoAndPlay("somewhere");
Posted by Read_Margot at 12/15/2005 6:44:07 PM
I am trying to use this code on a button in a MC in a scrollpane. I want the button to send the user to a totally different scene in the site. [I need the button to send outside of pane] What can I put in the parentheses that will make it do this? ("Scene" , frame); doesn't work at all and i...more >>

scrollpane
Posted by stepsi at 12/15/2005 6:21:52 PM
Hi, My problem is simple but I don't have any solution. I create a scrollpane and I attach a movie inside named test1: mc_scrollPane.spContentHolder.attachMovie("test", "test1", 3); It's working, I see the scrollbar. After that I move the MovieClip test1: mc_scrollPane.spCont...more >>

Cue points and Parameters
Posted by epic306 at 12/15/2005 6:05:56 PM
I'm trying to understand setting Cue points for a flv. I have a question when encoding a flv with cue points ( progressive download) I basically have a 3min flv with 4 event cue points, I gave it a name, time, and "event" type. When each cue point is reached it will trigger (gotoAndPlay a ...more >>

create buttons as a keyboad and input field updates
Posted by sscoder at 12/15/2005 5:42:35 PM
Here's what I 'm trying to do. I am using Flash MX. I have a kiosk which I want users to type in their information. Problem? There is no keyboard. This is all touch screen. I am trying to create buttons to represent the keyboard and when pressed that letter will display in the input text fie...more >>

onLoadInit failing - due to caching?
Posted by CDXX at 12/15/2005 5:03:37 PM
I am running an app both locally and across the net. It involves loading movies in and out of a level, an monitoring them with onLoadInit. The second time I load a movie across the net, onLoadInit fails completely. It's fine on my local machine. this.movieClipLoader.loadClip (this.required...more >>



Deconstructors in Flash
Posted by crebstock at 12/15/2005 4:46:11 PM
Is there any notion of a deconstructor that you can override for a class in AS 2.0? I looked through the help documentation but didn't find anything specifically mentioned about it....more >>

Var
Posted by rochribre at 12/15/2005 4:41:53 PM
I want to put a var in teste_0(var)._alpha=0, anybory How I do this. var cont1 = 0; while (cont1 <= 10){ teste_0cont1._alpha=0; cont1 = cont1 +1; } thanks....more >>

TabIndex and focus back to Address bar
Posted by Forum User, UK at 12/15/2005 4:16:24 PM
Hi I'm have a collection of movieClips that are used as buttons. The movieClips are spread over several Flash _levels. I find that in Flash 8 the focus does not return to the address bar in the browser after the last tabIndex in the movieClip. Does anyone know how the tabIndex can ...more >>

mouseEnter??
Posted by jimmy_milk at 12/15/2005 4:06:46 PM
I have a movieclip that after 10 secs it will play a sound if the mouse is rolled over it. what code is used so if the mouse is all ready rolled over, it plays the sound anyway? mouseEnter?? Because at the moment if the mouse is aready on it and it gets to the key point, the user has t...more >>

loadVars in browser
Posted by Alex Lupus at 12/15/2005 4:02:37 PM
I?m setting a page that is always checking for an update on a mySQL server so i have a php page that delivers the info to flash through loadVars. Everything works fine the first time BUT if the information on MySQL is updated it never changes in Flash... The strangest part is that in "test mov...more >>

Creating a draggable textField
Posted by Grime-P at 12/15/2005 3:01:04 PM
I'm an experienced developer so have tried the obvious. I'm trying to create a component that essentially consists of a TextField instance that contains anchor tags in htmlText... ie, there are hyperlinks in the text. It also needs to be draggable, and detect RollOver and Rollout events. The ...more >>

XML.appendChild doesnt wok properly
Posted by danny at 12/15/2005 2:34:43 PM
hi i have big problem and i cant solve it myself please help i have something like this : var myXml:XML = new XML(); var newXml:XML = new XML(); myXml.onLoad = function(){ for(j=0;j<myXml.firstChild.childNodes.length;j++){ var element1:XMLNode = myXml.firstChild.childNodes[j]; newXm...more >>

Help Please! One button to toggle sound on & off
Posted by Portimao at 12/15/2005 2:27:09 PM
I have included this script to load an external mp3. on (load) { mySound = new Sound() mySound.loadSound("http://www.bertmoniz.com/music.mp3", true); } The sound plays fine. I have created one button to toggle the sound on and off. What script do I use to do this. I want the song ...more >>

mouse over - vertical scroll
Posted by dirkness at 12/15/2005 2:22:38 PM
Hi I'd like to recreate the vertical scroll movement on the previous / next button here: http://www.stewartmcmillan.co.uk/ I've used 2 different movies for the mouse over / out states - and inserted them in the over / down button states - but it's not working as it should. Any i...more >>

text length???
Posted by Brian at 12/15/2005 1:25:20 PM
I have the following function to run my hover captions: captionFN = function (showCaption, captionText, bName) { if (showCaption) { this.attachMovie("caption", "cap", this.getNextHighestDepth(),{_visible:false}); this.createEmptyMovieClip("hoverCaption", this.getNextHighestDepth()); ...more >>

Problem with Depth
Posted by Chris Goodiel at 12/15/2005 12:56:00 PM
I have a problem with a movie that I am making. I am importing html text and placing on the stage with getNextHighestDepth. I run into a problem where I need another movie that is already placed on the stage to be at a higher depth than the text so that when it shows up it slides over part of...more >>

How can i use gotoAndPlay in the Movie Clip
Posted by Rajula at 12/15/2005 12:13:08 PM
Hi, There is a problem in gotoAndPlay script:... In my file there is two scenes. each scene animation in the movie clip so u can see in the scene only one frame but there is problem when i click a button in the Scene1 it should play the Scene2 animation(animation is in the movie clip...more >>

M.C. btn not firing first time
Posted by jonnybennett at 12/15/2005 12:09:20 PM
For some reason I have to hit stat5 button 3 times before it kicks in. Once it has kicked in as it were, you only have to hit it once to toggle between the 2 states. I thought that this might be because it was having to fire up a few times for the load Vars. However it appears to be because o...more >>

How to set embedFonts property for all of the TextFields at the same time?
Posted by Parham.G at 12/15/2005 11:38:41 AM
Hello, How to set embedFonts property for all of the TextFields at the same time? Regards, Parham...more >>

MySql records in Flash MX2004
Posted by PDS at 12/15/2005 11:15:38 AM
Hi, I just can't figure out how to display records from a MySql database into Flash. This is the code I use to display the records in a .php page : <?php while($rij = mysql_fetch_array($rs)) { echo ($rij[name]);?> - <?php echo ($rij[role]);?></td> echo "<a href=\"mailt...more >>

Returning a XML Object
Posted by dNomade at 12/15/2005 11:11:07 AM
Hi! I am designing some AS2 classes, and two of them are XMLReader and XMLWriter. By design I want to seperate the data layer from the presentation layer. I have tried to access the XML data in the XMLReader class successfully, but when i try to send back the data to the "model" class it c...more >>

Different MovieClipLoaders associated with different onLoadInit & onLoadProgress?
Posted by Brian at 12/15/2005 10:45:00 AM
I would like to have two MovieClipLoaders in my movie, because I want the onLoadInit and onLoadProgress actions to be different based on what is loading. I have the following in the beginning of my AS: // new moviecliploader to load our thumbs var thumb_loader_mcl:MovieClipLoader=new MovieCl...more >>

loadmovienum problem
Posted by mplekrina at 12/15/2005 10:38:22 AM
hi i m trying to load an external swf with loadmovieNum("mymovie.swf", 1) ones the movie is loaded it appears on top of my menu and lings my question is how to load the movie at a specific layer . ...more >>

mouse x y
Posted by Jadsabeh at 12/15/2005 10:19:19 AM
i am making a movie clip i need 2 postion the mouse in some x value and y value in the movie clip while the mouse is hidden "Mouse,hide()" any idea on how doing this?...more >>

In and Outport
Posted by helpmy.. at 12/15/2005 10:19:06 AM
Hello, I will explain the sitiusion: I am working on a scool project, we are working with Java, trou the LPT port, with buttons from outsite. Zo whit REAL buttons you can touch, in Java it is possible (afcourse). Bud I know that you can give the buttons in Flash to react on key press.....more >>

i can not use Jsave
Posted by openMiand at 12/15/2005 6:55:49 AM
hi i have flash7 and i need to save text from flash to text file i read that JSave can help me but i can not use it i work in windows Environment can any one help me...more >>

Help with onKeyDown or Listners
Posted by Chris Goodiel at 12/15/2005 4:48:46 AM
Earlier I asked for help on having a scroll bar snap to "X" amount of positions and have that control a movie going frame by frame and thanks to kglad and charlie656 I was able to make it work for my movie. Now after I got that going I ended up taking the snapping off atleast I hope I commente...more >>

keeping an instance of an MC at the higher
Posted by Vee at 12/15/2005 2:14:29 AM
I have afew buttons that use: this._parent.attachMovie("myMC", "myMC_mc", 1); to place different mc at the same depth (as to kick the last selection out and replace with the new one) What I am having trouble doing is keeping an mc thats already on my main timeline always higher than z-ind...more >>

Is my video code too slow?
Posted by MatthewFord at 12/15/2005 1:55:40 AM
Hi everyone. I can use some help from an experienced developer who can take a quick look at my methods and say if I am doing something stupidly that makes my app run slowly, or if the code is decent and I am just making poor Flash try to do the impossible. To start with, imagine that on my...more >>

Button being "held down"
Posted by Dinghus at 12/15/2005 1:37:10 AM
Basically I want to move an object with a button. So if the user keeps the button pressed, the object keeps moving. Is there a "while button pressed" type of command I can use or do I need to do the clunky method of an event listener for the button pressed and then another for button rele...more >>

Compile Error 1141
Posted by Abraxas77 at 12/15/2005 1:00:19 AM
Version Info: Flash 8 Proffesional / Actionscript 2.0 Issue: Importing classes from the mx package causes a compile error (1141) : The name of this class, '<A.B.C>', conflicts with the name of another class that was loaded, '<A.B>'. Details: For a specific example, I attempted to...more >>

How to ignore Escape key
Posted by Amcasperforu at 12/15/2005 12:12:52 AM
Hi to all, I used the fscommand("fullscreen",true) in my application to make it fullscreen. However when the user presses the Escape key, the window goes into the normal view. Is there any way of disabling the Escape key to make my movie in fullscreen all the time? and the only way to quit...more >>


DevelopmentNow Blog