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

attachmovie quesion
Posted by posterboy at 8/10/2005 10:06:19 PM
how do i load a movie clip after a certain amount of time has elapsed? i have been playing with onEnterFrame and setInterval with no results. basically i want to attach a movie in certain location after about a half-second upon loading of a frame. thanks > mark ...more >>

Losing button focus when list is populated
Posted by ChrisRauh at 8/10/2005 9:41:47 PM
This is the situation: I have a navigation bar with a next button that users can press to navigate through the frames. When a frame with a List component is shown, it received focus when it get populated. Problem: if a user is going forward pressing the Next button without moving th...more >>

Disappearing radio button
Posted by CF_crazee at 8/10/2005 9:33:00 PM
I have a weird issue. I am adding some radio buttons using actionscript and everything is great. My problem is the first time the option button is selected and then you mouse over the selected radio button it disappears. If you select another radio button it comes back. The problem is not repe...more >>

Detecting Overlap for the Purpose of Detecting Collision
Posted by SIMphilip at 8/10/2005 9:22:33 PM
Hello everyone, Is there a way to check to see if two objects are overlapping using ActionScript? It seems to me that there should be a way to do this, since buttons have a hit area...shouldn't there be some sort of way to see if two movie clips' "hit" areas intersect? In case anyone...more >>

Non Profit Organization Needs Help
Posted by nhurst82 at 8/10/2005 6:53:58 PM
I work for a non-profit organization and we have many branches. Each branch has a separate page. Each one constantly needing to change it's slide show. I'm trying to create a slide show that will create itself. I know that I can read data from .txt files. That isn't a problem, or somet...more >>

change height kill tween??
Posted by zensoldier at 8/10/2005 6:37:34 PM
I have a movie clip that contains a movieclip. The clip tweens the sub clips width from 1 to 131 over 5 frames. (its a rollover) When I change the height of that 'Sub' clip with script it just stops working. Is it possible that changing the height of the mc breaks the tween? The t...more >>

Calling ASP function on same page as flash
Posted by bahamagician at 8/10/2005 6:14:45 PM
I have a flash movie that resides on an asp page. Is it possible to call an ASP function on that same page from the flash movie that resides on the same page without having to reload the page???...more >>

Simple question about determining paths
Posted by Anth2003 at 8/10/2005 6:14:07 PM
I am using a book style page flipping script that I picked up on the web and am modifying it so that I can load external text files into each of the pages. However I amhaving difficulty determining the absolute path to my first dynamic text field. Once I have one I can work out the others easi...more >>



Converting text to a number.
Posted by MichaelBlum at 8/10/2005 12:05:54 PM
Is there a built in function that will convert a text string to a number ie. "26" - 26.0 Or is there some way easier than writing my own function?...more >>

Unable to removeMovieClip
Posted by Dave in UK at 8/10/2005 11:33:45 AM
Is there a simple control for clearing a screen of ALL "Attached" movie clips. I have tried the following but cannot understand why the "removeMovieclip()" doesn't work Actions for Frame 1 (in main timeline) /*The following lines are inside a 'for loop' which writes upto 30 movie clips ...more >>

button stopped working.....PLEASE HELP
Posted by Lucy4 at 8/10/2005 10:57:40 AM
I've got a button with a print function on it so that when somebody clicks it part of the movie disappears and other parts are enlarged and moved (I used _root.movieclipname._alpha = 0; _root.movieclipname._xscale = 140; _root.movieclipname._yscale = 140; _root.movieclipname._x = 400; _root...more >>

Very strange , I pass parameter to my swf , it works in fireFox and not works in IE
Posted by legolas.w at 8/10/2005 10:23:44 AM
Hi thank you for reading my post Very strange , I pass parameter to my swf , it works in fireFox and not works in IE . I used variable passing to my flash movie like this : .... <embed src="APG.swf?currentName=Mynamevalue&currentModel=Mymodelvalue" quality="high" pluginspage="http://w...more >>

htmlText not behaving as expected
Posted by Josh Rolfe at 8/10/2005 9:47:25 AM
I have a dynamic text box. I am loading variables from an asp page, then populating the text box with one of the variables. This all works fine. For example, my variable is varText with a value of "this is a test." My text object is txtDyn. If I say: txtDyn.htmlText = varText //this w...more >>

Actionscript and query strings
Posted by arie205 at 8/10/2005 9:37:35 AM
Hi, I am trying to pass variables to a movie in a query string that looks like this: flash/chart_v01.swf?var0=115&var1=116&var2=117 I know that these variables are loaded automatically in the _root and are available there. I can also set the value of a variable to a textfield in the ...more >>

Connecting to ports below 1024?
Posted by Ebert Waddleburg at 8/10/2005 9:11:28 AM
Has anyone had any luck with this? Do I need to serve my policy file from a SOCKET SERVER to be able to communicate with sockets below 1024? Or, can I just load a policy as shown below, with to-ports="88" specified in my file? System.security["loadPolicyFile"]("http://www.domain.com/policyx...more >>

Reloading a script with a modified VAR
Posted by Sawito at 8/10/2005 8:46:48 AM
Greets, I'm loading data from a php/mysql script to fill a "table" (using textfields in flash). I can only load 8 datasets per page, so I need to have a previous/next set of buttons. (My php script is set so that it will accept a LIMIT & an OFFSET for the SQL query). The ActionScript...more >>

gotoAndPlay to jump to a scene/frame behaves strangely
Posted by pandaemonaeon at 8/10/2005 8:07:59 AM
I have a single flash file that contains 13 scenes (some lengthy animation). There are buttons which are supposed to make the movie jump to a specific frame whithin the same scene that I labeled uniquely, using this code on the onRelease handler: // in an external .as fi...more >>

Frame Label
Posted by Ravi :-) at 8/10/2005 8:03:22 AM
Is there any way to get the frame label in script? Thx Ravi:confused;...more >>

Variable name manipulation & modification?
Posted by Sawito at 8/10/2005 7:36:01 AM
Greets, I need help with the following (being the actionscript noob that i am). In the code below, I'm calling a string from a php script to set up variables... as I haven't understood yet as to how I create instances of a textfield using script, I have created those manualy, and am fillin...more >>

textarea and image included in it.
Posted by razvan224 at 8/10/2005 6:54:48 AM
hello i have run into a problem: on the scene i attace a textarea component and made it .html=true; when i use <img src="img.jpg" width="10" height="0"> the textarea does not display the image. i reqad the help, i put a text in front of the picture but does not work either. but the <...more >>

setrgb with a variable
Posted by angeloyork at 8/10/2005 6:06:23 AM
I am trying to set the rgb value of a mc via a variable. Code so far as follows, but all I am getting is black colour? The picture_bg variable contains ff0000 via an xml script that works fine. The mc is titled backgroundpic. The colour is not changing. The commented out line at the bottom wor...more >>

create a rotating Star in pure actionscript
Posted by Dafydd at 8/10/2005 3:38:21 AM
Hi folks, I am new to action script. I am attepting to create a movie clip of a rotating star using only actionscript. So Far I have done this _root.createEmptyMovieClip("shape_mc", 0); with (shape_mc) { shape_mc.lineStyle(1, 0x000000, 100); shape_mc.moveTo(50, 0); shape_mc.lineTo(5...more >>

Multiple Instances of the Same MC.
Posted by calpolyarc at 8/10/2005 3:16:56 AM
Say I have MC's named Strip1, Strip2, Strip3, etc. Inside each Strip# MC I have multiple instances of another MC named 'Thumb'. Is there a method I can use to retrieve the total number of Thumb instances in a certain Strip# MC?? Thanks! ...more >>

Instance name held within a variable?
Posted by Devanstator at 8/10/2005 3:01:36 AM
Greetings, all. In some languages, I think it is possible to use the contents of a string variable as if it was part of the command line Something like: var instance = "InstanceName"; trace(instance._rotation); That particular code doesn't work in flash, but is there a way to indicat...more >>

gotoAndStop command - simple question
Posted by dan2709 at 8/10/2005 1:39:56 AM
I' ve just started using flash and I have a stupid question: After some animation I want to stop on frame 50. It is easy: on frame 50 add the following command: stop (); On this same frame I have 4 buttons and I want that when I hit a button, it sends to specified frame, example: frame 51. ...more >>

Data Loading
Posted by Dinghus at 8/10/2005 1:17:30 AM
Preloaders are easy when you know the size of the file. But what about for dynamic files? What I am doing is using one frame to load data files then it moves to the next frame. This doesn't seem to be the best way to do it, tho maybe it is. How else can I be sure that all the data has l...more >>

Help with a custom login.
Posted by rottmanja at 8/10/2005 12:25:32 AM
I am working on a custom login for a project I am working. And I am having a little trouble with the login. I am using coldfusion to pull the data from my database. when I test the login, it completly ignores the start of my if statement, and goes right to the last else statment. I have attach...more >>

roll over from specific direction?
Posted by audioathlete at 8/10/2005 12:00:00 AM
i'm working on a thing here: http://www.audiosport.ee/nu/main.html see the blue area there and roll over it. when you do it, the bottom edge of it will bounce. i would like it to bounce only when you cross the bottom edge of that blue area not left, right nor top. can this be done? som...more >>

Saving Files (NOT SHARED OBJECTS)
Posted by Luke867 at 8/10/2005 12:00:00 AM
How can flash save file(s) to a folder on the hard drive?...more >>

Datechooser Problems
Posted by aspidistra at 8/10/2005 12:00:00 AM
Hi I am trying to get the Datechooser component to output multiple dates into a textbox/s, according to the user selections (say for example they were choosing two hotel booking dates), but I can't get the dates to display in a textbox . So far I have used an event listener to trace the da...more >>

LoadMovie
Posted by wwcbe at 8/10/2005 12:00:00 AM
I have a movie and I call a other movie How can I give the command to go to a specific frame? Now I use this script, Ineed to load product_1a and get frame 10 loadMovie("external_movies/product_1a.swf", "shop_content_loader"); Thanks for all help Hugo ...more >>

boundary'z for a movie clip that moves in response to mouse-movement
Posted by addicted ta mx at 8/10/2005 12:00:00 AM
hi ppl, i'm making a sniper game, where instead of having the scope move with the mouse(i.e converting the scope into the mouse pointer via AS) and the background stays stationery, i have made it so when you press the Ctrl key - the background moves in regards to the mouse that is currently ...more >>

scrollpane pain
Posted by scsken at 8/10/2005 12:00:00 AM
I am trying to create a slide show using the scrollpane. I created a movie called mc_gallery that has a scrollpane on the left side of the screen. I added a movie clip inside the scrollpane (called navVertical) that consists of 10 buttons stacked vertically. When the user clicks one of th...more >>

Problems with loader content.
Posted by nu?si at 8/10/2005 12:00:00 AM
Hi, I've been trying to solve this in many ways but it only gets weirder. Problem: I've got an swf (say "info.swf") wich dinamically loads XML content into a textArea. When tryed by itself, no problems. But when I call it from a loader component in another swf (say "main.swf") the content...more >>

ScrollPane and dynamic movie content
Posted by CF_crazee at 8/10/2005 12:00:00 AM
Hi Im trying to create scrollpanes as children of an accordion component, then create empty movie clips to which content is added and then set the movie to be the content of the scrollpane Now the movie gets created and appears in the right spot if I create the movie as a child of the scr...more >>

Controlling ComboBox DropDown Properties
Posted by TimK at 8/10/2005 12:00:00 AM
Does anyone know if you can use actionScript to modify the width of the dropDown list of the ComboBox component using MX 2004 PRO? The ComboBox component needs to stay the same fixed width, but when you click the dropDown list...I'd like the drop down list to either have a horizontal scroll b...more >>

Sending Email
Posted by Luke867 at 8/10/2005 12:00:00 AM
Can Flash send an email? And if so can someone please tell me how?...more >>

Printing from flash
Posted by purple_am at 8/10/2005 12:00:00 AM
hi guys i have an issue with printing in flash i have a button which says on (release) { print('#p','bframe'); } well actually when i click the button it will print all the frames that have the '#p'. Is there a way to be able to print selected frames only. thanks ...more >>

Register as global and make available to loaded swf
Posted by ActionScripter1 at 8/10/2005 12:00:00 AM
Hi guys, I am trying to make my variables global so that when i load in another swf into a mc the variables are available I have tried this but it does not seem to work any ideas? thanks _global.next = next; my loaded in .swf is called nav.swf and it is loaded into navholder ...more >>

masking
Posted by Directorgirl at 8/10/2005 12:00:00 AM
Hi there, I have a graphic drawn in flash mx pro that comprises of a number of layers that i want to mask with a circle so that it appears gradually on screen. how do you mask multiple layers??? I have a file with it done but when i take the mask off to see how its done, im back to sqar...more >>

Menu Component not in front
Posted by seb0r at 8/10/2005 12:00:00 AM
Hello. I create an empty MovieClip on _root. This MC is my container then. In this container I create an empty MC for my MainMenu. In this MenuMovieClip I create a MenuBar and add Menu Components to it. Later I create another MC, let?s call it BlackClip that is below my MenuMovieClip c...more >>

Intermittant problem with .visible on a radio button
Posted by MeaColeman at 8/10/2005 12:00:00 AM
Hi! I am having an intermittant problem with the following code: if (choice2text == undefined) { Choice2.visible = false; } else { Choice2.visible = true; } Choice2 is the instance name of a radio button. This code is attached to the frame where the radio buttons first appe...more >>

Help A Beginner With Listerner Events
Posted by seesharp at 8/10/2005 12:00:00 AM
:confused; If I put a button component intance called myButton into a flash movie and add a listener event I can get it to work. myListener = new Object(); myListener.click = function(evt){ trace(evt.type + " triggered"); } myButton.addEventListener("click", myListener); If I...more >>

_totalframes
Posted by dawn1969 at 8/10/2005 12:00:00 AM
i am creating a course in flash. i will have several scene. each scene will be another topic. i have a dynamic txt box that will show what page the person is on out of how many pages there are. e.g. page 4 of 23. I need the total page number to change with each scene. e.g. scene01 - page 4 o...more >>

Keys
Posted by Luke867 at 8/10/2005 12:00:00 AM
This is a very basic question, and I can kind of get it to work, but not very well. I am trying to get the player to detect keys other then the normal ones. However I can't seem to get it to do a repeat or for some keys to be detected. I am using ascII as the method right now, does anyone have...more >>

radio button sending variable
Posted by Scally_Ally at 8/10/2005 12:00:00 AM
hi all, I am relatively new to the process of combining flash web applications with php/asp and a database. I have a flash form that takes in a few values that the user inputs into text boxes, i can get these values out of flash and then store these variables in a mysql database using php. ...more >>


DevelopmentNow Blog