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 > august 2004 > threads for monday august 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

Setting a varible from an array
Posted by Scott Filloon at 8/30/2004 11:24:59 PM
Ok, most of you will probably think this is elementary but I've been pulling my hair out all night over this;-) I need to set a variable based on the value of an array. The array item is selected from a random number. arrayItem[0] = yes arrayItem[1] = no arrayItem[2] = maybe The vari...more >>

Are Assignment Operator functions needed?
Posted by Kletian at 8/30/2004 11:14:31 PM
I've done a lot of work with C++ and I recently started programming in Flash. I've created 2 variables of a self made class, which I expect to have them overwrite each other frequently to syncronize their member variable values. If a had two variables Foo and OverwritingFoo, both of the sam...more >>

How to position a loaded movie on a different leve
Posted by anant31 at 8/30/2004 10:12:10 PM
Using actionscript, I have to load a swf movie on a higher level at a specified location. Can this be done? If so, can anyone give me some advice? Thank you in advance. -Anant...more >>

custom classa and mc.
Posted by rodrigo augusto at 8/30/2004 9:14:57 PM
hi all.... i'm just learning oop with flash 04 and came across this: if i have a class, let's supose "box".... how can associate this class to an instance of a mc on the stage named myBox?? or more generic how can i associate a custom class that i creted with a mc in the stage? t...more >>

shape tweening using flash
Posted by anant31 at 8/30/2004 9:13:53 PM
I have researched the web and help topics within the macromedia flash program and I could not find a way to shape tween two objects using actionscript. These objects(grahics) can be on separate layers or the same layer. Is this possible? If so, can anybody please assist me? Thank you ...more >>

math.sin function not working
Posted by Mark16 at 8/30/2004 9:08:21 PM
Does anyone think that the math. functions are a little whacky? I just cant seem to get them to work properly with variables. I have two variables: velocity and angle. Both variables work correctly with simple math calculations. The formula I am trting to accomplish is: maxT=2*velocity*...more >>

FlashMX : create dynamic menu with xml
Posted by Jonnhy at 8/30/2004 9:03:40 PM
Hi everyone, I have a big problem : I need to create a dynamic menu from an xml file. So the menu and submenu gonna depend on what is in the xml file. This menu must expand and collapse !!!! Please Help !!! ...more >>

MMSave(source,"filename")?
Posted by Kihriban at 8/30/2004 9:01:30 PM
I was searching online, and I found this function. Does anybody know of it, or how reliable it is? From what i've read, source can be a string or the name of a movieclip, depending if you want to save in txt or swf format. And then filename is the file path, name and extension to be sav...more >>



Uploading Files Through Flash
Posted by Kihriban at 8/30/2004 8:52:59 PM
Is there anything in flash that allows you to upload a file to a server, sort of like the html command <input type=file> ? Kih...more >>

affecting properties of all objects with a loop?
Posted by Lone H'uevo at 8/30/2004 8:43:05 PM
Hi Just curious if there is a way to loop through all objects (buttons, movieclips etc) and affect a property in each one of them. For example, when someone clicks on a button on(press) { // change ._x value for every object in the flash movie including all other buttons, movi...more >>

button action with a delay
Posted by vostefan at 8/30/2004 8:39:02 PM
I have a button with multiple (simple) actions attached. I would like the first action to start immediately, but I need a delay (2 sec) before performing the second action. Can anyone explain me how to do this ? These are the actions mentioned : on (release) { _root.navigatornl.movma...more >>

rotate to point to the mouse coordinates?...
Posted by (_seb_) at 8/30/2004 7:33:20 PM
Hi all I have an MC in the center of my movie. The MC represents a clock. I want the hour hand of the clock to rotate so as to always point in the direction of the mouse cursor. I can't come up with the proper function to transcribe the mouse coordinates into a rotation variable that wil...more >>

Access a MC on a different level via variable?
Posted by Pixel_Pixie at 8/30/2004 7:22:48 PM
ok I have a variable on _level1 called current. It contains the string "hello" for example. Now I want to access the mc hello on level 5 but only using the variable called current. I tried this but it doesn't work: _level5.current.gotoAndStop(1) //this doesn't work _level5.hello.go...more >>

I am starting to get ticked off . . .
Posted by thebugnut at 8/30/2004 6:29:17 PM
I have been searching all day now for a way to launch a PowerPoint presentation from FLASH and I have come up with nothing. I need some help. How come Macromedia does not provide a simple way to link to external files????? I need some help ASAP, iny info would be great! Thanks Pe...more >>

function syntax
Posted by macron at 8/30/2004 6:10:44 PM
i have a button which loads .txt files into a dynamic text box: on (release) { loadText = new loadVars(); loadText.load("bio.txt"); loadText.onLoad=function(success) { if (success) text_box.text = this.clearDoubles(bioText); } } one of the flash fo...more >>

time and flash
Posted by (_seb_) at 8/30/2004 5:50:36 PM
Hi all I want to write a script to the effect of: every 5 seconds do this; after 3 seconds do this, then wait 10 seconds and do that; what's the action script vocabulary/syntax for that kind of actions?... Thanks for your help...more >>

Using Flash in Visual Basic 6
Posted by DJAnim8 at 8/30/2004 4:45:57 PM
I'm using the Flash.ocx to put a flash file in a vb program. Has anyone tried this before? this is my first time with VB and Flash. I want to dynamically load a jpg into a movieclip thats nested 2 deep (_root.myMC.showGrahpic) is where I want it. Anyone know how to do this? ...more >>

Looping an actionscript whilst the mouse is pressed down...
Posted by Bonge Boo! at 8/30/2004 4:29:06 PM
This ought to be completely self-evident but I'm stuffed if I can see an answer. I want to execute some code whilst the mouse button is depressed. I would rather execute the code one per frame. If thought it would be easy to create something like: onClipEvent (enterFrame) { thi...more >>

NOOBY Q, multiuser thingy
Posted by Gionex at 8/30/2004 4:27:34 PM
I know this is a really NOOBY question, but were do i start if I want to start making multiuser applications with flash (lik www.habbo.co.uk). I tried using the moock unity server thing. But i do not understand any of it. Were do I start? ...more >>

ColdFusion interaction
Posted by chrism59 at 8/30/2004 4:23:59 PM
I am trying to connect Flash MX 2004 pro fo coldfusion. can anyone tell me how to do this. I don't want to feed to components. I need to pull data and work in actionscript with the returned data then write back to the database and/or .txt file? ...more >>

Data Interaction
Posted by chrism59 at 8/30/2004 4:18:39 PM
I am trying to connect to coldfusion from flash mx 2004 pro. I have entered the following line on code and get a "File Not Found" error. any help out there? #include "NetServices.as" ...more >>

Alpha Help Please
Posted by splendorx at 8/30/2004 3:25:10 PM
Hello, I have created a function, but it's not working as expected. I would like the mc to fade in on a rollover event of a button. Here is the code: In the first frame: //FADE IN IMAGE _global.fadeInImage = function() { broadcastBlowUpImage_mc._alpha = 0; broadcastBl...more >>

How do you launch external files?
Posted by thebugnut at 8/30/2004 2:04:43 PM
Hi, I need to know how to launch a PowerPoint file from a FLASH presentation. I have the flash and the ppt files in the same directory. Can anyone help me out? I need this info ASAP. Thanks Peter ...more >>

how to get the url of the page the movie is in ?
Posted by kurdy72 at 8/30/2004 1:30:28 PM
Is there an easy way for flash to find out what page it is on ? I have a flash movie that get''s info from an xml file, but what it shows depends on what page it is ? How do I get that property ? Regards, Hans ...more >>

arrays and xml
Posted by moztop at 8/30/2004 12:23:45 PM
I'm trying to create an xml menu, from an external xml file The menu will only have two levels. I'm getting the xml in ok, but I'm having problems getting the xml into arrays XML: <?xml version="1.0"?> <menu> <item name="introduction" > <subItem url="1.1">1.1</subItem> <subI...more >>

Using downloaded image on several places
Posted by krayna at 8/30/2004 11:12:30 AM
I didn't find a way to use downloaded image on several places without downloading it again. Does somebody know how to do this? When I download the image into a movie clip, it is not possible do duplicate such clip with the image. The duplicate is empty. Another option would be to duplicate...more >>

Saving image to file
Posted by krayna at 8/30/2004 11:03:57 AM
I need to download images and then to save them on local disk (saving is the problem). Is there a way to do this? I use SO to keep short textual info, but I don't know if this could help for images. Also, if there is some third-party extension I would like to consider it. It has to work ...more >>

ActionScript programers needed!
Posted by Chinmayo at 8/30/2004 10:45:05 AM
Together with me, my partner developed a small Flash app that allows you to publish PersonalBrain (http://www.thebrain.com) structures on the web. You can see different applications of the same app here http://www.wideopenwin.com/FB/ , http://www.wideopenwin.com/FB2/ and here http://agnes.sc...more >>

listenerObject.enter not fired
Posted by Vladimir Velikov at 8/30/2004 10:32:39 AM
Hello, I've spent a couple of days trying to fix this. Any ideas will be greatly appreciated. I have a listener object which listens for enter events. Then I have a loop where I create some TextInput objects and add the listener Object to each of them. The problem is that the enter event is...more >>

Problem with the tree component
Posted by Julien Robert at 8/30/2004 10:27:13 AM
Hello, I'm using the tree component with Flash MX 2004. I've a problem with the XMLNode insertBefore method. I want to use it for moving a node from a plce in the tree to an other place. Here is the code line : oNodeTemp.parentNode.insertBefore(oNode,oNodeTemp); oNodeTemp is th...more >>

Help with loading a movie
Posted by HeathanFX at 8/30/2004 8:56:57 AM
Hi there, I have made a movie and it takes a while to load, so I guess I need to make a loading screen. I made one, but in a seperate .fla file. So, I have 2 differnt files, and I want to somehow import the loading screen into my movei, or import the movie into the loading screen. Is t...more >>

Detecting if the mouse is in the movie
Posted by Karl Carlson at 8/30/2004 5:31:47 AM
Hi, I am a bit stumped on how to detect if the user's mouse is within the movie on a webpage. Basically I just need to have a movie playing when the user's mouse is not in the movie, and stopped when it is. I tried this: _level0.onRollOver = myfunction; function myfunction():Void {...more >>

newbie questions
Posted by Wilvis at 8/30/2004 12:20:41 AM
Two Questions; 1. When I'm using the button component, where should I put the actionscript? Both of these work: Within the 1st frame of main timeline: stop() home_btn.onRelease = function () { gotoAndStop(20); } OR within the button instance: on (release) { _root.g...more >>

Multiple Sound Object Volume Control
Posted by DanaViking41 at 8/30/2004 12:03:46 AM
I have multipe sound objects playing at once. One is the background sound, and the other is a voice over. If I set the volume control one of the sound objects, both inherit the same volume control. Is there a way to apply a separate volume to two different sound objects playing at the same tim...more >>


DevelopmentNow Blog