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 > may 2004 > threads for thursday may 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

loadSound problem
Posted by Ally at 5/13/2004 11:24:12 PM
Thanks in advance for any help. Here's my problem: On the main timeline I have a movie clip called "mp3player". In that player I have the following code: music = new Sound(); music.loadSound( clip, streaming ); musicPosition = 0; When I go to different frames on the main timeline I nee...more >>


Possible to insert frames using Action Script?
Posted by mikez93 at 5/13/2004 10:41:22 PM
I would like to dynamiclly (at runtime) insert frames into a timeline to change the length of an animation. Is there a way to do this?...more >>

how to detect TYPE of a variable?
Posted by sneakyimp at 5/13/2004 9:59:17 PM
Hi: i was wondering if it is possible to determine the type of a variable passed to a function...in other words, if this is my function function foo(var_arg) { } how can i determine if var_arg is a STRING, NUMBER, or ARRAY? Also, if it's a number is there any way to determine if i...more >>

gotoAndPlay
Posted by EvilGuyWhoEatsBrains at 5/13/2004 9:21:30 PM
We have a main scene that we want other scenes to show-up in the middle of, so we can retain the links from the main scene to navagate between other scenes. But we can't even get one scene ("economics") to show up. So we have the one scene called "economics" and I tried using "1" and a label...more >>

I need a little guidance, PLEASE.
Posted by Guni at 5/13/2004 9:04:44 PM
I am adding a search engine to a Flash mx site. The source of the engine is: http://www.promoplace.com/ws/webstore.dll/Search?DistID=20582 check it out. I want to load this into a designated frame and position, not a new window. I have tried loadVAR and getURL. I have not been successful. ...more >>

netdebug.as
Posted by dZ0GE at 5/13/2004 8:25:45 PM
i have downloaded Flash communication server and several demo flashcom projects that i wanted to experiment with. i found out that all of them require netdebug.as as an "#include". where can i find this file and what does it come with (whitch product)? i use Flash MX v. 6, but i can also h...more >>

How to make onMouseUp event affect only one movie
Posted by gladden at 5/13/2004 8:25:04 PM
Hello, I have three movie clips that act like buttons. All three are inside another movie clip which is loaded using attachMovie. I want each movie clip when clicked link to a different page. The problem is when I click on one button all buttons respond and execute the code in their lis...more >>

Newbie needs help with small problem
Posted by Quesa at 5/13/2004 7:59:23 PM
I am making my first game (pong). I know its basic but gotta start somewhere. I have a hit-test for a bar at the top of the game, which works, and a hit-test for the Movie clip that is a sliding bar at the bottom, which doesn't work. I can't seem to get it to work no matter what I do. ...more >>



How to gather and submit data entered in a form?
Posted by leighRing at 5/13/2004 7:40:26 PM
How do I use Actionscripting gather and submit data entered in a form? I have built a web page for a client of mine that has several input text fields and a submit button. How do I gather the text entered into the input text fields and send it off to my client? The page can be found at http:...more >>

how much data can be retrieved in loadvars object
Posted by sneakyimp at 5/13/2004 7:39:14 PM
i thought i had seen someone answer this before, but how much many Kilobytes can be loaded into flash in a single loadvars sendAndLoad call? ...more >>

Communicating with load(ed)Movie(s)
Posted by EnigmaticPhoenix at 5/13/2004 6:50:34 PM
If I dynamically load an swf into another using loadMovie, is there any way to communicate with it (like calling a function or something) besides using querystring variables or the localConnection infrastructure? Example (the functionality I want): x_mc.loadMovie("myClip.swf"); x_mc.ca...more >>

play and rewind
Posted by jdudan at 5/13/2004 6:37:32 PM
Hello there. I have a btn that when rolled over plays a few frames. I also have a controller mc with instance name "controller" that, when activated, plays the timeline in reverse. The btn has this code on it. on (rollOver) { play(); _root.controller.gotoAndStop("1"); } on...more >>

DataGrid Sorting?
Posted by jbuckle25 at 5/13/2004 5:07:39 PM
Hello, I don't think I am thinking very clearly about this, but I can not figure out how to re-order an array that is the datasource for a DataGrid component. For isntance, if a user sorts on a column, then the SelectedIndex value isn't going to match the original array's correpsonding va...more >>

Displaying Errors on Flash Form Fields
Posted by BSterner at 5/13/2004 4:37:14 PM
I'm really not sure the best way to handle this and would be more than happy to hear suggestions. We're builing an application similar to an online application. What I'm looking to do, is to somehow hightlight, or indicate to the user, form fields that are invalid. I'm using regular expr...more >>

Styles declaration-problem w/ loadMovieNum
Posted by Rooster60602 at 5/13/2004 4:19:51 PM
I have a movie that uses a styles declaration to remove borders from a ScrollPane component: http://cksubject.com/media/news.html Thing is, scrollbars don't disappear when this movie is loaded into a separate level from the "main" movie. I've tried setting this style thru global decla...more >>

Scrolling text
Posted by Junco577 at 5/13/2004 4:01:33 PM
I am new to flash and web development in general, and was wondering if there was a way to make scrolling text for my flash movies without using symbols and motion tweening. Would scripting of some sort work? If so, I would love any help/suggestions. Right now I am trying to get an effect of th...more >>

Duplicate Movie Clip Positioning
Posted by rythmikone at 5/13/2004 3:20:03 PM
I am using the duplicateMovieClip function to duplicate a movie 5 times in a for loop.. what I don't know how to do is set its position after its been duplicated .. see code for what I'm trying to accomplish: var totalSwfs = 5; var category = "library/anniversary/anniversary0"; functio...more >>

cursor => hourglass
Posted by sschofield123 at 5/13/2004 2:07:09 PM
I want to change the cursor to hourglass while waiting for process to complete. Looking in help, I've found something called tools.setCursor() There's no hourglass :-( but I tried the code anyway. It don't do nuffink :---((( So 2 questions. 1, why doesn't my code go through the 6 states of...more >>

How can I save TEXT into a text file from Flash LOCALLY
Posted by Arturo Toledo at 5/13/2004 1:37:40 PM
In web I can easily use ASP, PHP etc... but how can I do it locally? -- ='o'= Arturo ='o'= www.miltonfrank.tv ...more >>

Scaling a square box using actionscript?
Posted by D3 at 5/13/2004 1:16:02 PM
I'm tesing something out before I use it in my development and I'm having difficulty getting it to work properly. Basically, just trying to scale a square box from 0 to its 100% state using actionscript. I can get the height to work properly, but when I try including scaling the width, things ...more >>

problem with duplicatemovieclip and onmousedown
Posted by bronkula at 5/13/2004 12:58:58 PM
i've been looking and i can't find any documentation on this problem. i have a large number of squares that i want to all react similarly by saying their name when clicked. so i made one base movieclip and then used duplicateMovieClip to make about 50 of them. something like this. the p...more >>

Function keys
Posted by nickpelletier at 5/13/2004 12:56:59 PM
I need to detect keypress of function keys (f1 to f12) for a software simulation. My code : ecouteur = new Object(); ecouteur.onKeyDown = function() { if (Key.isDown(112)) { gotoAndPlay("affichage2"); } }; Key.addListener(ecouteur); It works fine in Flash but the browser (I...more >>

Q: Automatic URL change depending on date
Posted by michaelthorn at 5/13/2004 10:17:15 AM
I am design a website that has flash navigation. One section is called Diary. In this section there are 5 html files. april.html, may.html, june.html etc. Is it possible to code the single link that says diary (in the flash navigation) so it automatically selects the current month. For e...more >>

PrintJob ActionScript 1.0 vs ActionScript 2.0
Posted by bluegem_elink at 5/13/2004 9:59:45 AM
Has Anyone Tried This? I'm about to embark on a project and wanted to know if anyone has tried it already? What I'm trying to do is use the PrintJob Class in Flash MX2004 to print a set of frames in an existing project. The project was writen in Flash MX using ActionScript 1.0. A...more >>

dynamic html text box - ordered list indent
Posted by EdMX at 5/13/2004 9:48:43 AM
I'm using a dynamic text box set to render HTML, into which I am loading external HTML from an XML file. I am using the <li> (ordered list) tag to implement a bulletted list. The problem is, I want the bullets but I don't want the indented paragraph that comes with it. In HTML I could use ...more >>

can someone please help, no one's been responding!!!!!
Posted by Rosa-lee Moore at 5/13/2004 9:47:18 AM
I have a simple drag and drop movie, for some reason I can't get it to go to the next frame....maybe my code's not right. Here is what I have for the button within the mc... on (press) { startDrag("/cuphand"); } on (release) { stopDrag(); if (getProperty("/cuphand", _droptar...more >>

XML parsing in Flash MX - My mind is breaking
Posted by miker NO[at]SPAM era.on.ca at 5/13/2004 9:31:51 AM
This may have already been posted. It didn't appear so... i'm reposting I'm reworking a statically designed Flash website to load information Dynamically (like PHP only i have no PHP skills). This bug applies to all the sections but it best demonstrated by the links section. My sense is that ...more >>

menu and action script help needed
Posted by ccsarah at 5/13/2004 9:05:35 AM
Hi I need a little help with some actionscripting. I am creating a menu system with four different options: about us portfolio testimonials contact us I have a movie clip (paperMC) that is on the first frame of the timeline. When the user clicks on about us, I want the paper...more >>

again this is my 4th or 5th request
Posted by mukti at 5/13/2004 8:57:15 AM
Hi! please check out the attachment there is a swf file and the text is coming from xml file what i ... when your mouse on the over of any button there will be a text box will appear what i want to put the text on that area also and this will also i want from xml file please if you some body k...more >>

Pre loader external swf help
Posted by mrwilliby at 5/13/2004 8:45:03 AM
I have 4 buttons on the stage and one empty movie clip called content, and on each button it loads a movieclip into the content clip. It all works fine, but i cant figure out a pre loader for it. here are my actions for the button on(release){ _root.content.loadMovie ("Damo.swf");...more >>

Too long to compile and publish
Posted by joseanquiles at 5/13/2004 6:59:50 AM
Hi, flash mx 2004 takes too long to compile and publish AS 2 classes. what can i do to improve it? are there any tips and tricks? My flash project takes 5 or more minutes to complete the process. Does everybody observe the same problem? Is macromedia thinking about this for future releases...more >>

can we load two xml file in one movie...???
Posted by aditya gaur at 5/13/2004 6:50:31 AM
hello, i want to load two xml file in one movie.i make the code that is working fine if i load one xml file but if i load second xml file with the same code then it's not working for second one.....i attched code.... thanks for ur suggestion.plz help me. playListPath = "newReleasedMovie....more >>

can anyone help me out
Posted by mukti at 5/13/2004 6:34:02 AM
Hi! please check out the attachment there is a swf file and the text is coming from xml file what i ... when your mouse on the over of any button there will be a text box will appear what i want to put the text on that area also and this will also i want from xml file please if you some body k...more >>

can anyone help me out
Posted by mukti at 5/13/2004 6:33:48 AM
Hi! please check out the attachment there is a swf file and the text is coming from xml file what i ... when your mouse on the over of any button there will be a text box will appear what i want to put the text on that area also and this will also i want from xml file please if you some body k...more >>

BACKSPACE key
Posted by rukna at 5/13/2004 5:46:36 AM
Hi All, Can somebody help me in trapping the BACKSPACE key in flash...I have been able to trap all other KEyS except for BACKSPACE, ENTER, DELETE.. I have developed a Crossword interaction and for that i need to code for BACKSPACE key. ...more >>

Problem with flash creating instance name
Posted by emailcraigs at 5/13/2004 5:17:43 AM
I am trying to target a specific symbol, [b](ie porfolio_mc.button7)[/b] but when I look in debug to get the path it shows up as [b]porfolio_mc.instance34.button7.[/b] The instance number changes, one time it will be 34 and the next 56, as I load or reload the different swfs' of my site. How...more >>

Turn to grayscale
Posted by DearLithium at 5/13/2004 4:28:16 AM
I LOAD SOME OF EXTERNAL COLOR IMAGEFILE BY LOADMOVIE METHOD AND I WANT ALTERNATE THIS MOVIES TO GRAYSCALE PICTURES BY ACION SCRIPT(COLOR.SETTRANSFORM) BUT I CANNOT PLEASE HELP ME ...!...more >>

loadClip + read width of image onLoadComplete
Posted by Beatrice1 at 5/13/2004 3:36:04 AM
Hello, I have the following problem: Loading an image using MovieClipLoader class works fine except when I try to read its dimensions; it only returns 0. =================================================== myListener.onLoadComplete = function(target_mc) { trace("onLoadComplete - m...more >>

more than one function to a rollover?
Posted by Mr.bloodworth at 5/13/2004 3:27:30 AM
is there a way to have a rollover and rollout applied to the same object? code: only the first part seems to work. it will roll over fine...but the rollout does nothing. is there something im missing. im trying to apply this to one object...its a button, it already animates when it...more >>

Preloader to Frame 2 within a movie
Posted by Froghopper at 5/13/2004 2:46:01 AM
I have a movie which loads in a new scene from the main timeline when a button is clicked. stop(); loadMovie("FootValve.swf", _root.mcLoadFV); The problem I'm having is when the preloader starts for the new movie I can't get the rest of the movie to play past the preloader. What happe...more >>

setMask
Posted by JustinCase1234 at 5/13/2004 2:42:50 AM
Okay, I understand how to write the setmask code, I just can't get it to work. What do I attach it to, the MC that I want to mask or the layer it's on? Where do I put the MC that I want to act as a mask? I've read every explaination that I could find online and I've tried every combination I...more >>

Passing Variable
Posted by neillewis999 at 5/13/2004 1:58:19 AM
Dearest Developers, _root["mainclip"+i]["mainfield"+i].text = nuj; _root["mainclip"+i].onRollOver = function() { trace(_root["mainclip"+i]["mainfield"+i].text); }; tracing nuj works, as does nuj appear in each iteration of "mainfield"+i. Any thoughts as to why _root["maincli...more >>


DevelopmentNow Blog