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 2007 > threads for thursday march 22

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

text input as variable in a URL
Posted by yeema at 3/22/2007 11:39:31 PM
I want to create a simple flash document with a text input field, and a button that will go to a URL. The trick is that the text input field needs to replace an element in the URL for personlaization purposes. I got the field, and I got the button. What is the method for getting it into the UR...more >>


Accessing Loaded SWF Library Items
Posted by babo_ya at 3/22/2007 10:06:29 PM
In _root level I'm loading a swf that contains button skins(In library with linkage names) And I want to load a button skin in _root._mc level. I can do this using attachMovie but, it adds to _root level because the swf is loaded from _root level. But, I want it to be added to _root._mc leve...more >>

rotation goes negative
Posted by Starlover_jacob at 3/22/2007 9:12:36 PM
Hello a question about my problem; Is this normal? And how do i solve this problem? this is my code: this.onEnterFrame=rpmrotate; function rpmrotate() { if(instance_six.hitTest(_root._xmouse, _root._ymouse, false)) { trace(instance_pin._rotation); if(instance_pin._rotati...more >>

setTextFormat
Posted by DBrentW at 3/22/2007 8:50:32 PM
I have a move called termMovie, and in this movie is a dynamic text object named termWin. When I created this object, I set the color to 0x00ff00 (green). And, when I do something like... termMovie.termWin.txt = "Hello world."; it works. What I want to do is to change the color ...more >>

Simulating Picks in warehouse
Posted by Julie at 3/22/2007 8:40:36 PM
I would like to have 10 boxes on the screen that represent areas for a picker to pick in a warehouse. The user will then decide how many picks they require. My problem is that If the user selects "npicks" I need to accomplish For i = 1 to npicks rand = random(12) blockrand = I want...more >>

changing colour and size
Posted by TuulaRedditt at 3/22/2007 8:34:34 PM
I have a very easy question about changing the colour and shape of an object using action scripting. I've created a slider and activated control of the size using action script attached and I just need to know what script to add to make it change colour as it slides as well. Can anyone help me...more >>

MovieClip Scroller
Posted by Martyn_C at 3/22/2007 8:05:05 PM
Hi, I'm trying to do something really basic, but, I think I am complicated the thing. I'm trying to do a slidebar that when you drag it, a MovieClip begins to move. When your are the start of the scroll bar, the movie clip is at the start and when your at the end of it, the movie clip is a...more >>

Scenes and strings of Movie Clips
Posted by Marsascala Pest at 3/22/2007 7:49:01 PM
I want to run a string of Flash movies which display event notices. I have tried using scenes but I can run two scenes consecutively, but when I put a third in, the result is that scene 2 is missed out. Scenes 2 and 3 hold extenal .swf files. If I put text into scene three instead of the .sw...more >>



TextArea cursor postion
Posted by RandalJ99 at 3/22/2007 7:16:09 PM
Hi, In the Textarea Component how do I find where the cursor is. So for instance if the TextArea.text = x1x2x4x5 and I want to click a button to insert x3 where the cursor currently is. So I click in the text area between 2 and x and click my button. Impossible to do unless I know w...more >>

Movieclip Frames
Posted by FlashSeve at 3/22/2007 6:53:57 PM
This is a code i found so when circle touches the MC it goes to the frame onClipEvent (enterFrame) { if (_parent.circle.hitTest (this)) { tellTarget ("_parent.") {gotoAndStop(2);} } } But i want it to go to the second frame inside the MC combining it with creature.gotoAndStop(2) Bu...more >>

Passing Parameters to SWF Using loadMovie()
Posted by capitalino at 3/22/2007 6:20:40 PM
I?m loading a movie loadMovie("myPopUp.swf", 1); How can I pass parameters to the SWF? And how do I retrieve the parameters in the second movie (myPopUp.swf)? Any help is greatly appreciated,...more >>

accessing shared object
Posted by aa at 3/22/2007 6:15:00 PM
If in an SWF file I create a shared object like this var so:SharedObject = SharedObject.getLocal("name"); and sore some value in it so.data.my_value="my_value" Then I load another swf into this swf, can I retreive my_value? I.e. can I access so from the loaded file? ...more >>

Text Effects (Dynamically)
Posted by babo_ya at 3/22/2007 6:03:58 PM
http://orcad.optimumreturn.com/TextEffect.png I'm trying to achieve text effects as above dynamically. 1) User can enter any text in a text input 2) put each characters into a movieclip 3) Somehow, I need to achieve those text effects as above. Note : I was able to create a curve effe...more >>

flash menu that highlights current html page
Posted by cbradshaw at 3/22/2007 5:52:00 PM
Howdy, I'm trying to create a Flash-based navigation that will highlight the page that the user is on. The client wants the cool flash rollovers and will settle for nothing less. They also want the flash menu to highlight the menu item that corresponds to the current html page that the user is...more >>

passing parameter to swf being loaded
Posted by aa at 3/22/2007 5:41:56 PM
When loading an SWF using loadMovieNum() how shall I pass a parameter to the swf being loaded? ...more >>

adding numerous variables
Posted by MediaMan5335 at 3/22/2007 5:15:48 PM
I am creating a roulette game in Flash. I need to get a total of all the chip amounts on the table. Is there an easier way to do it than; totalInPlay = number1 + number2 + number3; ect ect I'm guessing there's an easier way. I've tried putting it in a loop, but it will only count t...more >>

onmousewheel isn't captured
Posted by rockbuilder at 3/22/2007 4:23:43 PM
Hi all, I'm working on a navigation system which use the mouse wheel as a mean to move through a 3d space. Anyway, the problem is that it seems that the mouse wheel isnt working until the flash is clicked at first. You can test this with this simple script on the first frame of a movie : ...more >>

site dont fit in smaller monitors (I think)
Posted by lawrenceging at 3/22/2007 4:23:23 PM
Hi all, I have just uploaded my site at www.marklawrencedesign.com, and on my mac (23" screen) it all fits in and looks fine. My mate has just viewed the site on a pc with a smaller monitor and says the links to the left go off the page. my site is 1300 px by 900 px. Any ideas ho...more >>

Detecting end of embeded video
Posted by FizzBang at 3/22/2007 4:07:37 PM
Hi - I'm new to working with flash so sorry if this is a real easy question. I've been trying to piece this together myself through the help files but I'm having no luck in getting it to work. I have a .flv file in one frame of my timeline. What I want to do is have the video play (while...more >>

Play/pause button actionscript
Posted by Swarfega at 3/22/2007 4:07:28 PM
Hi I was wondering how to make a video playable again once the full the duration of the video has played. I press play and nothing happens. For the record my play button is also used as a pause button. Here is the actionscript I'm using: on (release){ ns.pause(); if (stopped) { ...more >>

Asfunction- Hypertext Link
Posted by SM6601 at 3/22/2007 3:57:35 PM
I'm trying to use the Asfuction to create a hypertext link to another frame label in a dynamic text field. I tried to use the following and it doesn't work- Beat_Poets.htmlText = "<a href=\"asfunction:gotoAndPlay("Howl"); \">Howl</ a><br>"; } Does anyone have a solution? ...more >>

Public/private getter/setter methods
Posted by maguskrool at 3/22/2007 3:44:36 PM
Hi. When creating a custom class in an .as file, I declared getter/setter methods using the get/set keywords. When I make the methods public, Flash says there are no errors, but if I make any of them private I get the following error message: "A member attribute was used incorrectly....more >>

GotoAndStop at End of external FLV file
Posted by Spaantje at 3/22/2007 2:35:18 PM
Hello, I'm now using this code to check if i'm at of a movie but i wonderd if a movie is stoped because the buffer is not fully loaded will "NetStream.Play.Stop" also be called or only if you at the end of a movie? Already Thank for the reaction. Greetings. Spaantje my_ns1.onSt...more >>

Dynamic text blurry when preloader is used
Posted by CanonBoy at 3/22/2007 2:35:13 PM
I've put the skeleton of something here: http://www.leetilford.com/tests/portfolio.html Note the crisp type up front. Choose a category (bathroom or dining for instance) and see that the dynamically loaded type becomes blurry. This only happened when I used a preloader to load the catego...more >>

stop() not working in presentation slide
Posted by zenaphex at 3/22/2007 2:27:25 PM
I have a very simple stop() action in my first and last frames of a slide that is under the master slide. No other code. The oddest thing is that the first stop() does not work, though, the last stop() action does work. I figured this is something to do with Flash Presentation type documents s...more >>

Tic Tac Toe Game
Posted by shutusajd at 3/22/2007 2:24:44 PM
I need some help with this program, can you find the problem? The X's aren't showing their scores for some reason. http://img126.imageshack.us/my.php?image=sawikclr1.swf...more >>

help with xml menu
Posted by sundeep_02tv26 at 3/22/2007 2:15:56 PM
hai to all, i am struck with a problem. plzzzzzzzzzz help i have 6 menus where the text is displayed from a html file.i kept the text box in a movieclip.its fine working. now the problem arises. when the mouse is over the menu the respective xml will be loaded into the flash. this is...more >>

need help with an array derangement function...
Posted by josephkauffman NO[at]SPAM gmail.com at 3/22/2007 11:41:20 AM
hello! i need help with an array derangement function. it's basically a shuffling function, but all of the elements of the new array must be in a different position. here's the definition from the dictionary of algoritms and data sctructures: Derangement: A permutation of elements, where n...more >>

Clip loading order inversed???
Posted by Nixy at 3/22/2007 3:45:55 AM
I have a linked clip in my library that is a thumbnail. Well the only thin inside is a code to load a thumnail jpg. Here is the situation. I use a for loop to add a seri of these linked clip displayed on the stage. All the same clip, at different pos _y and only the thumb path is pass to the...more >>

Dummy Needs Help!
Posted by tlpgocards at 3/22/2007 2:32:03 AM
:confused; Can anyone explain to me what I need to do in order to use the flash player? I have a 64-bit operating system,but the player will only run on a 32 bit-browser. I do not know how to accomplish this. ...more >>

Control line length with dynamic text
Posted by yellowfry at 3/22/2007 2:01:35 AM
Hi, Does anyone know how to control the length of a line with dynamic text input? I have two buttons, one that increases the value of a dynamic text input by 1 each time it is pressed, and another that decreases it. The screen displays the resulting number. I want to draw a line that inc...more >>

how do we make a textInput component retain its data?
Posted by Paul at 3/22/2007 1:52:09 AM
Hi! I inserted a textInput component and made a button for it so that when clicked it goes to another frame and then back again but on the return the textInput field is empty, how do make it retain the previous data that the user entered? Paul ...more >>

Loading Progress not work
Posted by vovantuan at 3/22/2007 12:00:00 AM
Dear all, I am using Flash8. I create a loading progress as an example showed: Frame1: - put a movie named "bar_mc". - Put this actionscript: [Q]var pctLoaded:Number = Math.round(this.getBytesLoaded()/this.getBytesTotal()*100); bar_mc._xscale = pctLoaded; [/Q] Frame2: - P...more >>

Automatic back to start of video
Posted by Swarfega at 3/22/2007 12:00:00 AM
When a video I created has played its duration how do I get the video to go back to the start again ,but not play. I have created a play/ pause button that has the following actionscript: on (release){ ns.pause("Cashel.flv"); } What must I do to amend this actionscript? ...more >>

Colored highlighting of text
Posted by Social Psyence at 3/22/2007 12:00:00 AM
Hello everybody. I'm a relative noob with ActionScript, and often the solutions I come up with are needlesly complicated due to me not being aware of a simpler solution. So before I embark I'd just like to bounce this off of anybody. Any feedback is most appreciated. I want a paragraph of...more >>

Please Help - Fade on load with preloader
Posted by echmrr at 3/22/2007 12:00:00 AM
Hi All, I am loading an external swf into an emply mc when a button is clicked. I have the movie fading in when the button is clicked by the following code on the button: on(press){ import mx.transitions.Tween; var alphaTween:Tween = new Tween(_root.loader_mc, "_alpha", null , 0, 100...more >>

How do I stop a swf file restarting on a html page refresh
Posted by curtisontour at 3/22/2007 12:00:00 AM
Hi I've looked around the usual haunts for help on this topic so I thought I come here, as I probably should have to begin with. I have a swf file that appears at the top of every html page on a site that I'm working on... every time a user changes the page they are looking at the swf ...more >>

I have a flash form that doesnt seem to work properly
Posted by Clayton-53 at 3/22/2007 12:00:00 AM
Basically i need someone to help in getting a flash form within a flash site to work properly by going over the action script with me. ...more >>

Actionscript Advice in need!
Posted by brimbo69 at 3/22/2007 12:00:00 AM
Hi, I basically have two flash swfs which need placing in an HTML template which has navigational buttons. Once the first swf has played/complete, I need to send a message to the javascript to allow the user to click the 'next' button (in the HTML template) to then play the second swf. The...more >>


DevelopmentNow Blog