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 > january 2005 > threads for thursday january 6

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

Loading a queue
Posted by adamjbrown at 1/6/2005 11:06:56 PM
Does anyone know if there is a way to track the progress of a group or queue of images and sounds. I am dynamically loading sounds and images (over 500 of each) and have no way to track the progress. Any help would be appreciated. ...more >>


Cannot pass variable between two .swf
Posted by virtualeman at 1/6/2005 10:22:48 PM
Situation : I have a main movie that call external SWF on event button. Everything works fine, but I want to implement a 'toggle state' to detect some user interactivity. So I create a global variable in my main movie, and affect to it a Zero value, then my sub movie need to reaffect the v...more >>

XML.Load - sync problem
Posted by mrdance75 at 1/6/2005 10:01:19 PM
I have a problem when loading in an XML-file. The problem is that the function that XML.Load releases an own thread and can return anytime, when it's ready. How can I prevent this? I want to execute my functions in the order I write them. I am dependant on having values from the first XML-load...more >>

loadMovie vs. attachMovie
Posted by BillG-Chicago at 1/6/2005 9:53:34 PM
Any pointers on when I'd use loadMovie vs. attachMovie would be greatly appreciated....more >>

controlling one movie from another problem
Posted by jrpugh at 1/6/2005 9:39:40 PM
I have a menu (swf) loaded at _level2 and I am trying to control the timeline of _level0 by using the following attached to a button on _level2 (my menu) on(release){ _parent.gotoAndPlay('summary'); } When I press the button I get no movement to in my parent or level0 movie. I have also ...more >>

XMLConnector not working after Export
Posted by andyafco NO[at]SPAM gmail.com at 1/6/2005 9:35:37 PM
I went through the XMLConnector tutorial successfully from the Macromedia site. So I decided to use the basic form and layout, except connect to a different XML source and see how it worked. I used my pseudo blog's XML feed from 2 different places: http://andyafco.blogspot.com/atom.xml http:/...more >>

MovieClip Class Method syntax error?
Posted by rwl3 at 1/6/2005 9:21:16 PM
O.K., I'm back. I've been reading up on ActionScript, but I still have an error. I'm sure it's very simple. Please help. I have loader.swf that loads content.swf in layer 1 and menu.swf in layer 2 (I want my menu to float over all the content): var mcloader:MovieClipLoader = new MovieClipLoa...more >>

Menu animation
Posted by Jay-Cee at 1/6/2005 9:03:54 PM
Hello, i'm new 2 this place. I'm making a website for a school project and i could use some help. I retrieve my menu items from a xml document and now i would like 2 ad some animation 2 my menu items. I want them 2 slide down. http://users.skynet.be/fa311748/Flash/ As u can see here,...more >>



thumbHolder - picture - xml file
Posted by Borndesign at 1/6/2005 8:57:23 PM
:confused; Hi Im new here. Im reading my pictures from my *.xml and I have 4 pictures in full size, and 4 small ones (thumbHolder) When I click on my "thumbHolder" small pictures then I get my big pictures! That I understand and it work allright. But my question goes how to make a n...more >>

Variables
Posted by glenn1254 at 1/6/2005 8:33:22 PM
I have a movie on _level0 and with 5 buttons. I want each button to access _level6 and assign the end of the timeline something different for each button. I am having a hard time assigning the variables. For whatever, I can get one button variable to work, but when I assign the variable to t...more >>

How do you prevent mp3s from being saved?
Posted by pixelgrazerDan at 1/6/2005 7:53:50 PM
I have a Flash MP3 player that stream's MP3 files. Works just dandy. But I have noticed that when a person listens to a track the mp3 file is saved into their temporary internet files. Is there a way to prevent this? I know nothing I put up there will be 100% safe but it would nice to make...more >>

Replicating slider in browser window
Posted by shawnoel at 1/6/2005 7:23:07 PM
Hello! I 'm trying to replicate the slider on the side of browser windows. I have it made and working as far as moving or sliding it up and down, but i want to link the text to the slider so it moves when the slider is moved. If you wanna' see what i'm talking about go to www.usaimage.com....c...more >>

Play Movie Clips in order automatically?
Posted by mrkgreene at 1/6/2005 7:13:52 PM
Okay, nother dumb question, but I'm animating a cartoon and I have a sequence of scenes that I have saved in the library as movie clips. I line them up in order on five frames of a single timeline and I want each frames movie clip to play out before advancing to the next frame automatically, r...more >>

preloader-many mp3 symbols
Posted by vadkins at 1/6/2005 6:35:36 PM
My preloader isn't working correctly. It's 10 frames long and in the first scene. The .swf has 7 mp3 files in sequence in the timeline. Each time the preloader loops (if (_framesloaded>=_totalframes) { gotoAndPlay("intro","start"); } else { gotoAndPlay("intro",1); }) the first...more >>

projector run slow
Posted by Methark at 1/6/2005 6:15:52 PM
Hi folks, I?ve posted some days ago, but the issue was not solved with the answers. Ok... i?ll try it again: The problem is: I?ve made an big flash aplication (projector), and it?s to slow running in a pentium III or less. I did everything to decrease the memory spend (jpgs, alphas, etc)...more >>

scalling a loaded MC
Posted by Brian at 1/6/2005 6:10:45 PM
I am using a loader component to load swf files. I now want to use new swf files but they happen to be to large, so I would like to scale them to the size of the loader component. I thought I could do this by setting the "scaleContent parameter to true, but for some reason it just will not s...more >>

How can I reset the combobox?
Posted by Tomdogggg at 1/6/2005 6:00:45 PM
I have a database input form which I would like to have refresh everytime a new record is added. I need to know how I would go about resetting all the comboboxes to index 0(the first LABEL in the box). Is there a property I can reset, or just tell it to be displaying that particular index? ...more >>

Upper bound to msecs argument in setInterval?
Posted by castanza at 1/6/2005 5:40:51 PM
Does anyone know if there is a maximum number of millseconds you can pass to setInterval? I was trying to get something to loop every 2 hours and it doesn't seem to. The most I've seen is 30 minutes (1800000 ms) ...more >>

Variables & Navigation with loadMovie
Posted by ShinySpoon at 1/6/2005 5:29:09 PM
Hello everyone, I'm a veteran web developper with a little bit of Flash design experience under my belt. But I am fairly new to ActionScript. Here's my dilema. I am currently working on a large projext using Flash, ASP and SQL. The *.fla file has become large enough that we've decided to...more >>

1 movie clip superimposes another, why?
Posted by lariat1997 at 1/6/2005 4:50:17 PM
Does anyone know of a sample on preventing one m/c from superimposing on another movie clip? I've got a thumbnails m/c(when clicked to show a bigger pic of that thumbnail in the middle of the screne) that superimposes on another thumbnail m/c. Both m/c's have larger pics of their respected ...more >>

Button, Depth, htmlText problems
Posted by degen8 at 1/6/2005 4:43:30 PM
I'm creating a small events calendar and it gathers the data from a mySQL database using a php page. All the information is found OK, but the way I have designed it is causing problems. I have two bars, one at the top and one at the bottom. On these bars is a button that the user will roll...more >>

Can I control one Flash File / SWF from another?
Posted by sstringer at 1/6/2005 4:36:56 PM
Overview: I would like to use one flash player to trigger animations in another flash player residing on the same computer. Any pointers in the right direction would be most appreciated. Details: I have two swf files, one with a series of clickable menu options and another separate sw...more >>

setInterval() (i mean it, it really is a question about setInterval() ;) )
Posted by Jon Moyles at 1/6/2005 4:31:27 PM
ok, so after seeing all enthusiasm from certain respectable members of this forum toward the setInterval() method, i decided to learn how to use it. i seem to be missing something fundamental however. my code is like this: mover = setInterval(moveAlong() , 84); function moveAlong(){ ...more >>

simple game
Posted by davidjessesson5 at 1/6/2005 4:18:20 PM
What I am attempting to do is create a family fued game. I have all the graphics created and now I need to figure out how I can make it function the way I want. I would like to be able to press the "1" key and have panel one flip over on the screen. I do not want any mouse interaction if that ...more >>

using movie clips as buttons
Posted by cbthom at 1/6/2005 3:59:29 PM
I'm trying to use a movie clip as a button. I've created _up, _over, and _down state in the mc timeline and then I brought the clip into the main timeline and applied the following standard button clip: on(release){ gotoAndPlay(34); } This isn't working. What am I missing here? I've checked...more >>

Where is INCLUDE directory ?
Posted by Two Face at 1/6/2005 3:58:56 PM
High! I'm new user of Flash and I've some problem here... I have DrawingMethods.as (from Joey Lott's "ActionScript Cookbook" ). It's simple drawing API. And here is the question : " Where I must put this file to use it in my programms ?" I have FlashMX Professional version 7.0 and Windows...more >>

combobox dropdown row height
Posted by Fulanovic at 1/6/2005 3:09:54 PM
Is there possibility to setup combobox dropdown row height ? Thanx...more >>

Trapping keys CTRL+S, problem
Posted by Fulanovic at 1/6/2005 3:04:50 PM
I want to trap CRTL+S keys and it wont work !!! But if I use this code, for trapping CRTL+7 it works fine ! var keyListener: Object = new Object() ; keyListener.onKeyDown = function() { if (Key.isDown(Key.CONTROL) && Key.getCode() == 55) { trace(Key.getAscii()); } }; Key.addL...more >>

XML Gallery... buttons not working
Posted by Anth2003 at 1/6/2005 2:48:49 PM
I am trying to add buttons to my XML fed image gallery... the following code works fine for laying out the images and text (nb. only part of the project code below) - for(i=0;i<allGalleryData.length;i++){ newPic=_root.thumb_grid_1.attachMovie('template','piece'+i,i+100); newPic.l...more >>

removeMovieClip() stops to work
Posted by Ekur at 1/6/2005 2:32:01 PM
I've got a weird problem. removeMovieClip() stops to work to work when I add a component like Button or InputText to my Library. And then when I remove the components from the library the removeMovieClip() functions I use in several places work as normal. But just when adding a component from ...more >>

Dynamic text box resize
Posted by Anth2003 at 1/6/2005 1:19:04 PM
I have loaded and laid-out my text box as follows: imageInfo=_root.attachMovie('desc', 'desc_1', 200); imageInfo._x = Stage.width - desc_1._width; imageInfo._y = Stage.height - desc_1._height; imageInfo.desc_text.text = allGalleryData.firstChild.firstChild; What I was hoping was ...more >>

Stange but true
Posted by Spurz were robbed at 1/6/2005 12:45:26 PM
OK chaps its a strange one, ive created a file using the loadmovie comands and it plays fine in flash and fine in my browser when i link to the swf file, but when the swf file is placed into an .asp page the loadmovie commands wont play - help needed any ideas? testfiles: 217.206.223.61/...more >>

There is?
Posted by Edwin Santos at 1/6/2005 12:07:20 PM
There is any process that return the name of movieclip by instance name? of kind: var x = instance.anythingmethod(); //x will be movieclipname obs: in Flash 5... Thank Guys. sorry my bad English Gustavo Sou Brasileiro e so desisto as vezes ...more >>

Movie Version of the "soundClipExists()" function?
Posted by Spam!? at 1/6/2005 10:30:28 AM
A few days back I pondered the questions of how to find out if a "linked for actionscript" MP3 file exists. NSurveyor bravely stepped up to the plate with a short and sweet funciton that did just this by cleverly loading the sound and finding out if its duration was NOT UNDEFINED... works ...more >>

XML parsing problem CDATA?
Posted by runaway_vibrator at 1/6/2005 9:37:09 AM
can anyone see if there is anything wrong with this CDATA declaration...my code seems to mess up when I try to parse the xml with the <ds>, but doesn't when its just plain text...which is weird cos I obviously am talking to the correct node when the tags aren't there... <page text="<ds>" J...more >>

Clip Events affecting MC's content
Posted by _the_traitor at 1/6/2005 9:00:18 AM
Hi Can anyone explain why my Movie Clip content is ignored when I apply a ClipEvent() to it , code attached. The mouse pointer stays as a hand icon and none of the buttons inside of it work. I've not used Clipevents() and I'm currently in a mild state of panic !! Its being put toge...more >>

Problem calling movieclip name dynamically
Posted by tekism at 1/6/2005 6:43:54 AM
The PlaySection(num) function works correctly.... but when i get to the showFunction() function it stuff's up! When i trace the variable nextMC withn showFunction() it returns _level0.merchandise wich is correct, however it still doesn't goto the frame labbeled "start" in the movie clip ...more >>

screen or scene - what's the difference
Posted by doienstudios at 1/6/2005 5:53:01 AM
Can anyone give me some input as to what the difference between a scene and a screen/form/slide would be? What are the advantages disadvantages of using one over the other? I've noticed you cannot use both scenes and screens, only one or the other. ...more >>

screen or scene - what's the difference
Posted by doienstudios at 1/6/2005 5:52:59 AM
Can anyone give me some input as to what the difference between a scene and a screen/form/slide would be? What are the advantages disadvantages of using one over the other? I've noticed you cannot use both scenes and screens, only one or the other. ...more >>

HOW TO : Number.toString() without the "e+" ?
Posted by alvinpang at 1/6/2005 5:35:48 AM
I wanted to have a function similar to the Number.toString() but will return the exact flat & simple string instead of with the "e+#". Anyone knows how to do it? Thanks....more >>

Interactive forms or screens
Posted by doienstudios at 1/6/2005 5:18:59 AM
I am working on an app with about 8 screens/forms. My main app contains seven buttons. I have each button hiding/showing the various screens. I want just one screen to show up when the app is launched, but at the moment all screens show up until one button is clicked, then seven hide and one...more >>

Condition evaluates incorrect
Posted by axiom21 at 1/6/2005 5:14:46 AM
The following code --------------------------------------- answerValue = Number(answerText.text); correctAnswerValue = questionValue/100; correctBool = (correctAnswerValue == answerValue); trace(answerValue); trace(correctAnswerValue); trace(correctBool); ------------------...more >>

fscommand exec not working?!
Posted by KrakaJap at 1/6/2005 4:14:18 AM
For some reason I cannot get the fscommand 'exec' to work when pointing to a relative path. I know I've gotten this to work before but for some reason it's not working this time. I've re-installed Flash MX just to make sure that my installation wasn't corrupt somehow, but I still have this p...more >>

ASP CDONTS response to Flash MX
Posted by timsilva at 1/6/2005 4:05:28 AM
HI all, I have a flash mx form that using an ASP script to send mail using CDONTS. However, I'm trying to find out how ASP and CDONTS can respond to flash... I've used ASPMail to do this before but this server only supports CDONTS... The form works but the response to the textfield in the mov...more >>

caching problems with dynamically loaded SWFs....
Posted by Spam!? at 1/6/2005 3:56:17 AM
Is there a simple solution to the following problem SWF1.swf loads SWF2.swf at runtime and displays it as a dynamic 'overlay' kind of thing. When browsing for the first time to this site, all is fine. When SWF1.swf is changed, you seem to need to CTRL+F5 (force refresh?) to get the chang...more >>

getURL limitations?
Posted by Kennexionz at 1/6/2005 3:13:18 AM
Hi, I created a button and inserted the following script in my button : on(release){ getURL("panduan/main.htm","_self"); } I exported my movie, I do not seem to be able to open the page. When I tried in on a HTML housing it works like a charm but when I converted in to an E...more >>

Math.round
Posted by knucklenutz at 1/6/2005 3:09:57 AM
I know I should know this, but I am drawing a blank. I know it possible to take a number and round it to an integer using the Math.round method, but can you take a number and round it to a decimal place? Say round 1.48 to 1.5? Thanks in advance! ...more >>

html text issues and special characters
Posted by sumier at 1/6/2005 3:04:46 AM
I have a text file with html formatted text in it. This text is loaded dynamically in a text box in Flash. The problem is, I have german text with special characters ? and ? and such. The html code for these characters is &amp;auml; and so on. The problem is, flash does not display text as soo...more >>

linking of page
Posted by doremitea at 1/6/2005 2:41:37 AM
hi, may i know how can i link a page to another page, this is what i have: i have a workflow picture so when i click on it, it will go to an animated workflow page...i did this sucessfully but the problem is the animated workflow page when i try to go back to the workflow picture, it can't......more >>

playing sound
Posted by John_Quiz at 1/6/2005 2:40:35 AM
How can you get it so each time you roll over a sprite, it plays a sound? Thanks for your time John...more >>

Dynamicaly Resize
Posted by Lark16 at 1/6/2005 2:10:50 AM
I have a 100x100 movie that plays... everything works fine, But if someone specifies that the flash should be larger, I want it to display in the top-left corner. So if they go: <object>......width=250 height=300....</object> I want it to play in the top-left corner? Is there a wa...more >>

Sending Form Data
Posted by WebIslands at 1/6/2005 2:03:51 AM
I have designed a form, but as one of the great things about flash is... There is once again something else I dont know. How to send the data to my server. If someone can help, it would much appreciated. Thanks ~Chris ...more >>

Play a Movie Clip on Button Release
Posted by calpolyarc at 1/6/2005 12:30:50 AM
I'm trying to get a movie clip to play after a button is pushed, but all I can find is an Action that wants to load a movie or jpeg from a URL. I don't want to load something external, it's just a simple movie clip, HELP! Thanks... ...more >>

unloadMovie question
Posted by acornelio at 1/6/2005 12:27:20 AM
I have a project that uses 4 separate XML files. I am trying to load and unload different XML files into my XML obj by release of a button. The problem occurs when I add more than 3 nodes into my initial XML file. unloadMovie does not work correctly. It only unloads certain parts (jpegs) from ...more >>

Locking Flash File and adding copy protection
Posted by Richard B. at 1/6/2005 12:09:32 AM
I've been looking at various delivery methods for ebooks and thought about using Flash, but need some questions answered first. When the user opens the ebook they can book the can peruse the first of chapters without paying for the book. Once they purchase a license for the book the remaining ...more >>

ComboBoxes droping down at stage 0,0 ??
Posted by HHslap at 1/6/2005 12:03:51 AM
I'm dynamically creating ComboBoxes, inside movieclips, wihch are inside other movieclips. This worked fine was I was using AS 1.0. Now I'm converting to 2.0 and every combobox I create is in the correct place, but it's blank, and when I click on one, it's drop down list appears at stage 0,...more >>


DevelopmentNow Blog