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 > may 2006 > threads for wednesday may 3

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

stuck on a scrolling script
Posted by macron at 5/3/2006 10:45:09 PM
hi, i'm trying to write a script that scrolls a movie clip up or down, and stops the scrolling when the top or bottom of the movie clip reach the appropriate part of the viewing pane, regardless of the height of the movie clip. the viewing pane is 300px high, and the movie clip is of var...more >>

Clear one text box when other gets focus
Posted by stripetg at 5/3/2006 10:27:33 PM
I have a search box with two text fields, one for products and one for companies. I want to have one box be cleared when the other box gets focus. For example, a user types in NEC in the product box, and realizes that it is the wrong box. The user is supposed to type that in the company box. ...more >>

Clear one text box when other gets focus
Posted by stripetg at 5/3/2006 10:27:32 PM
I have a search box with two text fields, one for products and one for companies. I want to have one box be cleared when the other box gets focus. For example, a user types in NEC in the product box, and realizes that it is the wrong box. The user is supposed to type that in the company box. ...more >>

instanceName.pause Please Someone Help
Posted by xydon at 5/3/2006 9:45:16 PM
I am going out of my mind trying to figure this out. I have a play/pause button and when I selet the pause button it pauses my video but doesnt pause my audio. If I push play the video resumes. Please help me. xydon ...more >>

Loading Sound problem.
Posted by meeesta at 5/3/2006 8:39:27 PM
Hello. Thanks fer taking the time to read my query. I've got what basically amounts to a hub movie, which after a brief intro loads in various other swf movies. My problem is with the loading of sound, the hub has 8 'soundChannels' set up, to act as global sound dumps if you would, lik...more >>

opening in an iframe
Posted by deadlast007 at 5/3/2006 8:11:42 PM
i know the script below will work, but how can i tell it to open within the same document? on (release) { getURL("vid_develop_text.html", "frame3"); } this wont work on (release) { getURL("vid_develop_text.html", "frame3", _self ); } ...more >>

Creating form application
Posted by angelina28 at 5/3/2006 7:36:33 PM
I would like to create a form application where the user would enter some data and then be able to retrieve that data. I've done some searching around on this, but need an idea of where to begin. I can create a form loading external xml data, but that's not what I'm going for. Any help on t...more >>

RemoveMovieClip doesn't work?
Posted by uxk8396 at 5/3/2006 6:59:11 PM
Hi, Kindly advise the best way to remove duplicateMovieClip in other frames! I tried the folowing: this.onEnterFrame=function(){ back1_btn.onRelease = function() { gotoAndStop("one"); unloadMovie("snowflake"); removeMovieClip("snowflake"); snowflake.removeMovieClip(); }...more >>



Help with changing properties of textbox
Posted by woodtah at 5/3/2006 6:59:09 PM
I created a textfield on the stage with the following properties specified in the property inspector: type: Dynamic Text instance name: events_txt line type: multiline font: _sans character position: normal font-size: 24 text color: black align: left selectable button, render...more >>

Array Comparison ( Flash 8 )
Posted by pwyon at 5/3/2006 6:51:56 PM
Hello, I am trying to write a function that will "highlight" days in a month--for a calendar I'm making. The dates I have come in from PHP/MySQL look like this: YYYY-MM-DD. I split up the date by "year", "month" and "day" then put them into an array like so: ////CODE//// ...more >>

pause a movie for a fixed time
Posted by rajakvk at 5/3/2006 6:50:15 PM
want to pause the movie for a fixed time using action script. Any help !!! rajakvk ...more >>

send HTML mail with flash
Posted by MatMaar at 5/3/2006 6:38:26 PM
Hi Does anybody knows how to send a HTML mail with flash to a person? grtz Tom...more >>

display _x and _y
Posted by makate at 5/3/2006 3:56:41 PM
i've created a movieclip (ball) that bounces and a dynamic text fields to display the _x and _y position of my ball as it bounces. the thing is the position remains static as the balls bounces, how can i make them change in relation to the position of the ball. ...more >>

open a movie in a frame i wan't
Posted by ptorres98 at 5/3/2006 3:07:31 PM
the only part i now is this on (release) { geturl("..\\Menu\\menu.swf") } i wanto to open this movie in frame 30 (for exemple) is missing rest some body can help me...more >>

Simulating a button press
Posted by FlashForumName at 5/3/2006 2:48:24 PM
I was just wondering if it is possible to simulate the onPress event for a button. For example, lets say I have the button "layers" and want to simulate the onPress event for it using actionscript. Is this possible or does it actually have to be clicked on? I hope I am missing something obv...more >>

special characters
Posted by cptkirk at 5/3/2006 2:32:43 PM
I am sending an email from a flash movie and php code, this mail has special characters in the $body variable such as ???? etc... what I receive is a bunch of code --- ex.: "?lo" becomes "??lo". the code I'm using in the php form is <?php // $to = "mymail@mymail.com"; // $subje...more >>

array question
Posted by axleberserker at 5/3/2006 2:30:36 PM
My problem is this, i have a bunch of swfs (now called scenes) linked to a main flash file. What i want to do is start a movie playing (always first in an array and the same one each time), and have buttons within it use the push function to add a different swf to the array. In this way i hope...more >>

Passing values (or events) between movie clips.
Posted by bwatson0 at 5/3/2006 2:19:54 PM
Hello all, I'm not an AS guru, but I'm working on it. I've got a question that may seem simple to the gurus on this board. I've created a SWF which has many graphics and buttons on it. It is more or less a menu of sorts. In a new FLA project, I've loaded this SWF as follows: th...more >>

Movie Slider Bar
Posted by Rik Comery at 5/3/2006 2:04:57 PM
Hi.I have a swf file playing an external flv file. Assuming the flv file has fully downloaded to the users computer, is it possible to create a slider bar that can be dragged to jump to different points in the movie? I know how to do it if the movie is embedded into the timeline, but not sure ...more >>

How to copy a textField using Script ??
Posted by arunbe at 5/3/2006 2:04:26 PM
Hi All, I have some text in a dynamic textfield. If i press a "Copy" button, then the text of that particular textfield should come to my System buffer and now i can paste it into a notepad or some text editor. I know, this possible.. But, i don't know how to do that.................more >>

Third root
Posted by Kolja1987 at 5/3/2006 1:18:32 PM
This is more mathematical but scripting problem, I guess, but I know that lot of you are expert of mathematics too. I need to calculate a third root of a number (I'm not sure if that's the phrase in English). Function for square root is built-in (Math.sqrt()), but there are no built-in ...more >>

Strange Combobox selectIndex issue
Posted by OniLink at 5/3/2006 1:14:47 PM
Hi, I can't explain why the following code produces these results: trace(month_cbx.selectedIndex) // equals 4 month_cbx.selectedIndex = month_cbx.selectedIndex-1; trace(month_cbx.selectedIndex); // STILL EQUALS 4!? Can anyone tell me why this is happening? Thanks for any help, ~O...more >>

fscommand
Posted by JP.Harron at 5/3/2006 12:43:58 PM
I'm using fscommand.exec to open Acrobat directly from the CD, but I'm not having any luck. Here is my code... Button: on (release) { fscommand.exec("\\Acrobat 7.0\Reader\AcroRd32.exe", true); } ...more >>

fledgling AS coder needs help: controlling mc's from btn's
Posted by gdhammond at 5/3/2006 12:42:36 PM
I am a novice AS coder. I have a project in which I have multiple buttons, each of which triggers a movie clip to play. Each movie clip is just an image which fades in and then fades out. I have put the labels "in" and "out" in each movie clip, and would like to point to these from each corres...more >>

javascript called from actionscript not working properly
Posted by MacManSC at 5/3/2006 4:38:01 AM
I have a flash file that I want to change the background of an HTML frame when Scene2 begins. The code I have works fine in Safari and gives the desired result. However, calling it from firefox own Win IE, results in the javascript being placed in the address bar, and the name of the bkg image...more >>

Problem with loadVariables to a PHP
Posted by elemi at 5/3/2006 2:34:38 AM
Hi guys! I?m working with Flash 8 and start experiencing some problems. I have a Flash form that loads a PHP which will send an e-mail with the collected information. In Flash 7 I hadn?t any problem but in Flash 8 the e-mail arrives with all the HTML tags. Here?s the Flash code on th...more >>

Right-Click Functionality
Posted by Aaron needs help at 5/3/2006 12:12:53 AM
Is it possible to create a RIGHT-CLICK function with actionscript that would initiate a function that would resize a movieclip? ...more >>

a built in function to detect collision of two moving objects of irregular shape?
Posted by aa at 5/3/2006 12:00:00 AM
Is there a built in function in AS to detect collision of two moving objects of irregular shape? ...more >>

Bug of mouse events?
Posted by Sean Liang at 5/3/2006 12:00:00 AM
var obj = new Object(); obj.onMouseDown = function() { trace("Down - " + _root._xmouse + ":" + _root._ymouse); } obj.onMouseUp = function() { trace("Up - " + _root._xmouse + ":" + _root._ymouse); } Mouse.addListener(obj); For a click event, the two positions traced by Mouse...more >>

Applying an onDrag actionscript to a loaded swf
Posted by gwu630 at 5/3/2006 12:00:00 AM
I want to make a loaded swf file dragable within the main stage. Can someone point me to a tutorial or show me how to do it? Thank you!...more >>

preserving framerate of an imported movieclip
Posted by aa at 5/3/2006 12:00:00 AM
if I have an animation movieclip imported into another movieclip with a different framerate, how do I force the imported clip to play at its original framerate? ...more >>

Force IE to reload a swf file
Posted by loupox at 5/3/2006 12:00:00 AM
Hi there. I am looking for a solution since long days, and I'll ne in trouble if I don't find any solution. Thanks to read.. ^^ I generate an XML files each time I load my php page. This xml file is read by my swf file, and display different infomation, depending of xml file. The...more >>

problem help me
Posted by Abyu at 5/3/2006 12:00:00 AM
Hi iam having a problem my flash movie is there is Movieclip symbol when i click it the number of times i click it should be displayed in a dynamic text box the code used is not working i entered this code in the movie clip symbol named "ball 2" onClipEvent (load) { _root.count=coun...more >>

My URI
Posted by reem_artsi at 5/3/2006 12:00:00 AM
Hello. I'd like to protect my video (flv/progressive) by assuring it's requested by a 'valid' swf. Valid means hosted in a valid web page. In other words, if someone copies the HTML code (<object/embed>), and paste it in another web page, the swf will be loaded but w/o the FLV. Instead an ...more >>


DevelopmentNow Blog