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 > july 2004 > threads for friday july 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

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

how can i made this?
Posted by amiorfighter at 7/30/2004 12:00:34 PM
Hi I am not a flash designer but i wanna know how can i made sites with flash MX2004? "I made sites with dreamweaverMX2004" Is there any book that can solve my problem? ...more >>

PLEASE : Loading vars from textfile
Posted by Graff|ti at 7/30/2004 11:29:08 AM
Can _global variables be loaded from a textfile? Other _global variables I might have previously set should NOT be deleted in the process....more >>

Save to text file
Posted by OniLink at 7/30/2004 11:09:39 AM
Is there a way to load variables into a text file (note pad file) and save that file for later use (load back into the swf)? Thanks, Josh....more >>

Is there something like urldecode in flash?
Posted by Peter Pippinger at 7/30/2004 10:07:10 AM
Hello NG, how would you turn an url-encoded text ("%20mytext%2D....") into a decoded sting? Thanks a lot! Peter ...more >>

onClipEvent(enterFrame)
Posted by anAnge|io at 7/30/2004 10:01:54 AM
hey there Am wondering how onClipEvent is used. Tried reading the help files but they don't provide adequate examples on its usage and experimentation don't seem to go anywhere. What i'm really interested is the onClipEvent(enterFrame)... Could someone gimme some pointers? Thanks, greatl...more >>

== Embeding font in Dynamic Text Box ==
Posted by Teji at 7/30/2004 9:59:10 AM
Hello Friends, Can somone help me in solving this problem, i m creating dynamic text box, these text box have hyperlink with other sites, but the font is not good it is taking font from the system, i m trying to embd fonts but not working ... can someone help thanks in advance myArra...more >>

Duplicated movie properties
Posted by Flu Films at 7/30/2004 9:40:13 AM
-------------------------------------------------------------------------------- I'm trying to work something out, have asked somebody already but thought I'd throw it open to you guys. I was given this code --------------------------- on (press) { _global.i++; this.duplicateMov...more >>

trouble setting _alpha value of dynamic text field
Posted by loop360 at 7/30/2004 9:30:24 AM
I have a movieClip instance on the stage that when clickec becomes 'draggable' and is positioned back to its original x/y location on mouseup. Within the movieClip is a background and a dynamic text field on top, but when I click on the movieClip and set it's _alpha value to 50, the background...more >>

Prototype
Posted by Kishore G P at 7/30/2004 8:48:54 AM
Hi All, I have a movie clip in which I will be loading various swf's one after another. And in each swf there are plenty of symbols (i.e., button symbols) which I want them to be disabled. Is there anyway to do it. I tried using Button.prototype.enabled = false; but even my main mo...more >>

Creating links with dynamic text ? From var
Posted by complexity at 7/30/2004 8:12:31 AM
Hey all, Ok I have a dynamic text box that has to import its text into its container (for scrollbar setup reasons). Just wondering how I go about creating links, making link colors etc with this raw text? Can I just use HTML and render as HTML? eg. my_text = "This is my text to be...more >>

Trace data at runtime
Posted by GilFew at 7/30/2004 6:45:53 AM
I'm not sure if this is useful to anyone else or not, but thought I'd post just in case. I've written an AS1 class called TraceWin which allows you to trace data at runtime using a custom global function iTrace(exp). The iTrace data is placed into a drawing API-rendered window. You can togg...more >>

Loading External SWF File
Posted by sunwaycity at 7/30/2004 6:09:47 AM
What i did is i create a new movie clip under --- WIndow/Library/New Symbol, after that i paste it in the form,thus the small white circle appeared. My permanent SWF files got 65 frames. The other file got one button called 'Convert' ..I put the following code in my Convert button action ...more >>

MovieClip pseudo buttons unresponsive in other MC
Posted by Emon_ at 7/30/2004 6:03:21 AM
So here's the story...I use attachMovie to dynamically generate menu buttons from XML. The main menu items work fine; these are things like About, News, Products, Services etc. However I've hit a snag with my submenu items, which of course would be like Product Category 1, Product Category 2, ...more >>

HELP!! LoAding other SWF File
Posted by sunwaycity at 7/30/2004 5:36:17 AM
i had wrote this to my action script but nothing happen!The permanent file can't open at all ==================================================== this.onRelease = function(){ this._parent.createEmptyMovieClip("mcConvert",0); loadMovie("permanent.swf",this._parent.mcConvert); function g...more >>

ScrollPane problem! help me...
Posted by SWFBaz_v1 at 7/30/2004 4:54:08 AM
hi frnds i am using scrollpane for displaying contents of a moviclip.... that movieclip duplicates checkboxes and sets their _visible, _x and _y properties. but but but.... when this clip is loaded in the scrollpane it doesnt set none of the specified properties..... even i dont not replic...more >>

need help
Posted by eddieman76 at 7/30/2004 3:35:04 AM
I have flash 5... and need to be using flash mx for a project. How much is the upgrade? Possible downloads? ...more >>

HELP!! Loading Other SWF File
Posted by sunwaycity at 7/30/2004 2:25:47 AM
i wrote this to my button action script.. ============================================ on(press){ loadMovie("permanent.swf",_level2.mcConvert); _level2.mcConvert.gotoAndStop(4); } ============================================ i have create a new empty movie clip called 'mcConv...more >>

passing variables from flash to php
Posted by Bryan at 7/30/2004 12:51:31 AM
I have used a 3 frame flash file and it works fine sending the data but now when being used at the 92nd frame, it stopped working. Any ideas. I've included my actionscript below. Thanks a bunch.... I can include some money to who helps me fix it if interested. 8^) submitURL = "handleSubmit.p...more >>

HELP!! loadMovie and gotoAndStop()
Posted by sunwaycity at 7/30/2004 12:07:00 AM
i've tried this method to open another flash swf file... ================examples given============ loadMovie("temporaly.swf" , 1); // to load the movie on level 1 now u want the "temporaly.swf" to goto and stop 4th frame, then use the follwing code in "permanent.swf" _level1.gotoAndSto...more >>


DevelopmentNow Blog