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 > june 2005 > threads for wednesday june 1

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

Checked for pressed butoon
Posted by kirknetiq at 6/1/2005 11:21:15 PM
I am using this code to check to see if a user clicks all 6 buttons....if they do, they can click next and go on..if not they get an alert message (hidden) to remind them to click all 6: stop(); function checkButton() { // "this" refers to the button being pressed if (!this.press...more >>


how do i get a MC to play on button press?
Posted by pro gamer at 6/1/2005 10:20:50 PM
hi, im pretty new to using MC's on flash, and i cannot find out how to make a MC play on a button press, can anybody plz help me?...more >>

how do i get the longest word of 4 words
Posted by Mathias at 6/1/2005 10:07:56 PM
If i have four words (xml) and i want to run a loop to see which one has most characters, i can get the length of all for but im having trouble to get longest word. I want to strech a movieclip (times 4) so it look the same for all four words, its a menu... thanks in advance !!! Mathia...more >>

Need Help with Flash-Based Email Form Using PHP
Posted by mmay321 at 6/1/2005 9:27:38 PM
i read a tutorial on creating a Flash-Based Email Form Using PHP, and can't seem to get it to work. i created the flash file and php files following the instructions and uploaded the files to the server, and tested it by trying to send an email to myself - didn't work, so then i tried using t...more >>

snap to pic within a scroller
Posted by Hunnie at 6/1/2005 9:06:24 PM
Hello, I have created a scroller with images contained within and would like to know if its possible that when scrolled if it couldl snap to the next pic within the scoller? The scoller has an ease on it and still would like for it to scroll smoothly, but also to snap. ...more >>

enterFrame
Posted by chattanoogadesigns at 6/1/2005 9:03:40 PM
Is there any way to call a function on enterframe. I've tried just about everything. I made a function for finding a mc_ and going to the lable. _root.some_mc.gotoAn dPlay("scene") How do I call this function and have it play "scene" on load. I've tried onClipEvent (enterFrame) { ...more >>

Scrolling Text field in Flash MX 2004 Pro
Posted by joel777 at 6/1/2005 8:42:14 PM
is there a tutorial on how to scroll Dynamically loaded text field using the UIScrollbar in flash MX pro ? Or does anybody know how to make it work?...more >>

scrolling text won't scroll
Posted by Lord of Limbo at 6/1/2005 7:15:02 PM
Hello, I have a scrolling text box called "bigtext", and two buttons "upButton" and "downButton". I have placed the following code in the first frame of the timeline for the scene in which the scrolling text box is placed but it doesn't seem to work. Any suggestions as to why not? Thanks u...more >>



Custom mouse without "leftover effect"
Posted by CaptainFreedom at 6/1/2005 6:50:51 PM
Hi, I was looking on the web for a tutorial on making a custom mouse cursor. I know there are in fact quite a lot of them, but none tell you how to get rid of the "phantom" mouse effect, so I made my own tutorial. Check it out here: http://astronauta.apchosting.net/fl...tom_cursor.html B...more >>

need help with defining xml variables
Posted by deerowbear at 6/1/2005 6:44:13 PM
I have an xml file named:XTP.xml the xml inside is: <?xml version="1.0"?> <!-- TOPIC data/mechanical/xtp/vehicle/null/FMC72 --> <!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Derek Werkowitz (O'NEIL AND ASSOCIATES) --> <!--Sample XML file generated by XMLSPY v2004 ...more >>

pre-loader
Posted by Lord of Limbo at 6/1/2005 6:39:52 PM
Can anyone tell me what the sript should be for a pre-loader that detects the total file size of a page, then for every ten percent loaded moves on to a particular frame? Thanks...more >>

obtain calling button from event handler
Posted by mpalmer78 at 6/1/2005 12:49:35 PM
I'm recursively searching through my Flash screens looking for buttons that match certain criteria. When a button is found I'm attaching an onRelease event handler. When this function is called, I'd like to know if it's possible for this event handler function to know what button called it. Is...more >>

combobox returns undefined
Posted by JoBelk at 6/1/2005 12:43:15 PM
What am I doing wrong with this code? I am trying to create a combobox that populates another text box depending on the choice of the user. The code works well if I put it on the combobox itself ie on(change) but I want to reference it on the main timeline. I know it will be a nice easy one fo...more >>

Search functionality
Posted by jeffpelletier at 6/1/2005 12:41:16 PM
I have a short search form in html: <form action="search.asp" method="post" name="search" id="search"> search: <input name="search" type="text" size="14" maxlength="50" alt="type your search here" class="form" /> <input style="position: relative; top: 3px;" name="" type="image" src...more >>

navigation between scenes
Posted by Karen Milacic at 6/1/2005 12:40:12 PM
:( Please could someone tell me what is the correct code to use to navigate between scenes for a series of Flash animations to be run on a stand alone projector. I've tried on (release) { nextScene(); } and it works on the first scene to go to the second, but the second won...more >>

All the image in the listbox
Posted by Flashgroups at 6/1/2005 12:06:00 PM
Hi, I need Add the small jpeg images in the listbox or combo box. Its possible or not, pls explain me. ...more >>

single combo boxes from multiple sources
Posted by spacedude at 6/1/2005 10:41:10 AM
Hey guys... Got a shell application loading in several elements from external swfs. Two of these elements contain a single comboBox each. At first I couldn't get the comboBox contents to drop down at all, but after searching the archives I found a fix by placing a copy of the comboBox in m...more >>

loadMovie with a var name
Posted by santanamoll at 6/1/2005 10:03:03 AM
Hi, does anybody know why this code won't work; on (release) { var movname = getProperty(this, _name); loadMovie ("loadmov/"+movname+".swf", 1) trace (movname); } The trace shows that the var is set. Thanx in advance ...more >>

Unable to disable a Button in a Window
Posted by Runarfrilla at 6/1/2005 8:58:49 AM
Hi all, I have created a symbol in the library, MyForm (Properties: Identifier: MyForm, AS 2.0 Class: mx.core.View, Export for ActionScript: checked), containing a single button named MyButton. As you can see in the code below, I create a window containing the symbol MyForm. However, when ...more >>

Why, oh why, oh why...
Posted by Newbie05 at 6/1/2005 2:39:37 AM
First, thanks to everyone for reading this post ! Unfortunately, describing my problem won't be easy... but I'll try my best. I'm trying to load a movie into a movie clip with : ** _root.contents_mc.loadMovie("newMovieClip.swf"); My newMovieClip has code within which will run a pre...more >>

Center Dynamic Images on Stage
Posted by thelum at 6/1/2005 2:22:01 AM
I need to center a dynamically loaded image on the stage. Here's the catch. I'm resizing the image doing a mathematical calculation like so: (clippy._width/Stage.width)*100 (clippy._height/Stage.height)*100 The reason I'm doing this is because the images are all different sizes and I ...more >>

PrintJob limitations
Posted by NomadicDesign at 6/1/2005 2:02:04 AM
Hello all, I am currently working on a job where I need to print out an image at the end of a flash video. The printout of this image is used to prove that the user has actually completed the corresponding flash video. I need to print this image in landscape orientation, yet from the c...more >>

scrolling textbox
Posted by HeMightBeCreative at 6/1/2005 1:49:34 AM
I did a tutorial on scrolling textboxes ("http://www.flashkit.com/tutorials/Text_Effects/The_easi-Thom_Lee-1073/index.ph p") and I was wondering if there was a way to change the white background. Also if there is a way to make the scroll button continue to scroll if you hold the button down....more >>

Trouble assigning variable to dynamic text
Posted by Kals at 6/1/2005 1:27:57 AM
I am using action script to try and get text into a dynamic text field. I have successfully loaded variables from a text file using LoadVars. Now I am trying to assign one of those variables to the dynamic text field and have it display the text from that variable. The variable name is 'ps...more >>

Flash MX 2004 VS. MX
Posted by cgulotta at 6/1/2005 1:08:39 AM
Hello, I have just upgraded to MX 2004 Professional. Actionscripting seems much more complicated. Must I write out scripts now instead of just choosing options like the previous version? Please help since alot of the terminlogy seems pretty greek to me. Thanks Christina www.grap...more >>

using "go to and stop"
Posted by Battletards at 6/1/2005 12:39:50 AM
It seems like I can use gotoandstop (2) in a button just fine, but not in a clip event. Is this correct? Then how do you use a gotoandstop in a clipevent? Thanks...more >>

loadClip and attachMovie
Posted by myke_mla at 6/1/2005 12:00:00 AM
Hi! I am *trying* to attach objects to a movieclip that has been loaded in with the MovieClipLoader class: //simple illustration of problem var panoClip01:MovieClip = this.createEmptyMovieClip("myPano1", 100); loadImage("beach.swf", panoClip01); stop(); function loadImage(image:S...more >>

Can anyone give a newbie a few minutes of help?
Posted by Newbie05 at 6/1/2005 12:00:00 AM
Hi Everyone... I tried to get help for this problem earlier, but I think my thread got to confusing for people to follow, so I'm going to try again. I'm looking to find someone who might be able to walk me through this problem of mine. I'm going to be online for the next hour checking th...more >>

AS after a finish FLV - Please someone help me!!!
Posted by tiagodocluz at 6/1/2005 12:00:00 AM
Hello all. I have a FLV in my .root and what I want is it: After the FLV finish I need to go to the frame 10 of my .root. How do I make this? What AS I have to put in the FLV? There is any answer to this? Thanks All! ...more >>

Bug?
Posted by NickycDk at 6/1/2005 12:00:00 AM
Hey all... I dont understand this... I have som buttons, that call a fuction: /* Fadeind funktion - kaldes ved fadeInd('mc_som_skal_fade') */ var fadeInd:Function = function (mc:String) { _root[mc].onEnterFrame = function() { if (this._alpha<100) { this._alpha += 15; } else {...more >>

Novice in need of help
Posted by curvyq-t at 6/1/2005 12:00:00 AM
Hello, I would like to load and rotate about five or six external .swf files into a movie clip randomly. I have found a couple of different codes that are supposed to achieve this, but none of them seem to work, and since I do not know actionscript very well, I don't know how to fix it. I ...more >>

xmlbased dropdown menu (horisontal)
Posted by Mathias at 6/1/2005 12:00:00 AM
Hi, does anyone know a good tutorial on this matter ?? thanks, Mathias ...more >>

Gain good karma...
Posted by Newbie05 at 6/1/2005 12:00:00 AM
Thanks to everyone who takes the time to help me with this problem! I have this flash file called presentation.swf and within it is a movieClip called buttons_mc. Within buttons_mc I make this call to load a new movie: _root.contents_mc.loadMovie("http://localhost/png/assets/flash/fundam...more >>

XMLSocket.onConnect fails
Posted by SARABSANDHU at 6/1/2005 12:00:00 AM
Hi All, i have problem in communication between the XMLSocket from the client side and a Java Server written by me using ServerSocket. XML.Connect methog shows the success, server also shows that it has accepted the connection, but the XML.onConnect method fails everytime after that . I don...more >>

Duplicating a Textfield in ActionScript
Posted by Lucidiom at 6/1/2005 12:00:00 AM
Hi. I have an existing textField on stage (m_myTextField) that I'm trying to duplicate at runtime into a new TextField (m_newTextField). I've used duplicateMovieClip() before successfully (with normal movie clips), but can't seem to get it to work for the TextField objects. m_myTextField...more >>

Disabling Right Click Menu Completely
Posted by karuna at 6/1/2005 12:00:00 AM
is there any way we can disable the right click menu ? .... wutever i try i'm not able to get rid of the "Settings" and "About Macromedia" menu items, though the rest of the menu items can be removed i dont want the right click menu to appear when the user right clicks ! >>> karuna >>> ...more >>

random floating motion equations
Posted by scottPadgett at 6/1/2005 12:00:00 AM
i want a bubble or balloon to float across the screen in a random manner over time, so that it moves as if affected by winds acting on the object from randomly changing (but fluidly changing) directions and at random but fluid velocity changes. in other words it needs to act like a balloon f...more >>

Paths question
Posted by chattanoogadesigns at 6/1/2005 12:00:00 AM
I have 3 movies. For the sake of this fourn we will call them swf1, swf2, and swf3. swf1 loads swf2 on level 2,(that is frame 1). When swf 2 is done preloading, I want it to play frame (2) on swf1. Witch will load swf3 on level 1. Here is what I have now. _root.swf1.gotoAndPlay(2) ...more >>

Removing Duplicates from an Array
Posted by olally at 6/1/2005 12:00:00 AM
Hi there I have an array which has list of Countries: var country_array = new Array("USA","USA","Australia","USA","USA","Italy","USA","USA","Argentina","Franc e","USA","South Africa","Italy","Spain"); I'm assigning this to a combo box placed on the stage: countryType_cmb.dataProvider ...more >>

Calling Functions
Posted by calicut at 6/1/2005 12:00:00 AM
If you look at this code you will see that 'setMenu' is not being called i dont know how to call it can someone teach me? I think that if figure out how to call the setMenu it might work correctly, The movie works fine on its own but when i call it in a target, the images wont show i :confused...more >>

Quick question about inheritance.
Posted by Sh1rp at 6/1/2005 12:00:00 AM
Ok guys, here's a question for you. Say I have a class B that extends a class A. Now, in class A, I have a VARIABLE that I've declared to be a function and I set it to some function in the constructor. Now, when defining this function in class B, is it possible to use the super.functionName...more >>

MovieClipLoader.getProgress not work inside MovieClipLoader.onLoadStart ??
Posted by undef at 6/1/2005 12:00:00 AM
as per topic... i am using MovieClipLoader to load up images. it does indeed trigger the onLoadStart event and the function i set up. but when i call the getProgress method as part of that function it does not retrieve any info about the file to be loaded. the onLoadProgress functio...more >>

scrolling gallery
Posted by HeMightBeCreative at 6/1/2005 12:00:00 AM
ok I have a series of movie clips that I have slowly scrolling across my stage. What I am looking forward to happening is for the viewer to be able to affect the speed of the scrolling and scroll the other way depending on where the mouse is at. Please help. Thanks ...more >>

URL
Posted by Dougash at 6/1/2005 12:00:00 AM
:)Hi, I'm in the middle of writing an actionscript code to link one page from another and I keep getting this message which I don't seem to understand This is my code click_btn.onRelease = function ( ) { getURL("main.html","_parent"); }; The message I keep getting is this...more >>

XML "CDATA" incompatibility in mac osx
Posted by kavyavinod at 6/1/2005 12:00:00 AM
Hi there, good morning. I have small flash project with data coming from a xml file one page alone. My problem is as stated below. Flash is not fetching the xml data passed using "CDATA" in mac Safari browser, but it's working fine in windows. Plz let me know if anyone knows where...more >>

Scaling a Movie Clip
Posted by jhutchdublin at 6/1/2005 12:00:00 AM
I need to take a larger movie clip load it into a smaller movie clip. Any ideas how I can do this so as the bigger one fits the dimensions of the smaller one? ...more >>


DevelopmentNow Blog