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 > threads for tuesday july 13

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

Help - saving an external document
Posted by twoodland at 7/13/2004 11:01:17 PM
Here is what I want to do - I want to have a button and when clicked, it will pull a file off of the disk and save it to the computer. Is this possible, and if so, please let me know the script or command. Thank you in advance. ...more >>


Executing Javascript fuctions
Posted by Scott Filloon at 7/13/2004 10:24:15 PM
Is it possible to execute javascript functions using fscommand? I've looked at some tutorials on Flashkit, but none of them do exactly what I need to do. What I'm trying to do is, have my Flash movie execute the javascript function that sets a variable back to the Flash movie. Reason being, ...more >>

How do you round correctly?
Posted by Azeral at 7/13/2004 10:22:04 PM
Okay i looked through the actionscript dictionary and found that math.round(mynumber) rounds down. But how do you use it correctly for example: Point = math.round(nAdvertisingPoint) /10; trace(Point); But it gives me a strange error saying : NaN How do i fix this? im new to actio...more >>

Loading Classes in 2nd Frame - HELP
Posted by Christopher Homer at 7/13/2004 9:35:33 PM
I am trying to load my class files in the second frame so that I can preload a 200K site (made up of various class files). When I set the classes to load in the second frame they do not run with their associated Symbols (MovieClips) in the fifth frame. However, when I set the classes to lo...more >>

hyperlinks in flash
Posted by new_to_flash at 7/13/2004 9:26:33 PM
It's so simple it's probably right in front of me. I'm new to flash and I want a hyperlink. I have a flash template that has buttons. I simply want to navigation to a URL when the button is clicked. So, I figured that the on event needed one line: getURL("..."); -- but that doesn't work. How d...more >>

H E L P (I am going blind & mad...)
Posted by tg-1 at 7/13/2004 8:38:04 PM
How do I refrence movie clips? or the data in them? I have a gallery of dynamically created loader MC's each gets a value from an XML file (PIC1.jpg, PIC2.jpg etc) here is the AS: myMCL.loadClip( prod.pic_loc , this["Loader"+n]); // prod.pic_loc is the XML ref. which works fine, ...more >>

XMLSocket in class file?
Posted by Rooster60602 at 7/13/2004 8:22:48 PM
I'm a newbie to writing class files, so have no idea why the following doesn't work. My socket server is showing a connection when this class is instantiated, but the XML doesn't get passed through and I'm getting "unable to read data from the transport connection" errors in .NET (my listener...more >>

how do you attachMovie() under a mask?
Posted by _jrh_ at 7/13/2004 7:45:28 PM
I want to use attachMovie() to create a list of movieclips that appear under a mask, so the mask determines which movieclips are seen. Where do I position the code, mask, and depth of the generated mc's? ...more >>



Can you have multiple loadvars() objects?
Posted by Rusty_B at 7/13/2004 7:33:57 PM
Can anyone take a look at this code and tell me if there is something I'm not seeing? If I remove one of the loadvars objects either one of them will work individually, but if I try to load both of them only one works. Can you not load two loadvars() at the same time?? BtnColo...more >>

calling a function in another movie clip
Posted by jamiekravitz at 7/13/2004 6:31:01 PM
hi, this seems like it should be simple, but i can't get it to work. i have a movie clip on the stage with a function defined on its timeline. i am trying to call that function from the root timeline. i tried using dot syntax: this.myclip.myfunction(); but it doesn't work. what am i do...more >>

bottomScroll and maxscroll in htmlText field
Posted by flash/gordon at 7/13/2004 4:25:55 PM
i'm having a problem getting a scroll bar to work right. here's some sample code: //..................................rendering just the text display_txt.html = false; display_txt.htmlText = someStringWithHtmlTags; //...............................tests the properties display_txt.onKi...more >>

TEXTAREA FSCOMMAND LINK
Posted by cabp ms at 7/13/2004 3:36:41 PM
Hi all, I don't know if this is possible: I have a movie clip with a text area component with html text, the html text is stored in a variable inside an .as file, what i want to do is use some links to load external data or external swf files or send data to a external application with fsc...more >>

Flash MX 2004 update for DataGrid component
Posted by jsevlie at 7/13/2004 3:24:02 PM
Is there an update to the DataGrid component for Flash MX 2004? If so, I can't seem to find it for the LIFE OF ME! Our company has a DRK subscription, so I know that's not a problem... Can anyone help me out or lead the way? ...more >>

acces a button
Posted by Edwin Merced at 7/13/2004 3:22:19 PM
I loaded a movie via loadMovie that contains buttons. How do I reference the buttons to control the main movie? This doesnt work: loadMovie("navigator.swf", "blankd_mc"); this.blankd_mc.primero_btn.onRelease = function() { _root.gotoAndPlay("primera"); ...more >>

ComboBox and Array question...
Posted by Luka at 7/13/2004 3:00:02 PM
In main timeline i have only one frame which contains one ComboBox. The first frame also contains action which creates an array "comboList" whose values depend on a Xml files nodes. So if i have xml file with nodes: I, You, He, She, It; comboList = ["I", "You", ... "It"]. This is the script: c...more >>

Get values from Javascript into Flash
Posted by meeesta at 7/13/2004 2:56:00 PM
Is it possible to get information from the browser (via Javascript) into Flash? I've got a scalable flash movie and I want to animate the size of the browser window to fit my movie, so as the movie gorws in size, so will the browser window. Getting information back to the javascript is easy,...more >>

hyperLink from scroll box
Posted by nightime at 7/13/2004 2:28:55 PM
I have a scroll box with text and would like to create a few links to other sites, but nothing seems to work. I am working in notepad and have tried html tags to no avail...am I trying in vain...help! ...more >>

Drag And Drop From a Scroll Pane
Posted by GladLock at 7/13/2004 1:49:32 PM
Okay, I'm creating a Drag and Drop type game. The only problem is that I have a lot of images for this game and not enough room on the screen for the images to be placed. So, I created a scroll pane that contains all of the images and the user is suppose to drag the images from the scroll pa...more >>

Action scripts bugs...
Posted by Samuelhm at 7/13/2004 1:14:28 PM
all buttos with 30 frames, but, i can't stop the flash animation, why?...more >>

how to disable inputbox and how to set focus
Posted by AshwiniD at 7/13/2004 11:40:49 AM
Hi all can someonw tell me how to set focus on the input box on occurence of a particular event ?. I have set inputbox.tabEnabled = true; inputbox.tabIndex = 1; but its not serving the purpose of setting focus on it everytime. also how to make the input box disabled while still visible ?...more >>

XML: problems with encode russian symbols
Posted by AshTray)) at 7/13/2004 11:18:31 AM
MyXML.xmlDecl = "<?xml version=\"1.0\" encoding=\"windows-1251\"?>"; - didn't help. =((( What to do next???? Cant read XML (russian symbols). English is OK. But Russian "Kirilica". (windows-1251) Your sincerely AshTray ...more >>

Help needed with button actions
Posted by redshark at 7/13/2004 11:03:15 AM
I have downloaded this .FLA file from http://www.ultrashock.com (please see attached FLA file) It is a smart clip that you can add to any file and it works, my problem is that I cant add actions to the buttons in the menu, am I being daft and it is a simple task? Any help would be much appreci...more >>

I need help with frames and GoToAndStop
Posted by Ruben-E at 7/13/2004 9:55:01 AM
Hi There. I have this design, and in the menu, i want it to go to frame 65 when i click it. I've set it to GoToAndStop on frame 65, but when i test it, the place where the new area should appear, it just turns white. I've looked it through, looking for errors or something, but it is as it ...more >>

How to launch standalone player on some event ?
Posted by kapil.sharma at 7/13/2004 8:59:32 AM
Hi, Thanks for reading this post. I have a swf file embedded in HTML file with a push button "TEST" and I need to launch another swf lying on disk (on top of this main file) when this button is clicked. Actually I need to do the same thing as what happens when "Tutorial" button is clic...more >>

clock
Posted by bojajo at 7/13/2004 8:39:43 AM
hi. please help. i'm trying to use the timer we have in the standard flash tutorial files (the blue timer). what code do i write so i can make it stop automatically, say, after 5 minutes? thanks. bojajo ...more >>

GetURL
Posted by oafc4ever at 7/13/2004 8:39:42 AM
HI All Im using the GETURL in flash and would like to know how to POST variables instead of using GET. The support documentation is very sketchy on this, please can anybody help Could do with some sameple code showing how to post a variable to a http address. Thanks Thanks alot ...more >>

Chat client source
Posted by Valics Lehel at 7/13/2004 8:32:15 AM
Hi all, Anyone know a chat client source in FLA? Valics Lehel http://www.grafxsoftware.com ...more >>

Open and close EXE applications?
Posted by gobak at 7/13/2004 8:18:32 AM
I have a riddle that I am having a hard time figuring out. Has anyone experienced success with controlling applications in Win XP via Flash? I am creating a Flash tour for a computer Kiosk running Win XP home and the demo needs to show the actual applications to a general audience. I am agai...more >>

deleting a function
Posted by cire548 at 7/13/2004 7:35:11 AM
I have a draggable movie that will have the possibility of being pressed more than once. The first time that it is pressed I want it to load a movie....but only the first time it's pressed. What would be the best way to make this happen? This is what I have on the movie now, but of course it c...more >>

am i missing sumthing??
Posted by -] at 7/13/2004 7:17:47 AM
this code is for a simple username and password frame, it SHOULD when u enter the correct username and password, play my mc ...but it doesnt? help plz Thx Code Below on (release, keyPress "<Enter>") { text = "Sign in please!"; if (username == "name1" or username == "name...more >>

animated buttons, external swfs, frame labels, be
Posted by warisevil at 7/13/2004 7:08:13 AM
I have three movie clips serving as animated buttons in my fla (i.e. (butt1MC,butt2MC,etc). Right now the buttonMc's use on () {gotoAnd..(); to boss the MC to different frames for the animated button effects. An external swf is loaded into a container movie on click, and the text in a dyn...more >>

TextArea Background and you
Posted by Baxeru at 7/13/2004 5:19:05 AM
Hello All, Well this is my first time on this site and you would love some help. I am trying to change my textarea background. The Textarea is in the UI components and I would like to learn some tricks from yall. How do you chang the TextAreas background, and make it Transperent. Can you l...more >>

Help Needed with scoring system!
Posted by magician09 at 7/13/2004 4:55:31 AM
Hi, I have created a game using Flash and I wanted to implement a scoring system where if the user gets the answer correct the first try, they get 10 points. If they get it wrong they get another go, and if they get it right they get 5 points and if they get it wrong again they get a thir...more >>

revert XML to original state
Posted by abeall at 7/13/2004 4:06:04 AM
I am working on my first largescale integration of Flash and XML. I have a large XML file that is loaded into Flash, then I'm using various functions to generate interactive lists and content allowing the user to sort and filter the content based on input criteria. Now here's my issue: I load ...more >>

string comparison
Posted by abeall at 7/13/2004 3:06:54 AM
how does flash compare strings? For instace, take any two words dog ; cat Which will Flash say is greater? It appeared that Flash was doing it alphabetically at first, but capitalized words seem to throw things off. Any docs on how Flash resolves string value? I'm trying to sort a large ...more >>

How to call MP3 without bugs
Posted by janice_2k at 7/13/2004 2:10:13 AM
Dear Gurus and members, I am a newbie in Actionscript and programming. I am doing a button that will playback server and client side mp3 files alternately. Though, there are some bugs that I am not sure how should I solve. The following is the code I placed on the button: on(release)...more >>

special preloader help
Posted by -] at 7/13/2004 2:02:05 AM
ok...i have a simple prelaoder bar which expands from left 2 right(using setProperty("pBar", _xscale, iBytes); . on top of this bar i have a pair of eyes...... how would i get the eyes to follow the pBar as it loads. like a AS for the eyes.... Thx ...more >>


DevelopmentNow Blog