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 > october 2004 > threads for wednesday october 20

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

passing a complex actionscript class from/to PHP
Posted by Jakub at 10/20/2004 11:47:00 PM
Hi, I have quit a complex class in actionscript 2. What I need is send the class to PHP, save to DB and then later load the class from PHP a pass back to flash. does exist some easy way how to do it. Thanks for any ideas. Jakub...more >>

Render a graphic in TextArea
Posted by Jason Huff at 10/20/2004 10:54:27 PM
Can an image be put into a textarea component? <img src....> shows an image with undesirable results. puts in image but on next line and takes a line of it's own. wondering if there was a better way. jason ...more >>

Buttons inside Movie symbols
Posted by Dr.Bob at 10/20/2004 9:57:21 PM
I've got a movie symbol that scrolls a navigation box down when you mouse over it. The links inside the Navigation Box (movie) don't want to advance the root timeline when clicked, I assume they want to advance the independent movie symbol timeline instead (to frame 150 for example). So I ...more >>

Flash / javascript / html
Posted by justiceEquality at 10/20/2004 9:28:17 PM
So I've got a Flash movie that uses the getUrl function and javascript to display a popup window centerscreen. It works great. The problem is that it's the portfolio section of my site, and the popup(s) are my work. My workflow is this: Size my image in Photoshop; insert the image into ...more >>

Using collection in component
Posted by CI2 at 10/20/2004 8:21:54 PM
I have created a component that uses a collection for some of the properties. It works great in my FLA, but doesn't work as a stand alone SWC. I don't get any errors, and the following messageIterator is undefined: var messageIterator:Iterator; messageIterator = __messageEntries.getItera...more >>

2 Datagrid questions
Posted by Boyne at 10/20/2004 8:19:44 PM
1. Can I hide one of the columns of a datagrid - if so how? 2. When using datagrids how do I access the data that has got row level focus and pass it to a separate function Many thanks Boyne...more >>

SetInterval limitations?
Posted by Macromedia at 10/20/2004 8:18:44 PM
Hello NG I am using some multiple instances of setInterval and at certain timings having eratic results. My question. Is it possible for two calls to the same function be made at the same moment - like a collision almost - and therefore some outcome inconsistent with your script. M...more >>

stupid if code doesn't work
Posted by nat77 at 10/20/2004 8:07:06 PM
why???? on (press) { this.startDrag(); this.swapDepths(+1); } on (release) { If (this.get_x <= 186.3 and this.get_x >= 166.3 and this.get_y <= 246 and this.get_y >= 226) { this._x = 176.3 this._y = 307.0 this._rotation=0; this.stopDrag(); } ...more >>



Detect hit on any object?
Posted by MGladstone at 10/20/2004 7:21:19 PM
Is there a way to detect when any object hits objectA and return the name of the object? I only know how to do hitTest for specific objects....more >>

my scripts stop working after calling a function
Posted by bso_71 at 10/20/2004 7:07:42 PM
I have this on my timeline: this.onEnterFrame = function(){ trace("Here") } Then on a click I call a function myFunction() But after my function runs, anything that I hace in my onEnterFrame stops working, ie. the trace doen't appear any more in my output window. Is this normal? ...more >>

Keep button in Down state
Posted by simsjr at 10/20/2004 6:25:04 PM
Hey All, This one is probably pretty easy, but I need a hand here. I have 6 buttons in my menu. When you click one, I want it to remain in the "over" or "down" state after being pressed. Then, when you click another menu item, the previous button goes back to the "Normal" state while the...more >>

Load movie - talk to a load movie
Posted by jmich-revolution at 10/20/2004 4:13:51 PM
Hi and thank you to help me, Scuse me for my langague. i'm come from Qu?bec and i'm bad in english... When i creat an application with flash i work with the ''load movie" script. Its a easy way to build a good application. But, i'm limited... And it's my question's object : with the ...more >>

Compiler caches external class files
Posted by Iain2004 at 10/20/2004 4:09:47 PM
I am having problems with my class files and what I assume is a cache prroblem. When I make a change to a class file then save it. The changes in the class file are not reflected in my movie. I found this on macromedia site: http://www.macromedia.com/support/flash/ts/documents/cashclass...more >>

Drag & Drop
Posted by kleline at 10/20/2004 4:07:23 PM
For a quizz, i d'like to use drag and drop fonction the idea is to have 4 questions to put in order. so i'd like to let the user choose, the right order and once complete, give it "ok, you heve the right order" or " wrong" and give it the correct order. Any suggestion, please? ...more >>

Determining if a clip is the main clip
Posted by tygr at 10/20/2004 4:05:29 PM
What's the best way to determine in script if a clip is the "main" or root clip or is being loaded or is contained in another clip? Using MX2004Pro. Thanks! ...more >>

Random number with Card game
Posted by Jacg at 10/20/2004 3:08:24 PM
I am creating a random card game that uses 88 cards and the player clicks on a button to pull one card that loads an external .swf file. The button initiates a random number with myRandomNumber = random(88) + 1. Whatever random number is selected loads a matching card file. (I did not w...more >>

New to XML needs help
Posted by UgoLeFoo at 10/20/2004 3:06:31 PM
Hi all, thanks for reading, here is the xml structure i need to deal with: <?xml version="1.0"?> <albums> <album id=""> <release_date_yr></release_date_yr> <release_date_mth></release_date_mth> <artist></artist> <album_name></album_name> <label></label> <tracks> ...more >>

onClipEvent problem
Posted by Crimin at 10/20/2004 2:47:11 PM
I have a button embedded in a movie clip, with multiple instances of this movie clip on my main time line. I want to be able to click on each instance and have the main timeline act accordingly. The script I used is onClipEvent (mouseUp) { _root.gotoAndPlay("sene", "label"); } Wh...more >>

DataGrid Help
Posted by afroma_n at 10/20/2004 2:38:35 PM
Hi ! I don't know if it's easy or not , but I don't know how to do it, so any help is greatly appreciated. How can i get the info inside a selected field in a datagrid ? If a user selects a field, how can i get the info inside of all the columns of that field ? ? Thanks !! ...more >>

Change List component Font?
Posted by vintagetone at 10/20/2004 2:12:56 PM
Can I change the List component default font properties with ActionScript? I see where I can add to the list items and recieve notification of mouse events, but not where to change the fonts look....more >>

problems with attachmovie in Flash MX 2004
Posted by jamie:P at 10/20/2004 1:35:50 PM
Hi, This is driving me crazy! I am working on some flash movies that load in symbols from the library using the actionscript 'attachmovie' command. Everything works fine when I publish for Flash Player 7.0 but when I publish for Flash 6.0 the attached symbol does not display. When I ch...more >>

problems with video
Posted by Carlos Gonçalves at 10/20/2004 12:58:01 PM
I have three videos in my project. All are in flv format. Each one play in one frame and when it finished, timeline play automatically. I use the same code for all, but the first doesn't play automatically. I have to press a button to do this. What is it if a use the same code for all? look my...more >>

Gotoandplay NEXT LABEL
Posted by Jeff Friedman at 10/20/2004 12:49:23 PM
Is there a way to script a button to go to the next frame LABEL? Previous label? Thanks, Jeff ...more >>

passing variables flash to php
Posted by mahesh purani at 10/20/2004 11:49:22 AM
hi friends.. Please give me solution. i am working with php and flash my flash my.swf running in index.php now i need to pass variables from my.swf to index.php without refreshing page. and dont want to open new page. please help. thanks in advance mahesh ...more >>

Functor object array
Posted by Flinchvoid at 10/20/2004 11:41:43 AM
Hi all, Is this a bug in the ECMAscript implementation? I need to call a function in a class depending on the string passed as an argument; example if the function getData(dataName:String) gets the string "DPA" it will call the function getDpaData To make this happen, I set up a hasht...more >>

Launch pdf from a swf
Posted by AWer at 10/20/2004 11:10:49 AM
Hi there, I have a swf (not a projector) file, in this file I have a button that opens a pdf file using getURL method. On MAC, since my client wants to have auto-open property for the CD, I burn hybrid cd. But when the cd is burned this way, if the button is clicked the pdf file is not...more >>

Assocaitive Arrays + sortOn()
Posted by ceeacs at 10/20/2004 10:03:01 AM
Bascially done a little example I want to be able to sort on a particular field (although this example has only one field) function Contact(id, firstName, lastName) { this.id = id; } var contacts = new Array(); contacts[0] = new Contact(0); contacts[1] = new Contact(2); contacts[2...more >>

Frame Label
Posted by Mr.ACME at 10/20/2004 9:49:26 AM
hi again, can't i address a frame label like this?? _root.gotoAndPlay(targetMovieClip); I know, that targetMovieClip = KYONETPORTFOLIO and a string. so why doesn't the movie jump to the frame called KYONETPORTFOLIO? regards philipp ...more >>

How to load text back and forth with the same tex
Posted by Liraz at 10/20/2004 9:01:42 AM
This is what I wrote in the timeline textData_lv = new LoadVars(); textData_lv.o = this; textData_lv.onLoad = function() { this.o.InstanceName_7.htmlText = this.displayText; }; InstanceName_7.htmlText = "<b>Loading...</b>"; textData_lv.load("minutes.txt"); InstanceName_18.html...more >>

Strings
Posted by Mr.ACME at 10/20/2004 8:48:26 AM
Hi, sorry for the stupid question, but how can i include quotes in a string. my string should be "KYONET" (with the quotes). must i use a string object?...more >>

trace array index
Posted by speedlab1 at 10/20/2004 8:03:47 AM
I have a multidimensional array which stores objects pushed into it from an xml parsing function, it contains menu items such as: array['actionscript'] array['web'] array['php'] how can i loop through the array and retrieve these index names, thus not having to hardcode it in? ...more >>

Newbie needs help with flash movie
Posted by bobb06810 at 10/20/2004 6:35:53 AM
I want my site to open with a 30sec flash movie. At the end of the movie, I want it to go to a specific URL. This I can do by putting a getURL on the last frame. I believe. But what I don't know how to do is to have an option, at any time during the movie, to skip the flash and go to t...more >>

Holding Mouse Coordinates
Posted by boybles at 10/20/2004 5:15:25 AM
How do I hold the coordinates (position) of the mouse until an instance has finished running? Thx, Jeremy...more >>

Holding Couse Coordinates
Posted by boybles at 10/20/2004 5:15:09 AM
How do I hold the coordinates (position) of the mouse until an instance has finished running? Thx, Jeremy...more >>

HELP! Can't set the text value
Posted by eclesia at 10/20/2004 2:08:13 AM
This is strange - or I am getting very tired! It is an exact duplicate of the help file in Flash for setting the text value of a text component within a window. Script: myLoginWindow.content.password.text = "secret"; Problem is, the text won't get set! Any ideas...Have I missed som...more >>

Detect Sound Card with Flash
Posted by shamilv at 10/20/2004 12:35:08 AM
Hi Can anyone tell me if Flash can detect whetner the computer has sound card installed ? Does "System.capabilities.hasAudio" detect sound card ? Thanks Shamil ...more >>

getUrl to set as a Pop up
Posted by nuaction at 10/20/2004 12:01:38 AM
I tried this but only works on Mac platform but not Pc platform on(press){ getUrl("javascript:window.open('link.htm','Title','scrollbars=yes,width=100,height=1000')") } ...more >>


DevelopmentNow Blog