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 > march 2005 > threads for thursday march 10

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

Open mx file in mx 2004?
Posted by ....James Smith at 3/10/2005 11:50:05 PM
I just got a copy of mx 2004 and i've been working on a big project in mx now i need to open it in mx 2004 but i cant work out how. Surely u can? Thanks in advance ...more >>

TextArea cont'd
Posted by Tim Robertson at 3/10/2005 11:29:15 PM
I posted yesterday and have figured out a bit more but still need help... It seems that if I place an instance of a TextArea on my main stage it works fine... If I create TextArea instance in the exact same way but placed in a movieclip on my main stage then I can no longer see the text. The sc...more >>

LoadMovie Problems
Posted by SymTsb at 3/10/2005 10:28:36 PM
I am designing a navigation system for a project I am working on in MX 2004 Pro. The nav is a mc with 2 layers...buttons and text. Each button is an instance of the same mc. when the button is pressed, the following is invoked... halo_btn.onPress = function(){ _root.openWindow(this._...more >>

Script for background movie loading
Posted by Kolja1987 at 3/10/2005 10:22:13 PM
First, I'm somewhere between beginner and intermediate programmer/designer, so obviously I can't get this one... OK, here's my problem: I need to put a movie clip which will say something like "Loading Flash movie" and show the progress bar. Now, I do now how to make that (including progress...more >>

Using Form Class as loader
Posted by xtructure at 3/10/2005 10:20:38 PM
I am creating a tabbed application in which each tab is a form based on a subclass of the MX 2004 Pro 'Form' Class, called 'TabForm'. The idea is that the form will be a generic container into which external content can be laoded at runtime. The subclassed forms load fine, I've tested them wit...more >>

slider components
Posted by obspaceman at 3/10/2005 9:44:03 PM
Of all the v2 components I do not see a slider component. Where do I get one?...more >>

Window Component Depth
Posted by mjschfr at 3/10/2005 9:14:23 PM
Is there any way to programatically bring "Window One" to the top without clicking on it? For some reason, the attach code button, below is not working. Thanks in advance! Martin :) // Must drag the window component to the stage and delete for this code to work. var windowOne...more >>

If > X and < Y
Posted by redl3tt3r at 3/10/2005 8:48:47 PM
Greetings yall, Im getting a little lost in programming actionscript, I am trying to create a statement that says if greater thatn X and less than Y do this, else do this. I think its close being right and flash dose not nitice any errors, can someone review my syntax. Here is my ...more >>



copy and paste capability with flash?
Posted by mmay321 at 3/10/2005 8:45:25 PM
Does anyone know if it?s possible to ?paste? pictures into an online flash application from the Clipboard? I am building a furniture configurator and I would like Users to be able to copy swatches off of material suppliers? websites and then paste jpgs, bitmaps, or gifs into a design configura...more >>

How do we Specify Target?
Posted by paul-dall at 3/10/2005 8:04:14 PM
HI! I have a button with text on it and the below script and a movie that sparkels when a user mouses the move over the letters. now here is the problem. when the mouse moves between the letters the cursor returns to normal. ( No Hotspot) for a moment until the next character. if I use an inv...more >>

frame script question
Posted by EZoolander at 3/10/2005 7:36:29 PM
Hi - I'm coming from a Director background and recently started learning actionscripting/flash/etc...and the rules don't make sense to me...so bear with me while I ask a stupid question. I've got a frame script (I'm calling it that because it's simply attached to the frame - not any object...more >>

comboBox doesn't work with loadMovie();
Posted by el Fe at 3/10/2005 7:33:51 PM
I'm using an instance of the comboBox component that works fine when I test movie, but when I load the swf into another movie using loadMovie, I can see the first label (so it's getting the data) but can't interact with the buttons. Hence, no drop down. I'm sure this is a scope issue, but ...more >>

Rotating arround the center
Posted by Lujunq at 3/10/2005 7:29:07 PM
Hi, I'm writting an app that loads external swf files and makes some changes over them. One of these changes is rotation. While I can do this by changing the _rotation property of the loaded movies, it seems I don't have control over their center points. In this case, I always face a rotation ...more >>

rollover event with mouse pressed?
Posted by lardattack at 3/10/2005 7:21:07 PM
hiya, this should be fairly simple, but i'm still having trouble. my interface consists of two graphical moviclips: A and B (B is a palette that contains several movieclips). it should work like this: - click mc A to show mc B (initially hidden). - while the mouse is still pressed, hov...more >>

Is it possible to get a mc to "act" like a btn?
Posted by woopig at 3/10/2005 7:16:09 PM
Hey everyone Im sure this has been asked numerous times so I apologize for starting a new topic about it. I just couldn't find anything that answered my question when I searched the forum. How can you make your mc instance act like a button? Have all four (if any) states; up, over, hi...more >>

Button not woking
Posted by bpurcella at 3/10/2005 6:16:02 PM
Ok so the title is a bit misleading :-) I have a button in a MC(submit_mc) and the button has UP/Over/Down and all is good when it is just on the stage. Now if I use this code I loose the UP/Over/Down //submit button submit_mc.onPress = function() { MakeSO(); }; So why would that happen? ...more >>

allowDomain
Posted by bit burger at 3/10/2005 6:12:43 PM
Hi, I want to call a script from my flashmovie on a different browser, does System.security.allowDomain("www.other.domain.com") help here or does it just work the opposite way? If so, how can I do it, can I use javascript (or are there similar restrictions)? Can I call getURL("mypic =...more >>

Text invisible in TextArea
Posted by Tim Robertson at 3/10/2005 6:11:16 PM
I have a text area which is supposed to display text loaded from a PHP file. When I test it no text appears, but the scrollbar grows to what would be the right length for the amount of text that is supposed to appear and if I roll my mouse over it the links work (it is HTML formatted) and functio...more >>

hitTest
Posted by Xx)MaveriK[X] at 3/10/2005 6:05:58 PM
i did this script: _root.onEnterFrame = function () { if (_root.mc1.hitTest(_root.mc2)) { trace("hit!"); } } but the trace function triggers when the bounding hits. How i trigger trace function only when the shape hits my mc? here is a link showing what...more >>

Embedded SWF: Input text not getting passed to ASP???
Posted by CougarTheCat at 3/10/2005 5:59:32 PM
Hi, I have an embedded Swf in a webpage. It is a test, so there are radio groups etc. I have a loadVars() to store the values. One item in the LoadVars() stores the text from an input text. When I use 'sendandload' to the asp, all gets passed fine and updated in the database EXCEPT the te...more >>

Change highlighted text color in combo box???
Posted by joe28sfl at 3/10/2005 5:56:55 PM
I am trying to change the highlighted text color in a combo box. Right now the text appears to be dark green when you select it. I see that the combo box has a 'text' property to change the text color of all items in the box, but I can't find anything to get rid of the dark green when it get...more >>

actionscript help fast
Posted by Liebs66 at 3/10/2005 5:43:15 PM
i made a interface and in this interface when u choose a movie, the movie plays. All of the movies are external swf. i have a back button in all of my external movies and when you press it it links to the interface, but it goes back to the main page i was wondering what script i cou...more >>

can List.selectedItems be used as a dataProvider for another list?
Posted by bill_sr at 3/10/2005 5:42:00 PM
In a previous post I asked about a subset of a list, and completely missed listInstance.selectable (though I did look for it). Anyway, smallList is a visible representation of bigList.selectedItems, and bigList is only visible when needed to make edits. Does anyone know if bigList.selectedI...more >>

How do we put these stings together.
Posted by paul-dall at 3/10/2005 5:36:38 PM
HI! How do we put the following on one line . ( If possible ). on (release) { gotoAndStop(10); keepPage2.gotoAndStop(28); } The reason that I post this is that I was tring to go into a movie clip"keepPage2" on frame 10 from a button with action script which was on frame 35.( in t...more >>

Help with loadClip
Posted by foxchick at 3/10/2005 5:21:30 PM
Ok, onto the next challenge...(thanks for your help on the prior message!) So, I've got a clip attaching (it works now). But I'm trying to load an image into that clip. Simple example. stop(); var myLoader:MovieClipLoader = new MovieClipLoader(); this.attachMovie("image", "image1", thi...more >>

Dealing with php vars
Posted by Swhxswt at 3/10/2005 5:18:15 PM
I have the following php page: <? $foo = 'bob'; ?> My Question is how do I extract the var and print the value in flash?...more >>

what is the method percentLoaded
Posted by freelanceDesignDeveloper at 3/10/2005 5:02:40 PM
I have accidenlty typed percentLoaded in actionscript 2004 professional, in the ..as file and it comes up auto highlighted. I have not seen this method or function before in actionscript, has anyone else. Is this truly an actionscript method or function. ...more >>

SearchBox in banner -onKeyDown errors
Posted by gravityeyes at 3/10/2005 4:45:19 PM
Hi I am making a banner with a search box that submit to a URL. It works fine upon clicking the Submit button. Yet, im having trouble doing the same action upon pressing the 'Enter' key. Here is the script in question:: search_box.onSetFocus = function() { this.text = ""; del...more >>

Why is this not this working?
Posted by paul-dall at 3/10/2005 4:42:05 PM
HI! I have a button that I assigned a action too so it goes into a movie clip on the same scene and moves the play head. on (release) { keepPage1.gotoAndStop(28); } The button is on frame 35 and the movie "keepPage1" is on frame 10 on another layer in the scene. is there something ...more >>

Set a shared Object then if a user returns to page check for the SO
Posted by mfields at 3/10/2005 3:36:19 PM
I want to set my flash movie to play the fist time a user opens the page, then if they return to that page the movie goes to the last frame and stops. To do this I am trying to set a Shared Object the first time the movie plays, then if the return to the page, the movie checks for the SO and ...more >>

Screensaver effect within flash movie
Posted by lettie at 3/10/2005 3:27:25 PM
Hi Chaps I'm looking to implement a screensaver type effect within my flash movie using the setInterval function. The movie will play and listen for the mouse to stop moving. This then starts the setInterval timer which once a certain amount of time has past activates the screensaver. The pro...more >>

Simple Combo Box Help
Posted by EZrock at 3/10/2005 3:13:31 PM
Can you please tell me how to have a combo box use a getURL function? I have a list of 6 or 7 items that when selected I just want to go to a new page. Same as a jump menu in HTML. Thanks!!!...more >>

Urgent: Verifying user input
Posted by janice_2k at 3/10/2005 3:01:11 PM
Dear members/experts, I am very new in actionscript. I am required to create a math activity in a chapter call 'Sets', that has 10 questions. The user is required to key in the answers and click Check button to verify the answer. The answers maybe 1 digit or in set form. For example, questio...more >>

how do I remove border around TextArea?
Posted by Kay Poe at 3/10/2005 2:46:06 PM
Is there a way to remove a border around a TextArea? Is it through CSS? I am calling in an XML file and CSS file. Can't find the correct code. Thanks. Libbi...more >>

Problem with duplicating loaded SWFs !
Posted by karuna at 3/10/2005 2:31:42 PM
loading a .swf file into a movieclip prevents us from copying that movieclip via duplicateMovieClip( ). Any workaround ? -- >>> karuna >>> ...more >>

Passing variable values to listener function
Posted by bullfinch at 3/10/2005 2:31:38 PM
Dear Colleagues: I wrote a function to create N buttons using ActionScript 2 and the Macromedia Flash MX 2004 component. The button instances are ?cbt?+i, 0 < i < N. Their labels and associated URLs are loaded dynamically from external database. I have a problem with passing URLstring[ ...more >>

playing loadedMovie which is in level 1
Posted by joonstar at 3/10/2005 2:00:55 PM
I am new in action script... I have a MOTHER.swf. There is the following action script in the first frame of MOTHER.swf. loadMovieNum('CHILD.swf', 1); There is the following action script in the first frame of CHILD.swf. stop(); I like to make CHILD.swf play at the 12th frame of MOTHER.s...more >>

to return ascii values
Posted by Manoj vn at 3/10/2005 12:52:57 PM
Hi forum, I have 26 buttons in the stage labled a to z. While pressing the keys (a to z) in the key board the ascii value of the key should get traced. ie, while pressing btn1, value 96 should get traced. Any help will be highly appretiated. Thanking you MVN ...more >>

Msking dynamic text
Posted by Miauguelito at 3/10/2005 12:42:25 PM
Hi, I want to mask dynamic text, but creating the text field with the order createTextField, so I have not text box for embed characters. Hoy can I do? Is there any order? Thanks...more >>

How to access Accordion child content
Posted by OniLink at 3/10/2005 12:04:06 PM
Hi, How do you access an accordion childs content. I've tried lines like this: - acc.childname._gotoAndStop(2); - acc.getChildAt(0).content.gotoAndStop(2); etc, etc. but nothing works. Im having trouble convertinga variables value from 022 to just 22. Here is the code im using that gives ...more >>

When to use a preloader
Posted by bobDbob at 3/10/2005 10:44:53 AM
We have some large swf's - some as big as 1mb, that we are presently using a preloader on. Would we be better off streaming? The content is largely a series of small images being loaded, some voice over, and they run a long time - upwards of 10 minutes... I've run the bandwidth profiler, at ...more >>

Trouble with variables in a text file
Posted by Lifeasalounge at 3/10/2005 10:29:02 AM
I have this code to load 3 variables from a text file into text boxes. I have the trace function tracing the 'time01' variable but it keeps telling me that the variable is undefined, but the variable is being displayed in the text box which is assigned to it. loadVariablesNum("December.txt...more >>

how to stick the movie clips when released
Posted by krishnakishore at 3/10/2005 10:19:20 AM
hi friends i have created 2 squares and converted to the movie clips i want some thing like if i move the first square near to the second one then the first has to stick to the second one when the first one is released how is it possible. please help me ...more >>

how to make this easy effect
Posted by krishnakishore at 3/10/2005 10:03:44 AM
hi friends im making a site in that im trying to keep the animation which has used in the http://www.templatehelp.com/aff/preview.php?aff=flashloaded&skin=999&locale=en&c urrency=0&pr=yes&src=yes&nt=no&help=yes&sample=yes&faq=yes&nmg=yes&auth=yes&down =yes&chm=&hide_flash=0&search=&PHPSESSID...more >>

fl object
Posted by pablo_che at 3/10/2005 9:52:03 AM
I realize this is a stupid question, but i don?t know how to use the fl object. I?ve seen a lot of sample code like that: var currentDoc = fl.getDocumentDOM(); fl.trace(currentDoc.name); but i dont know how to declare the fl object (if needed). The fact is that i can?t access to any of...more >>

"wait" actionscript?
Posted by iota at 3/10/2005 9:41:13 AM
Please check out the code below: button 1: if (_root.mc._currentFrame == '66') { _root.mc.gotoAndPlay('label01'); } if (_root.mc._currentFrame == '110') { _root.mc.gotoAndPlay('label02'); } button 02: if (_root.mc._currentFrame == '36') { _roo...more >>

Getting flash to read from XML file.
Posted by DanielEduss at 3/10/2005 5:26:53 AM
Hey, I am creating a login interface in flash and I am trying to get it to retrieve a username and password from an XML file. I am having trouble with this :( So I thought someone could help. Here's what I have done. login.xml <?xml version="1.0" encoding="ISO-8859-1"?> <body> ...more >>

Flash's AS editor GUI issues (Fonts)
Posted by Scott at 3/10/2005 2:18:30 AM
Anyone got a solution for this <http://img230.exs.cx/img230/7630/untitled9ly.png>? It's making my code unreadable at times. ...more >>

animating a keyboard
Posted by flash-me at 3/10/2005 2:17:17 AM
Hello: I'm trying to make an interactive piano keyboard. i'll need the keys to send information to webmathematica to generate midi files. i'm at the beginning and not good in flash. currently my keys are buttons not MC - should they be MC? i want them to animate - to enlarge as you roll ove...more >>

PreLoader and attachMovie
Posted by iIncite at 3/10/2005 2:14:51 AM
Hi All, I have an issue trying to create a preloader for the main timeline while using attachMovie. I know that the preloader should go in the first few frames as the main movie is loading. The problem is that to use attachMovie in ActionScript you have to 'Export to first frame' when se...more >>

Basic Actionscript question
Posted by roygbiv123 at 3/10/2005 1:52:53 AM
The following actionscript is an attempt to make a movie clip play backwards, using onEnterFrame. I basically have a back (instance name) button that I want to play the mcGreenBox (instance name) backwards. Would someone one be kind enough to tell me what I'm doing wrong with this script? T...more >>


DevelopmentNow Blog