Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 > july 2004

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

path?
Posted by yofof at 7/31/2004 11:28:08 PM
hi there, i asked a question about php script (PHP - email with no text ). the question has been well answerd by Jack( thanks again). everythig works fine if i put the order.swf and order.php in separate dictionary on my web. I use the script: ------------------------ function sendMail(){ ...more >>


Basic Question: how to scale/resize
Posted by alan arthur at 7/31/2004 10:37:44 PM
This is, I'm sure, a rather dumb question, but here goes: I am doing something similar to a progress bar (like a pre-loader). I need it to grow from left to right. I seem only to be able to get it to grow from the center <sigh>. I'm using a rectangle shape converted to a symbol (button)....more >>

simple addition loops
Posted by javman at 7/31/2004 10:20:02 PM
I have a rather large array of variables with constantly changing values that I need to add. The variables are like this for example. pop1=75 pop2=125 pop3=60 pop4=515 (note these variable amounts are constantly changing) and on and on, there will be over 2000 variables. As these variabl...more >>

Alert box empty
Posted by Lone Jet at 7/31/2004 8:00:17 PM
The code below genereates an empty alert box without my specified messages, just an OK button. Is this another bug? mx.controls.Alert.show("Login Failed!", "Login");...more >>

Panorama: duplicateMovieClip help needed
Posted by Hill-Billie at 7/31/2004 6:55:05 PM
I am creating a panorama and I need to know how to duplicate the picture MC when it is rotating. I thought I could duplicate it at the old coords - or + the width of the MC but that didn't work properly. Any help much appreciated Thanks Matt PS the code I used to move the mc is o...more >>

Passing variable outside a function?
Posted by zouha at 7/31/2004 5:22:07 PM
Can I somehow pass a variable which is in a function to outside the function? I cannot use return in my function. function test() { var dog:Number = 5; } trace(dog); that puts "undefined" in output panel ...more >>

How do I remove an EventListener?
Posted by Pong The Greek at 7/31/2004 1:43:42 PM
Hello, I am having a problem removing the below eventListener: var myListenerGrid = new Object(); myListenerGrid.change = function(event1) { _root.clickedid = event1.target.selectedItem.MODEL; _root.model.text=clickedid; _root.AcqGrid.removeAllColumns(); _root.DetailGrid....more >>

Bug ???
Posted by ShimiGates at 7/31/2004 1:04:42 PM
I built a class for my project and i needed to use the dynamic keyword for this class i forgot to put it (im so idiot lol) and kept with the work on the project and used a variable that aint decleared on the class and i didnt got any error (i created the variable on the class not on the in...more >>



Visited buttons?
Posted by designgirlnorway at 7/31/2004 1:03:52 PM
I already completed my flash mx site but would like to add a new feature: to show which buttons have been already visited by the user. Is there an easy way to do this?...more >>

How can i use clip to start the outlook express?
Posted by SelfaCyrus at 7/31/2004 12:55:31 PM
I have made a flash movie and i want the function that people can click the movie clip to start the outlook express , is it possible to do this? thx.....more >>

gotoandPlay won't play a movie clip
Posted by bouton60 at 7/31/2004 10:18:10 AM
linking from one scene to another with a button using: on (release) { gotoAndPlay("video greeting", "<vg>"); } (I use gotoandStop to move between about 20 other screens and it works just fine) the action won't happen...<vg> is the first frame of a 280 frame movie clip. ...more >>

loading images randomly in xy coordinates problem
Posted by maxdido at 7/31/2004 9:05:44 AM
hi, I have a problem with loading images randomly and putting them in the right _x and _y coordinates. I have a swf file with in the first frame a button with this code : on (release) { filename = ["image-01.jpg", "image-02.jpg", "image-03.jpg"]; path = "images/"; i = filename.l...more >>

Trouble with variable navigation
Posted by DavidWbee at 7/31/2004 7:23:25 AM
I am trying to mak a back button go back a certain number of frames based on a variable. Here is the code I am using: I am certain that I am missing something but it has gotten very late and my brain is not workng so well. the real problem I am having is getting the current frame to retu...more >>

sound in slides
Posted by Anais at 7/31/2004 6:59:58 AM
Hi, I have a slide presentation that plays sounds in certain slides, including the last one. For some reason, when I export the movie, the sound from the last slide starts playing immediately, but the other sounds don't. I tried stopping the sound at the end of the last slide and at the b...more >>

new site for stricken Cancer kids -Problems
Posted by DUBLIN2111 at 7/31/2004 3:17:52 AM
Hi All I wonder if anyone can help - i am not a web designer so do not know much about codes and tend to use templates. I am creating a site for Cancer kids and the mothers of them - i have a form which works fine when test on my server, etc... but as i am creating a new site - i now w...more >>

XML Reading Problem
Posted by delella at 7/31/2004 2:55:01 AM
The following code is used to parse the XML file I have which creates a Menu using the Menu Component in the flash component UI set. The problem I am having is that the data in each item is not reading. The following XML should produce a menu like the following: 2005 vs Indiana ...more >>

Fullscreen
Posted by Luka at 7/31/2004 2:24:07 AM
Is there a way to open a new totally borderless window from flash? And how... ;) Thanks Luka ...more >>

Detecting connection or loaded movie...
Posted by Luka at 7/31/2004 2:04:16 AM
Is there any way to detect is the user online/offline or is the requested file not downloaded? Like when you click on a button that calls loadMovie it also determines whather the movie is loaded, so it can report: "Your connection is lost" if the movie is not loaded, or you are in offline? Tha...more >>

delay hit state with actionscript
Posted by BradySF at 7/31/2004 2:03:43 AM
Would be the actionscript to delay the hit state of a button? If that's even possible -- I want the full animation of the button to run on the down state, as opposed to the over state as usual. I would think you could allow the delay to run for 3 seconds until it rides to the hit state... if t...more >>

Tree node open on rollover?
Posted by Emon_ at 7/30/2004 11:35:14 PM
I'm now using a tree for my dynamic menu, and all is good except that I'd like the tree nodes to expand upon rollover, and collapse once the cursor leaves the child node area. Any way to do this?...more >>

Getting class error
Posted by mikeaturner25 at 7/30/2004 10:41:03 PM
I am getting this error when I check the syntax of one of my classes. The name of this class, <class name>, conflicts with the name of another class that was loaded, <class name> what does that mean? When I run my project everything seems to work fine. ...more >>

New Site for Cancer Kids - Form Issues
Posted by DUBLIN2111 at 7/30/2004 10:10:32 PM
Hi All I wonder if anyone can help - i am not a web designer so do not know much about codes and tend to use templates. I am creating a site for Cancer kids and the mothers of them - i have a form which works fine when test on my server, etc... but as i am creating a new site - i now ...more >>

Unexplaned GIF smoothing
Posted by pharaohman98 at 7/30/2004 9:55:40 PM
This might sound like the standard image question for Flash, but I still can't seem to solve it. I have a very small .gif file (only 2x4 pixels) which is a simple pair of vertical black and yellow strips. I have made sure the image properties has smoothing DISABLED and the format is set to "PN...more >>

swapDepths question
Posted by yoyoyoyoyoyoyoyok at 7/30/2004 8:45:52 PM
Is there a command for "always on top"? I am creating a game and as I add elements it is becoming very labourous to change the levels of certain MCs Thanks in Advance!...more >>

Get instance name in flash?
Posted by mikeaturner25 at 7/30/2004 8:35:51 PM
Hi all, I have a button on stange with an instance name of myButton. What I am trying to do is get that name (myButton) in the buttons actions. So for example I have a on press event for that button that does this. on (press) { message = "you pressed "+<name> trace(message); } ...more >>

Initializing class members can cause troubles.
Posted by KevinMatte at 7/30/2004 8:09:30 PM
Ok, some pain here. I believe this is another ActionScript 2.0 bug. At least, it's going to throw a few people for a loop. If you initialize a class member like this: class X { var myArray = new Array(); } All instances of X will share THE SAME myArray. So when you manipulate one, y...more >>

actionscript stop();
Posted by angelina28 at 7/30/2004 7:38:58 PM
HI! Why is it that when I apply the command stop(); to one layer or element, it effects everything else? For example, I want the header on my site to slide up and stop, and when I go to apply effects to other items on my page, it doesn't work unless it's applied before the frame where I put ...more >>

import package problem.
Posted by yavuzj at 7/30/2004 7:13:23 PM
import package with dot syntax won't work as it should. e.g import com.somedomain.someClass; I keep getting the the class being compliled does not match the imported class error. the folder sequence is right. class declarations are also matching the folder hierarch. e.g. class com.m...more >>

Wrapping a radiobutton label
Posted by beyondflash at 7/30/2004 7:04:36 PM
Is it possible to have the label of a radio button wrap according to how long the label is? Here is what I have: Dynamic radio buttons controled by array: radiobuttonname.label = myarray[index]; Now if myarray[index] is small enough text, it will be displayed all in one line. However...more >>

messy fscommand behavior
Posted by jrk at 7/30/2004 7:04:08 PM
Hi. I have a web site with about a dozen Flash animations and one index swf. I want to make a CD version and have them all show at full screen. If I put "fscommand("fullscreen", "true"); into the first frame of every animation, only the index page shows up at full screen; all the others...more >>

flash and ASP
Posted by christoff915 at 7/30/2004 6:33:42 PM
i'm looking to build a custom interface for a client of ours. It's a swap meet that wants to have a way to track what booths are rented out, who they're rented out to, how long they're rented for, etc. a similar application can be found http://www.boothtracker.com/ss.htm. our client doesn't wa...more >>

how can i read and wirte to file...
Posted by lord_of_the_noodles at 7/30/2004 6:18:31 PM
how can i read from .dat file and write to him with flash mx 2004? ...more >>

Attaching MovieClip that contains a component
Posted by kfought at 7/30/2004 6:16:50 PM
I am trying to attach a movieclip that contains a TextArea component. The problem is that when I attach the movieclip the component displays properly but I dont have access to the properties of it, namely the .text. I have looked in the debugger and the attached movie shows up but the com...more >>

Count Down to a specific date:
Posted by steezj at 7/30/2004 5:56:09 PM
Can anyone point me to a nice .fla download where there's a count down to a specific date? I need the actionscript that will show the days, hours, minutes and seconds left until a certain day. Thanks for you help. J ...more >>

problems dynamically attaching movieclips?
Posted by Onelson at 7/30/2004 5:42:25 PM
I'm trying to create a dynamic menu based off of XML, and I'm just starting to use the attachMovie to create the buttons that will make up the menu. I understand how to statically use the attachMovie feature, but when trying to dynamically create and the access the movie clip, that's where I'...more >>

Urgent: Address bar like text field
Posted by Jai at 7/30/2004 5:40:42 PM
Hi all I am trying to achieve a text field functionality similar to the address bar in the browser. I have an input text field on screen which contains a line of text. The user clicks on the text field and the text in the text field gets highlighted in blue with the text shown through the h...more >>

detect cd drive letter
Posted by mayblossom at 7/30/2004 5:20:29 PM
Hello, I need to detect the drive letter for the cd from which a flash movie is being played. This is not a problem with paths (as I understand that I can use relative paths when linking to other files or loading other movies). I actually need the drive letter so that I can pass that info...more >>

checking text box formatting on submit
Posted by jmrak at 7/30/2004 5:14:42 PM
I want to make sure that when the submit button is pressed it checks a text box to make sure that the date is in the correct format (mm/dd/yyyy). If anyone has any ideas it would help me out greatly. ...more >>

MC brightness
Posted by pharaohman98 at 7/30/2004 4:56:28 PM
Hi All, I've seen how movie clips can have their brightness adjusted during design time (just like alpha and other color properties), but I was wondering how to alter the brightness through actionscript at runtime. I've looked through the reference sections and haven't come across any obv...more >>

POPUP WINDOW
Posted by BorderBob at 7/30/2004 4:12:50 PM
I currently have an email form with a submit button. I want to be able to have a popup window come up saying that the form has been sent and then they just press ok to close it. I was wondering how i would go about doing this. I like the window in the UI components that comes with flash, so if...more >>

Randomized Array 1-10
Posted by lolo at 7/30/2004 3:50:23 PM
Hi all, I would like to randomized the first 10 numbers (1-10) ten times, repetitions and put in an array. Sample: I have this array var array = [1,2,3,4,5,6,7,8,9,10] and I would like to generate [2,3,5,1,9,4,7,8,6,10]. I would like to generate a randomize array from 1-10 without no repetiti...more >>

screens
Posted by JFB at 7/30/2004 3:44:07 PM
Hi, I have a flash movie using screens. Like MainScreen Screen1 Screen2 . Screen20 I want to open a particular screen form different screen. It's a way to close all and open the screen that I want? Or I have to close one by one? Tks in adavance. Johnny... ...more >>

Missing text when embed fonts
Posted by Shinchi at 7/30/2004 3:39:20 PM
Hi, I got a problem here with htmlText. I populate htmlText in a textbox and then apply css to it. After than, when I embed the fonts,some of the text simply disappear. stepping throught the code, I found that all the italics text disppeared, Does any one face the same problem? My ...more >>

counting values of radio buttons
Posted by PMDC5317 at 7/30/2004 3:09:14 PM
I am trying to count the values given for various radio buttons on an application. How do I: 1. load the variables 2. and then count the variables into a number thanks Gary Crews ...more >>

How to: Return value to ASP when animation ends
Posted by brad2575 at 7/30/2004 2:38:18 PM
Hello, I have 3 small flash animations that I am using in an ASP page. I pass some asp variables to the flash movie, then the movie does its thing. I need to have a way to determine when all 3 animations are ended so I can then load a new page using asp. I want to see if I can have ...more >>

(Question) Copyright Protection - preventing printing (Question)
Posted by justi at 7/30/2004 2:37:54 PM
I have two issues I need resolved. 1. Preventing the ability to have a "print preview" in that way preventing any printing at all. Is this done is CSS perhaps? i.e. #print {display: none;} 2. I see this done alot, and it is probably very basic. I know how to dim the print option when...more >>

exit button in a projector!!!
Posted by casper14 at 7/30/2004 1:16:36 PM
I am having a problem with my actionscript. I have made my flash go to full screen and made a projector. But the code that I have in to end the projector dose not work. I am using java and it works for web but when i burn the projecter file to a cd It dose not end? ...more >>

Const ?
Posted by Falcon at 7/30/2004 12:56:00 PM
How I declare constants in Flash ? ...more >>

Does Macromedia have reference book?
Posted by amiorfighter at 7/30/2004 12:25:03 PM
HI Does Macromedia have reference book in flash MX2004 ?...more >>

functions <> subroutines / creating movement
Posted by logeye at 7/30/2004 12:13:35 PM
I thought functions behaved like the old subroutines of old. They don't. I'm trying to make a gauge needle move slowly from within a function. function openSlow() { for (i=-15; i<86; i++) { needle._rotation = i; } } It appears the function finishes ALL caluclations befor...more >>


DevelopmentNow Blog