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

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

How do you do this again?... (easy)
Posted by dejayedwards at 5/27/2004 11:01:09 PM
Hey, I could do this with the old flash but now theve got rid of the idiot mode, im skrewed. What i need is the actionscript for a button so that when it is released it goes to a seperate flash movie ( GetURL) but ALSO goes to a particular frame and scene in that movie. Thanks in advance, ...more >>


finding total lines of text box vs.maxscroll
Posted by Bundbary at 5/27/2004 10:47:16 PM
I am making my own text scroller and dynamic/resizable text boxes and I want the scrollbar size ratio to be the same as the ratio of maxscroll/total-lines-of-text. I see the maxscroll property easy enough but is there a way to get the number of lines that are visible in a textfield on the fl...more >>

problem with dynamic image loading
Posted by buck love at 5/27/2004 10:25:54 PM
i want to load this image: http://www.accuweather.com/wxpost/small_byzip/ZI12564/11/wxport.png into a movie clip in my movie. i use movieclip.loadMovie("http://www.accuweather.com/wxpost/small_byzip/ZIP_HERE/11/w xport.png") but nothing shows up. when i use a jpg stored on my computer ...more >>

Creating Dynamic Animation in Action Script
Posted by AJH16 at 5/27/2004 10:24:27 PM
I need to generate a dynamic animation when a button is clicked. Essentially, I have an image that is located in a movie clip, a joystick that moves that image around, and I have a button that when pressed will remember the current position of the image. The trick is that I then want the use...more >>

overriding sound
Posted by justDABE! at 5/27/2004 10:03:32 PM
here's the situation. i have a stage, in which i load an another .swf onto the mainstage. On that external .swf, i have a streaming audio within that movie. So here's my question. How would i override the sound settings from the mainstage to the external .swf, but without stopping the...more >>

problem comparing equality of dates-is this a bug
Posted by fat steve at 5/27/2004 9:53:32 PM
Hi, I'm trying to compare two dates that are the same, and perform a specific action if they are the same. Here's my code: When they're equal Flash says that they aren't. Why? Is this a bug b/c it makes no sense! >:( var d = new Date(2004, 3, 17); var e = new Date(2004, 3, 17); trace...more >>

Can .swf saved locally. No dowloading each time users visit website.
Posted by guptasameer NO[at]SPAM india.com at 5/27/2004 9:27:13 PM
I've a lare .swf file which once downloaded starts downloading dynamic XML data. and these XML files are also very large. so can i do something which can automatically save my movie ie my swf to local disk of by visitors. something like cookies or SharedObjects but this time a complete swf th...more >>

setVolume global?
Posted by CraigJW at 5/27/2004 8:04:33 PM
Is there a way to use setVolume on the whole Flash movie, rather than a specific sound object? I have a Flash movie with a layer containing streamed audio. I have created a slider bar to control the volume and the bar successfully returns a numeric value between 0 and 100. How do I set thi...more >>



UI components, email form
Posted by gazzer11 at 5/27/2004 7:09:26 PM
Looking for information on using UI components, particularly the combo box, with text fields to send data to a PHP script that directs the data through email. I see a lot of tutorials on ASP and CF or tutorials on simple text fields but I need a dropdown menu or combo box in my form. I can...more >>

Resize Browser with flash
Posted by Gionex at 5/27/2004 7:08:58 PM
Hi I want a button in my movie that when I click will resize the browser window it is in. Please help me with this, Thanks Dan...more >>

Printing DataGrid
Posted by Bundy30 at 5/27/2004 6:46:34 PM
Hello, I have a dataGrid that is being populated by XML file, all good so far, but they want to be able to print its content. I tired using PrintJob() and then addPage(myDataGrid); I tried this thinking it wouldn't work and of course it didn't, it just printed the outline of myDataGrid....more >>

Flash "form" trouble (Flash MX)
Posted by bjcustoms at 5/27/2004 6:43:24 PM
I have a Flash object that is emulating a main frame application. I have the user tab to a particular spot, enter a value, and if the value is correct, I send the user to another frame in the object. If the value is not correct, the user is alerted and directed to correct the entered value. ...more >>

Flash Javascript in Hotmail
Posted by RedEraser at 5/27/2004 6:24:13 PM
I am having a problem opening new windows from a flash interface called from a link in Hotmail. For some reason Hotmail doesn't allow you to leave when clicking on a link in the email and disables functionality. Having a sized pop up from a flash interface is vital for my company. Any suggesti...more >>

tweening MC after its colored doesn't work??
Posted by joejaslgv at 5/27/2004 5:46:59 PM
Hi, I have a MC that I change colors with: myColor = new Color(mc_loader); myColor.setRGB(lvObj.colorP); But when I tween the MC, it doesn't work, or it doesn't show at all. Any thoughts? thanks! ...more >>

loadMovieNum() buttons only work on my computer
Posted by Habitmaster at 5/27/2004 5:33:43 PM
Using loadMovieNum() I load a swf into level 50. The buttons on level 50 swf use _level0.whatever_mc to target stuff on the main swf at level 0. It works when I test it on my computer. It work on my website, but only on my computer. Any other computer loads it all correctly but the buttons ar...more >>

Kiosk attraction loop
Posted by lava at 5/27/2004 4:50:50 PM
hi, I'm building a flash kiosk that needs to kick into an attraction loop after 60secs of mouse/keyboard inactivity. Any examples or best method of implemeting this would be great! :) Thanks ...more >>

onEnterFrame between 2 swf's ?
Posted by H_A_K_A_N at 5/27/2004 4:38:38 PM
Hi everyone, I have 2 different movies in a web brower and in one of them I have an onEnterFrame function. Via a push button in the second movie I'm trying to stop (delete onEnterFrame) the function in the first movie. I failed with fscommand and experimented with LocalConnection, but it d...more >>

dynamic text update
Posted by gbhumphrey at 5/27/2004 3:28:17 PM
Hi, I'm sure there is a simple updated solution for this, Ive seen several older tutorials, but the code is out of date. Im trying to populate a dynamic text field from an external text file. Im using Flash MX 2004 with Flash player 7. Can anyone tell me the best way to do this? Thanks ...more >>

Run while holding button
Posted by AJH16 at 5/27/2004 3:13:49 PM
I'm sure this is probably somewhere else in the forums, but I can't seem to find it. I am trying to write a script where I click on a button and while the button is held down it repeatedly runs a command, until the button is released. The goal is that I want 2 zoom buttons, one that increase...more >>

startDrag inside a function()
Posted by mercl at 5/27/2004 2:59:02 PM
Hi, i'm tring to make a Mclip draggable inside the clip i have a button: - mybutton when i do on (release) { this.startDrag(blabla); } this works fine: i drags this (the clip of the button inside) Now when i try: mybutton.onRelease = function() { this.drag(blab...more >>

variable not working with gotoandplay?
Posted by Geraint Lewis at 5/27/2004 2:50:18 PM
this line in my movie isnt working: gotoAndPlay(btn1var); now im not sure if there is a problem with that, or if the problem lies earlier in the movie where the variable is assigned: on (release) { function(){ btn1var = "Brochure1"; } gotoAndPlay("Contact1"); } can a...more >>

Using variables from URL
Posted by Tim Robertson at 5/27/2004 1:41:05 PM
Hi, I have my flash movie embedded in an ASP page which receives any variables passed from the URL. The embedding code is: <param name="movie" value="Language2.swf?arclink="&<%=Request.QueryString("arclink")%>> Am I correct in understanding that is all that needs to be done to actually sen...more >>

Handling $ and commas in calculations
Posted by Screenweasel at 5/27/2004 1:41:04 PM
Hello everyone. I have a simple calulator working, drawing values from two input fields. One of these input fields asks for an average annual salary. Putting in strictly numbers proves no issue. I do, however, get a NaN when things like dollar signs and commas are included in the input fie...more >>

attachMovie and buttons
Posted by lava at 5/27/2004 1:10:07 PM
I'm building a presentation that loads in header graphics with attachMovie command which works fine, apart from the menu button code in the attachmovie doesn't work? on (release) { gotoAndStop("menu",1); } The button hilights but doesn't action the code to jump back to "menu" scene?...more >>

Comparing 2 Arrays
Posted by The Albino at 5/27/2004 1:03:55 PM
Im trying to write a function to compare to arrays dynamically. Ideally I want something like rs represents which of the dynamic arrays I want to use and is passed in. The index represents which record in each array I want to compare. Exp Original_DynamicName_rs compared to DynamicName_...more >>

Play a MC back and forth, to a sertain frame
Posted by Abborre at 5/27/2004 12:45:14 PM
Hi! i guess this is a realy easy thing to do.. but i got some problems making it work.. :( I need this: i want a movieclip to play to a sertain frame.. i want it to ease in nice and smooth. and it also has to be able to play backwards.. EX: i press the button "play to frame 43" (a...more >>

web page in swf
Posted by alien4m_mars at 5/27/2004 12:42:12 PM
HI GOT THIS HUGE PROBLEM. IS IT POSSIBLE TO OPEN AN HTML OR SAY ANY GIVEN ADDRESS OF A WEB PAGE INSIDE A ..SWF FILE? CAN ANYONE LET ME KNOW ABOUT THIS??? OPENING A WEB PAGE IN AN SWF FILE......IS IT EVEN POSSIBLE.... TX ...more >>

CheckBox value submission to php
Posted by paras_78 at 5/27/2004 12:36:17 PM
I am using a simple mail form with some text fields and two checkBox elements. The form is submitting to a .PHP page. Form is submitting thru simple getURL action pointing to the php page. All the fields are working fine and sending the data in the desired manner except checkBoxes. I am u...more >>

benchmark testing
Posted by sschofield123 at 5/27/2004 12:20:59 PM
I'm doing some benchmarking, and have a simple operation in a loop, with timestamp being output at the beginning and end of the loop. If I increase my i to say 100000 it comes up with a message 'A script in this movie is causing Flash Player to run slowly. If it continues to run, your comput...more >>

Flash detektion Kit / back button problem
Posted by Max_2004 at 5/27/2004 11:45:22 AM
Does anyone know if there is a solution for "back button problem" with the latest Macromedia Flash Detection Kit. In other words, how to prevent loops if the user tries to click on the back button on their browser to leave the site. Thank you! ...more >>

Flash game needed
Posted by Tim Dixon at 5/27/2004 11:21:01 AM
Hi All, We need a game creating in Flash which is to be part of an application created in Director. The Game needs to be a driving game that promoted some kind of safe driving. eg. avoiding hazzards, stooping at lights, obeying speed restrictions etc - as long as its not all about running p...more >>

goto and play portions of scenes?
Posted by Geraint Lewis at 5/27/2004 10:52:40 AM
is there a way i can create a button which does something like this:? gotoandplay( 'scene1', 12-31 THEN 'scene4, 7-81); ? any help would be greatly appreciated. The only work-around i can tihnk of is to create a new scene containing the desired frames, but this would be duplicating exis...more >>

MX 2004 - Multilanguage Help Pls......
Posted by 34234 at 5/27/2004 10:40:41 AM
Hi, I am working Multilanguage Presentation. I created 5 Dynamic text boxes with English,Spanish and French language text with Unicode Languge. It's worked fine, I saved file and closed it. When I opened it again, in String panel rest of the language are missing except English. I can't...more >>

Duplicate clip in other clip container
Posted by gdumas at 5/27/2004 9:59:31 AM
Hi I have 2 movieClip c1, c2. In c1, I have a clip myClip I want to duplicate myClip in c2 How can do that? I try with DuplicateMovieClip, but the pb is that the duplicated clip stays in c1 Thanks for your help Greg ...more >>

Read data from a file to a array?
Posted by pmxgvn at 5/27/2004 9:53:45 AM
Help me! I have a file "data.txt", content of this file is: a1=Computer&a2=Radio&a3=Pictures&a4=Video&a5=******* And in Flash, i have a array: a=new Array(); Can i read data from file "data.txt" to this array? (Can i have: a[0]="Computer"; a[1]=Radio"; a[2]="Pictures"; .............. ??...more >>

Does flash five have math functions??
Posted by Cocwaye at 5/27/2004 9:22:15 AM
Does flash five have math functions?? such as sin, cos, Pi...etc...more >>

Don't show intro again button
Posted by LondonNewbie at 5/27/2004 9:03:41 AM
Hi - new here. I need some help scripting for a button for a flash intro. "don't show movie again" I understand this is to do with 'shared objects', but can't get my head round this! Can anyone please help me with the coding I'd need for this button? Please. ...more >>

key down
Posted by speedy d at 5/27/2004 8:07:05 AM
how do i restric it so that when the user presses a key such as enter, it only triggers an action once, not continually? If you do: if (Key.isDown(Key.ENTER)) {......... object._x +=5 if the user holds enter down, then it keeps executing. I want the user to have to press Enter each ...more >>

htmltext calling function
Posted by Vancats at 5/27/2004 7:38:49 AM
Dear AS Experts, I'm now getting very confuse after playing the AS for a few months.... I wanna know if it's possible to use htmltext to call a AS function? like... _root.mytext.htmlText= "<a>CustomFT('start')>PlayNOW</a>" CustomFT('start') is a Function mytext is a dynamic textfie...more >>

Dynamic text - next line command
Posted by braziliandan at 5/27/2004 7:30:52 AM
I have a dynamic text box which displays variable 'ratesnames' Right now, i have something similar to this : ratesnames = "14"; ratesnames += "15"; How could i tell it to display "14" in line 1, "15" in line 2, and so on.... ...more >>

UnLoad Event for swf files?
Posted by darshansingh at 5/27/2004 6:14:50 AM
Hello, I am new to flash and not able to figure out, how to handle unload events in flash files using action scripts. I am looking for something similar like the Body tag in HTML which, has the OnLoad and OnUnload events, as they are fired while loading and unloading the page. Is...more >>

change music on every visit
Posted by tach at 5/27/2004 5:30:02 AM
Hi, any idea's on how to make a code, that plays a different song every time u visit the page? THX...more >>

getBytesLoaded(), etc, etc, etc,
Posted by scotty71 at 5/27/2004 3:52:52 AM
I've got a main movie that loads external SWFs into a scrollPane. When the button is clicked to load the external SWF, a 'loading animation' becomes visible. When the 'getBytesLoaded == getBytesTotal' the animation is no longer visible. I can get this to work fine. However, I am trying to g...more >>

Changing text dynamically from loadvariablesnum
Posted by Mark16 at 5/27/2004 2:57:09 AM
I have been using loadvariablesnum to load a series of captions (cap1...cap10). The captions are associated with thumbnails of pictures. The thumbnails scroll right and left. When a thumbnail gets to the center position a dynamic text field will load the appropriate caption that had been loade...more >>

problem using loadVariablesNum from *.jsp
Posted by cupotico at 5/27/2004 1:23:57 AM
i have a swf that use loadVariablesNum to load some text's into my movie it works fine with html but when i put it in a jsp file and run it on apache server it dosn't retive the parameters......more >>

Textfield input to gotoAndPlay
Posted by ThisIsNotMyUsername at 5/27/2004 1:06:45 AM
So, to start off I must say that i'm fairly new to flash(I know the basics, that's about it). Anyways what I would like to do is similar to that of something in a game called http://www.homestarrunner.com/dungeonman.html. Basically, what I'm trying to do is create a text-based game but with ...more >>

pass data from flash movie to a loaded movie
Posted by joejaslgv at 5/27/2004 12:52:40 AM
I have my main flash move that is playing, I would like to press a button and pass a value to my loaded movie that I loaded using loadMovie. I need to pass a vaiable to load data from. thanks!...more >>


DevelopmentNow Blog