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 > march 2005 > threads for wednesday march 16

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

trace() not working
Posted by EvilJordan at 3/16/2005 11:41:34 PM
New movie. Frame 1 trace("HELLO"); Nothing in the output window. WTF? begin 666 EvilJordan.vcf M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..CM%=FEL2F]R9&%N.SM-<@T* M1DXZ179I;$IO<F1A;@T*6"U704(M1T5.1$52.C(-"E523#M(3TU%.FAT=' Z M+R]W=W<N979I;&IO<F1A;BYC;VT-"E523#M73U)+.FAT=' Z+R]W=W<N979I M;&IO...more >>

Perplexed about loading images into a mc.
Posted by conquerors04 at 3/16/2005 11:37:24 PM
Sorry guys but I am going to sound like I shouldn't be programming with this question. I started out trying to use the loadMovie command to load an image into a static or dynamically created mc (using createEmptyMovieClip). It wouldn't show up with I tried that. Now I have moved onto using ...more >>

V2 ComboBox: Default value based on selectedItem not selectedIndex
Posted by jtehonica at 3/16/2005 11:00:18 PM
Ok I can't find any doco on this and it's driving me crazy. Anyone know how you specify the default value for the V2 ComboBox component based on the selectedItem when you don't know the selectedIndex? Here's my scenario: I have a hardcoded combobox called "dd_names" with 50 names in it. I'm ...more >>

Strikethrough text
Posted by EvilJordan at 3/16/2005 10:03:36 PM
Is it built in, or is it possible to have strikethrough text (like the <s> tag in HTML> in Flash? begin 666 EvilJordan.vcf M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..CM%=FEL2F]R9&%N.SM-<@T* M1DXZ179I;$IO<F1A;@T*6"U704(M1T5.1$52.C(-"E523#M(3TU%.FAT=' Z M+R]W=W<N979I;&IO<F1A;BYC;VT-"E523#M73U)+.FA...more >>

Problem loading external swf
Posted by SharpScrew at 3/16/2005 9:59:13 PM
I have a big Problem loading external swf file containing jpg images (there is about 30 of them ) in to a target image holder "picture frame" which properties _width and _x position are then dynamicly manipulated thru the actionsripting to fit the loaded picture I set pictures hight to 420 pix...more >>

Make your whole site dissapear...
Posted by MasterZorlak at 3/16/2005 9:32:50 PM
All right, so, I am working on a project where I need to make the entire site go invisble when the window becomes non-active. (Some of you may have read my other post about clearing the clipboard.) To my knowledge you should be able to use window.focus inside of flash? However, I'm not sure ho...more >>

play timeline backwards mystery
Posted by (_seb_) at 3/16/2005 8:49:05 PM
Hi all a long time ago I posted about this mystery and got no comment whatsoever. Now, someone else said they were seeing it too, so now I know it's real. Here's the mystery: Me and this other person are using an empty MC that excecute a script in a two-keyframes loop, and the script'...more >>

Flash MX Pro 2004 Email/PHP Form
Posted by angry man at 3/16/2005 8:26:36 PM
I am using Flash MX Professional 2004 and I am trying to do an email form using Flash and PHP. The Submit button has the following code on it : var dataSender:LoadVars = new LoadVars(); var dataReceiver:LoadVars = new LoadVars(); var formRoot:MovieClip = this; submit_mc.onRelease ...more >>



Classes vs. MovieClips vs. Symbols oh my!
Posted by foxchick at 3/16/2005 8:01:29 PM
Hi all - I have a datagrid that I've created as a symbol with a 'movieclip' behavior. I'd like to add several instances of this datagrid to my screen dynamically, and be able to resize it. so if I have something like this: this.attachMovie("foo_mc", "foo_mc1", 11); "foo_mc" is a m...more >>

Re: quiz problem
Posted by kglad at 3/16/2005 7:37:48 PM
you'll need to store the score and current or next question if you want your user to take the quiz in more than one browser session and maintain accurate quiz data. i'm not sure what else you'd have in that so that could be more important considering this flash movie is going to be on a cd. ...more >>

cookie to stop playing?
Posted by Mobuc at 3/16/2005 7:18:24 PM
Hi, I tried the sharedobject to make the move stop and to place that button to play again... but my movie has a little movie clip also...and the movie clip keeps going.. i tried to put the sharedobject in the movie clip too...but... then the play again button doesn't work for both... well....more >>

Keeping code organized?
Posted by redivider at 3/16/2005 6:57:28 PM
I am developing a Flash baseball game and I'm having some problems figuring out how to keep all my code in one place. I usually just put everything on frame 1 and then only have stop() and gotoAnPlay() actions inside other movie clips. But in this game there are a lot of things that need to ...more >>

Problem with passing parameters to functions assigned to event handlers !
Posted by karuna at 3/16/2005 6:47:18 PM
function one(str_obj:String) { trace(str_obj); } myMovieClip.onPress = one; The function shld get executed only on "onPress" event of myMovieClip. If i assign the function in the other available fashion,.. i.e. - myMovieClip.onPress = one("my string"); this implements the method the fir...more >>

xml slideshow
Posted by jasonlights at 3/16/2005 6:40:39 PM
ok i downloaded the http://test.jasonlights.com/kmk/ of what i want it to look like (spelling does not count yeat.) any help slides_xml = new XML(); slides_xml.onLoad = startSlideShow; slides_xml.load("slides.xml"); slides_xml.ignoreWhite = true; // // Show the first slide and i...more >>

quiz problem
Posted by pickle jar at 3/16/2005 5:11:02 PM
I am trying to design a quiz in flash mx2004. I aim to have a quiz on cd and use shared objects to store user data, the quiz retrieves the questions and answers from an xml file and so far I have managed to send user details to a SO, retrieve the q's and answers but I am stuck with a couple o...more >>

transition mc
Posted by def jux at 3/16/2005 4:44:22 PM
Hi people, I was wondering if anyone had an example of how to do the following. I have a gallery which I would like to create a curtain type effect. Once a button is clicked I would like the curtain to close on the current image and then reopen with the new image. What I'm unsure of is if...more >>

sharedObject question help!
Posted by Mobuc at 3/16/2005 4:37:38 PM
Hi there, I don't want my move playing over and over each time people refresh the browser..so I found a script on the internet..and it worked fine... I had to apply it in the main movie timeline and also within a Movie Clip problem now is...How do I make a "PLAY AGAIN" button???? the c...more >>

PHP to Flash
Posted by kud1986 at 3/16/2005 4:11:14 PM
I have made and application in flash with the calender component. When you select a date from the calender and click 'go' I want it to send the date information in POST form to a php page. So far I have this code which I got from a tutorial: on (release) { var c = new LoadVars();...more >>

Problems with noScale
Posted by kuksaft at 3/16/2005 2:42:30 PM
Hi! I'm completely bewildered to this problem. If someone can help me I'll be a very happy guy. I've created a dynamic webapplication with a flash-drawing tool. Basically the tool lets a user create flowchart and store them on a server(database). During the creation the flowchart can b...more >>

I need some help with understanding the scrollpane component
Posted by bill_sr at 3/16/2005 1:44:43 PM
I have a scrollPane on stage and a blank mc in the library, and then Actionscript dynamically adds a bunch of checkboxes. When I invoke this function it works (almost, but I'll get to that glitch later), when I try the same code as a loadVar.onLoad() function, the content is added, but the ...more >>

Concept of Class & MC Question
Posted by YuInAtl at 3/16/2005 1:42:58 PM
Is the idea of Class (B) inside Class (A) similiar to MovieClip (D) inside MovieClip (C)? So if mc_D needs to call mc_C to run a funcion, we can use: this._parent.mc_C.runMe(). But if my Class B?s instance is created inside Class A, how could I call Class A?s function in Class B? Is it a ...more >>

refer a variable in a component
Posted by steeban at 3/16/2005 9:39:48 AM
hi everybody i am developing a small component here is the part of the code... class LoaderB extends UIComponent { static var symbolName:String = "LoaderB"; static var symbolOwner:Object = LoaderB; var className:String = "LoaderB"; private var lodrbox:MovieClip; private var pi...more >>

loadMovie vs loadMovieNum
Posted by bobDbob at 3/16/2005 9:14:00 AM
If I have a swf that only uses one level, which is the appropriate function to use? I am only trying to replace the current movie with a new one. Which is the correct function to use? ...more >>

Drag a MC(needle) 360 degrees on a compass
Posted by antewik at 3/16/2005 9:12:09 AM
Hi. I have made a compass in Flash and I want to be able to drag the needle around in 360 degrees. Is there anyone who know how I can do that? I guess it isn't possible to use 'startDrag()' /Antewik...more >>

Retriving V2 component's parent
Posted by Omkar Joshi at 3/16/2005 6:38:05 AM
I am developing v2 Component, in which I need to refer the parent (Movie Clip) of my component. The one option is use absolute path but It is't as per the requirement. So I must need to use relative path. Kindly Help me with this as soon as possible. ...more >>

dynamic text box to scroll continuesly with mouseOver?
Posted by small favor at 3/16/2005 6:34:44 AM
Is there a way to use a mouseOver script that would allow the contents of a dynamic text box to scroll continuesly until the mouse leaves the hit area? The up arrow script is: on (release) { gearText.scroll -= 1; } The down arrow script is: on (release) { gearText.scroll += 1;...more >>

URL
Posted by Dark Lightning at 3/16/2005 5:06:46 AM
Hi, I made a game in flash (and probably will make many more) I want the games to be playable online, however I want to allow only a few people to host the games with my permission. I am curious if flash can detect the name of the server it is on? Such as http://www.garylang.ca. Thanks ...more >>

how do I control a swf loaded in a mc?
Posted by yop at 3/16/2005 4:26:34 AM
HI, I'm trying to control a swf loaded in a mc (with loadMovie) but I can't get into rigth level. So far, I thougth that I can do that with _level1.mc._visible=0; but it doesn't work. I do can control de main swf with _level0.mc1._visible=0; in the actions in the swf loaded. Is not the rigth...more >>

Button, button who's got the button?
Posted by Gemini615 at 3/16/2005 3:57:43 AM
:confused; Hello- Newbie user here with a smattering of knowledge. Trying to make my first site, and am having a really difficult time making a button work. Feels like I must be missing something really really simple here, and have purchased books, searched online all to no avail. I mad...more >>

help! movieClip depths way higher than max (1048575)
Posted by LindsayHering at 3/16/2005 3:40:16 AM
it crearly states in the flash mx 2004 documentation (in the product help, and here http://livedocs.macromedia.com/flash/mx2004/main_7_2/00000995.html , that the maximum movieClip depth is 1048575. i'm creating movieClips with higher depths than that number, and it is all working fine. will ...more >>

dynamic text rollover?
Posted by rswiiiix at 3/16/2005 3:37:05 AM
hello, i have the following question: is it possible to make a word or phrase in a dynamically generated text field into a button which upon rollover would attach a movieclip from the library ? (the mc would be attached outside of the text field) thank you. ...more >>

Linking Flash page to non- flash pages
Posted by jalbert1729 at 3/16/2005 3:02:24 AM
How do you link a flash page with a non-flash page with a button? ...more >>

Comments
Posted by html in flash at 3/16/2005 3:01:10 AM
Hi there, there's some large chunks of code in my actionscript that I don't want to get rid of, but I want to test the swf without them. Is there anything like parenthases, brackets, or anything to comment out (excluding the two slashes) from a point to a point (like <!-- --> from HTML/Java)?...more >>

Password Protected Page
Posted by jstreett182 at 3/16/2005 1:53:34 AM
Basically, i have a page on my flash site that i want to be password protected. I want the user to have to put in forty or 40 as the password and then click the graphic of the lock in the center of the page for it to continue on with the content. So far i have the page with an input box labele...more >>


DevelopmentNow Blog