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 > february 2004 > threads for wednesday february 11

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

H-E-L-P! w/ buttons/actionscript
Posted by skydesigns at 2/11/2004 11:48:24 PM
I am a begginer @ actionscript ... i know the rest of flash fairly well I know that there has to be a way for me to use a button inside of a movie clip to go to a different scene I have tried the basic goto command and the _root. and _parent. prefixes but I can't seem to get out of th...more >>


Random Flash Movie on reload
Posted by Benno at 2/11/2004 11:34:12 PM
Hi all Have searched for this topic and did not get the answer i was looking for So... if i have a three movieclips, how do I randomly generate them on a refresh ie. on each refresh it plays a different movie clip Im thinking it would be better to ramdomly select them from the loadvars...more >>

Textfield.html = true vs TextField.setTextFormat
Posted by Nixy at 2/11/2004 10:48:46 PM
H I need to use html textfield to control when the text must change the line (br tag). The problem is that I can't use setTextFormat if I use html text. Is there a workaround? I need to dynamicly create my textfield. And set the text format that I created before Tanx in advance ...more >>

Loading text and images at the same time?
Posted by Eric_Pena at 2/11/2004 10:32:48 PM
Hello I?m making a picture gallery, I?ve already done one like this one time ago, but I lost my source file and now I?m trying to do it again. I can?t seem to get all the things working like before I need to load a text file everytime the user clicks on a thumbnail at the same time that th...more >>

menu component and removeMenuItem
Posted by emadsen at 2/11/2004 9:08:53 PM
why does this not work? calendarMenu = myMenuBar.menu.addMenuItem({label:"Events", instanceName:"mnuEvents", icon:"icon_calendar"}); //somewhere down the line calendarMenu.removeMenuItem();...more >>

Setting caret position within a text area
Posted by mikejan at 2/11/2004 8:44:31 PM
Is there any convenient way to do this? I can find where the cursor is by using Selection.getCaretIndex(), and I can set a selection within an area by using Selection.setSelection(), but I can't seem to find how to move the cursor to a specific point within the text. Basically, I want to giv...more >>

Problem with dynamic text inside button instance
Posted by gaGeet at 2/11/2004 8:00:04 PM
Hi people I want to have dynamic text inside the button because when my program initiates, it loads the data (from XML file) to put inside the text of the button However, when I use dynamic text inside a button, and put my mouse over that button, I am able to select the text, but not cli...more >>

Scrolling dynamic text in a "movie credits" style
Posted by SuperPope at 2/11/2004 7:59:04 PM
I'm creating a kiosk that will be displayed on 30 inch LCD displays in our corporate headquarters. A list of names will be pulled from a database and scrolled vertically across the screen, looping ad infinitum. Here are my problems 1) The length of the list will vary from day to day. T...more >>



To build a movie frame-by-frame at runtime via AS
Posted by Karim N at 2/11/2004 6:06:02 PM
I have a task that I want to do, but I'm not exactly sure how to go about it I have a text file that contains "tileset=1a.jpg,1b.jpg,1c.jpg,2a.jpg,2b.jpg& I have the following script to load & parse the file from a mc instance called "testtile" onClipEvent(load) loadVariables("...more >>

Prototype Array method being called by Combo box
Posted by Venura at 2/11/2004 6:03:37 PM
I?m reasonably new to AS so please excuse me if I?m doing anything silly All the code I have in frame 1 is below on stage I have a combo box with all the default properties When I test the movie As expected I get a ?outputecho? on the trac When I click on the combo box I expect nothi...more >>

HELP! Can't find path to import text file
Posted by chrsjrngn at 2/11/2004 5:17:59 PM
Hi Everybody, Someone PLEASE help me figure this one out! I am using a Flash template that someone else designed. The movie I'm working on only has one Flash file (fla) and four text files. At runtime, the swf imports the data contained within these text files. Now, when the Flash movi...more >>

Shared Object problem online
Posted by Alejandro Ramos at 2/11/2004 4:28:29 PM
Hello, I have a movie1 that creates the shared object with data, and movie2 on a separate browser window that will read the shared object. On movie 2 I have: shoppingcartSO = SharedObject.getLocal( "Aerodynecart","/" ); var carrito = shoppingcartSO.data.cartitems[0].code //"carrito" ...more >>

XML traversing
Posted by Nis at 2/11/2004 4:12:22 PM
Hope somebody can straighten me up here, cause I don't know what's wrong. I need to travers through an XML document and add each node til a Tree from Flash UI Components Set 2, used in Flash MX 2004. For some reason it starts a never-ending loop!!! This is the script I have created. The xml...more >>

Can I know my page history?
Posted by Frank K at 2/11/2004 4:01:38 PM
I was wondering if there is a way to check if the user has already visited the current page (in the same session), so that I can change some actionscript variables accordingly. e.g. I don't want my Flash to autoplay each time a user returns to the home page, but I do want autoplay on the first ...more >>

Help Please! Interactive map
Posted by Steboy01 at 2/11/2004 3:20:00 PM
I have to create an interactive map, which shows the campus layout of a university. I want the user to be able to rollover, or click on any building, and a photograph with some info on the building appear somewhere on the page. Preferably, i'd like to include zoom in/zoom out functions so the ...more >>

preloading sounds
Posted by c_remus2002 at 2/11/2004 2:29:28 PM
ok... here is my problem. I export the sounds in a movieclip (from the library) for use with action script (you know... "linkage.. bla bla.. export in first frame..") THE PROBLEM is that when i preload the movieclip, the preloader waits for the sound to load before displaying anything else. ...more >>

Sound Is Playing state?
Posted by Nan R at 2/11/2004 2:21:52 PM
Is there an actionscript check to determine if a sound is currently playing in the current movie? Thanks. Nani ...more >>

preloader
Posted by urban65 at 2/11/2004 1:56:10 PM
Hi people Here's my problem I have designed a portfolio site, very simple 100+ frames all the images at intervals of 10 frames, with next and back to navigate through the images I have the preloader set up on the first frame with the following code stop() myInterval = setInterval(p...more >>

saving txt file to hard disk from flash
Posted by pazzi at 2/11/2004 1:55:21 PM
i have a movie that loads variables from a txt file and i've got another one to edit the txt. up to this point everythnig it's ok bu i want to be able to save the changes the code i use is on (release) fscommand("save", "test1.txt") i cannot understand whats wrong does anyone...more >>

2 Movie Actions for Same Button
Posted by MattManchester at 2/11/2004 12:35:33 PM
I've included an example of the problem I'm having here. On Over the static electricity starts, which is fine - but on clicking the mouse button I need to hold the mouse to complete the movie. I want the ball to move on just a single click and stay at final position. The problem is that the...more >>

Differentiating instances
Posted by adi_c_adi at 2/11/2004 12:18:21 PM
Hello I have several instances of the same button. And for example I would like that after any button is pressed a trace command will show a different number (the ID of the instance for example) I guess what I am asking is how can I differentiate between different instances of the same sym...more >>

File Downloading from Flash
Posted by Gerardo Chacon at 2/11/2004 12:07:14 PM
I am trying to implement a File Download in Flash but I don't know how. I know that can be done since in the Macromedia Exchange there is a 'Download' button and when you click it, the 'File Download' dialog box comes up. I tried using 'getURL()' and the 'File Download' shows up but I ended u...more >>

actioscripted tween via easing
Posted by danny cobbinah at 2/11/2004 11:46:10 AM
hi there. i know how to move a movieclip from one point to another using actionscript. but how do i do the same thing with easing added in. eg. have a fast moving animation at the start then a slowing down anim as it nears the end point. anyone know of a great resource or an actual script that do...more >>

how to check the environment/runmode of swf execution
Posted by lingoingo at 2/11/2004 11:39:48 AM
Hi, I am programming a flash movie for an director project. In the movie I call an getUrl("lingo:...") to send a message to my lingo scripts. When I test the movie in Flash there is always opening my browser window. How can I test if the movie runs in Flash or Director? thanks for any he...more >>

dynamici text links
Posted by danny cobbinah at 2/11/2004 11:34:50 AM
hi there, i am stuck. i am after a script that allows dynamically (html) text to be a link that has a rollover effect like in dreamweaver. a:link, v:link and so on. is there some actionscript that handles this? cheers me deers ...more >>

Dynamic Text Embed Font
Posted by Mark McCarthy at 2/11/2004 11:30:30 AM
Hi Folks, I posted earlier about a dynamic text field i am populating randomly using words from a text file. My issue now is when i embed fonts for this text box it no longer displays the text, however as soon as I remove the embed font option it displays again. Is it possible to embed fon...more >>

Dynamic images
Posted by ungoliant at 2/11/2004 10:57:52 AM
Is it possible to dynamically pull images into a Flash sequence from a word doc for instance?...more >>

how to generate automatic tweenings ?
Posted by Harvey Wallbanger at 2/11/2004 10:31:53 AM
Hello out there Question1 Is it possible to import to flash any other things than XML-Data? Perhaps MySQL or something Question 2 How can I move a Symbol by action skript from a startingpoint to an endpoint from one frame to another frame Or how can I get tweenings by action script...more >>

2 movie events for 1 button
Posted by MattManchester at 2/11/2004 9:50:19 AM
Can anyone tell me how to invoke a movie for the Over state AND another movie for the Down state without the two movies conflicting At the moment I have to keep my mouse button pressed for the Down movie to play. If I release the button it immediately reverts to the Over movie clip ...more >>

preloader percentage
Posted by moni_80 at 2/11/2004 9:47:07 AM
Hi! I am sure my question will seem so basic to you... I?m just getting started with flash If want the typical preloader with a bar getting filled with a color to show the percentage of the movie that has been loaded allready... basically... how can that be done I know the "if frames load...more >>

Problem in button states
Posted by Kishore G P at 2/11/2004 9:44:14 AM
Hi All I have a button [b](b1)[/b] , which I need to disable once I click it, later I enable it again, by clicking another button [b](b2)[/b] The code I have used is ***************************** b1.onRelease = function() b1.enabled = false } b2.onRelease = function() b1.e...more >>

Stage width & height
Posted by migwia at 2/11/2004 9:38:17 AM
Has anyone else noticed that stage.width and stage.height report incorrectly when yopu test your movie at 100% Does anyone have a good way round this e.g. try this Start a new movie and on the first frame add this code this.onEnterFrame = function() trace (Stage.width+","+Stage.he...more >>

eval() madness
Posted by Mark McCarthy at 2/11/2004 9:35:39 AM
Hi Folks, I have done the obligatory search and have not yet been able to find = anything that will help me in my quest to get a small script working. It loads vars from a text file, one of = which contains a number that is used for randomisation. Each variable in the text file is "myVars1", ...more >>

about invoke windows API function in as
Posted by tennisboy at 2/11/2004 9:31:11 AM
how can I use the actiongscript invoke the windows API function?...more >>

getBounds???
Posted by - = v i p e r = - at 2/11/2004 8:55:36 AM
Hi If someone would check the file and please tell me why the hitTest works great on the _x axis but on the _y axi the mcGubbe slides of the mcSten if you push the down button and the forward button at the same time Thank /And ...more >>

Realtime XML Data - Highlight data changes? 1 sec
Posted by rabbott at 2/11/2004 6:26:12 AM
Hi I'm currently working on a realtime ticker and one of the requests is to highlight data for a split second that has changed. For example, say the realtime data updates every 3 seconds...the initial data text color is white and if it hasn't changed within each 3 second interval it stays ...more >>

A.I. Object
Posted by Psyberium at 2/11/2004 6:00:48 AM
How do i get an object to follow another object but maintain a specific distance from it? And to activate a MC when its reaches that distance? Any ideas? Thanks....more >>

scroll pan component problem
Posted by sebnewyork at 2/11/2004 5:41:04 AM
Hi all using Flash MX 2004 pro, I am using the scroll pane component I have managed to customize all the elements of the component, exept ONE, and it is killing me I want the scroll bar to be on the LEFT of the scroll pan, not the right The only solution I have found is ridiculous: I've ha...more >>

loading image DIRECTLY from folder with loader?
Posted by uncle_3than at 2/11/2004 5:25:09 AM
Hi, I making my website and trying to load jpg into a movieCLip which will holds all of my loaded jpg images I have a MovieClip called "holder and I want to load img into this clip. so I wrot ACTIONSCRIPT holder.loadMovie("myPic.jpg") I know how to code preloader..but the probl...more >>

counter that counts down time remaining
Posted by sebnewyork at 2/11/2004 5:19:30 AM
H I made a 9 minutes long Flash presentation I need to have a counter that will count down time from begining to end of the presentation, in minutes, seconds, hundreds and milli seconds. (I guess since the movie only has 24 fps, the hundreds and milli seconds will be bogus anyways, i'll ju...more >>

Counters??
Posted by AlTeCk at 2/11/2004 3:23:14 AM
How can i create a counter that when i hit a button a counter goes up one?...more >>

Bug in PrintJob?
Posted by drevil at 2/11/2004 1:42:20 AM
I have an application that prints dynamic content using an offstage printer object which manages layout, page breaks, headers/footers, etc. Through that object, I pass a fairly complex set of output, enough to render 2-3 pages. The time it normally takes to print all of my content is generally...more >>

saving as a jpeg
Posted by rp_d at 2/11/2004 1:34:00 AM
hey there fellow i have a dealine on this project due on the 26th of Feb. and i need some guidance for this question the project is a "program" thing that you can customize hockey jerseys in. you can choose the color and the fabric styles etc what i need to do is that when the user i...more >>

ComboBox Problem
Posted by poopyman67 at 2/11/2004 1:13:53 AM
I gotta combobox on my interface, and I want to make it so that if they pick one, (in this case, they are states), it loads a variable(lets call it state) as that state. I set the labels as the states, but I dont know what 2 do about the data... what i want it to do is something like this...more >>

How can I go to a url when my flash movie finishe
Posted by kbrant at 2/11/2004 1:05:29 AM
I used the action script goto url on the last keyframe of the movie but it won't go I loaded everything onto the server properley but it still won't go. Don't know what I am doing wrong What is the exact action scrip Any help would be appreciated ...more >>

Event for Movie Clip
Posted by adi_c_adi at 2/11/2004 1:01:22 AM
Hell I have builted a movieclip with a 'onMouseDown' event. From this movie clip i have creadted sevral instances. the problem is when I press one Movie Clip all the instances get the event! why is that? what can i do Many thanks, Id ...more >>

one Flash to another?
Posted by Nan R at 2/11/2004 1:00:14 AM
I have a html page with several Flash files that can make noises, though each one has a play/stop controller. Is it possible for the Flash files to b3 aware of one another so that when one is clicked, the other/s stop? Thanks Nano ...more >>

Script for simple pull down menu
Posted by JLD.MX at 2/11/2004 12:42:54 AM
I am creating a GUI with company logo and pull down menu of produtcts. Simply, when a user selects a product from the pull down menu, it will display the Image in a designated spot on the same page. I loaded all the Images in the library, but how do I call on them and/or associate them to th...more >>

Script for simple pull down menu
Posted by JLD.MX at 2/11/2004 12:42:50 AM
I am creating a GUI with company logo and pull down menu of produtcts. Simply, when a user selects a product from the pull down menu, it will display the Image in a designated spot on the same page. I loaded all the Images in the library, but how do I call on them and/or associate them to th...more >>

rotate & move
Posted by Psyberium at 2/11/2004 12:39:17 AM
I have an object I'm controlling with the Lt, Rt, Up, Dn keys. The Lt & Rt keys set a _rotatation property to rotate the object LT & RT. The Up & Dn keys use the _x property to move the object forward on the x-axis. Is there a way to make the rotation property control which direction the Up ...more >>

Sound will not import with Quicktime movie
Posted by VUMich at 2/11/2004 12:13:22 AM
I have been supplied some Quicktime movies to be embedded in a flash movie. When I import the Quicktime movie I get the following message Note: No supported audiotrack in this file was detected Subsequently only the visuals are imported and the sound is missing If I play the movie in Qui...more >>


DevelopmentNow Blog