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 > november 2005 > threads for tuesday november 29

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

Shared Libraries and Loaded Movies
Posted by System101 at 11/29/2005 11:33:32 PM
okay i have a master program that loads in a bunch of subclips. The subclips each use resources from a shared library location at ../lib.swf ( relative to the master program this is stored at data/lib.swf ) the shared assets work fine in the subclips when they are run on their own but ...more >>


Re: Actionscript phrased as a string.
Posted by NSurveyor at 11/29/2005 10:35:35 PM
Well, I think you are making it TOO dynamic. Here's a little function, not sure if it will work in all situations... function callAsFunc(str){ var op_ind = str.indexOf('('); var ed_ind = str.lastIndexOf(')'); var params = str.slice(op_ind+1,ed_ind).split(','); var func_p = str.sl...more >>

bookmark flash movie
Posted by Ryan Bellerose at 11/29/2005 10:29:47 PM
Well I have been procrastinating the idea of bookmarking a flash movie long enough. My client wants to be able to copy the URL of certain sections, and then send them to people. The problem, the whole site is in flash using individual SWFs. I have been searching for the right tutorial or forum...more >>

Using delete
Posted by BillG-Chicago at 11/29/2005 10:19:58 PM
I have a question regarding 'delete' and memory usage. Let's say I create a new array - labelArray = new Array(); - and then popuate the array with data. If, later in my program/timeline, I again create that same array again and populate it with new data, will Flash automatically overwri...more >>

PageFlip
Posted by Astonished Man at 11/29/2005 9:55:44 PM
I'm creating an online book using the pageflip script (http://www.iparigrafika.hu/pageflip/) by Macc. The main stuff is coming together great. But I am trying to have animations on the page. Ah, now there's the trick. My animation is a movieclip placed on the page movieclip. But it is ...more >>

Actionscript target linking
Posted by The Waffler at 11/29/2005 9:45:35 PM
Does anyone know how to link a flash object in a frames page to another frame? The frame's name that it needs to go in is main. If for some reason you don't know what I'm talking about, the HTML for this would be <target=main> ...more >>

Actionscript phrased as a string.
Posted by Michael Gioffredi at 11/29/2005 9:23:28 PM
Is there any way to run an actionscript that is phrased as a string? Such as: killTurkey = "trace('killed turkey');"; The reason I ask is that I would like to be able to control the actions of the movie from an external text file or xml file. ...more >>

movieclip load and unload with buttons HELP!
Posted by hecate3 at 11/29/2005 9:01:30 PM
:confused; Ok. I've been trying everything I can think of for 4 days to no results. And maybe it can't be done but I have no idea. I am not in any way an actionscripter but I try my best. :( so here goes. Any help would be greatly appreciated. I have an empty movie clip on my stage. I'm ...more >>



Expanding Dynamic Text Field
Posted by mcarlson at 11/29/2005 8:49:49 PM
I'd like to create a dynamic text field that is a fixed width, but expands vertically to accommodate however much text is assigned to it from a database. It seems that this is possible, because I have one text field in my application that does this, but I have no idea which setting change made...more >>

looping on/off sound button
Posted by birtan at 11/29/2005 8:46:40 PM
hello I have an on / off button in my movie for a sound. The sound has to loop when it is on. The script on the frame is this (name of sound is siggi1): sndch1 = new Sound(); sndch1.attachSound("siggi1"); snd1boolean = false; and the script on the button is this: on (press) { i...more >>

Using LoadVars.load() while in Test Movie
Posted by Peefoo at 11/29/2005 8:09:36 PM
Hello there! I'm calling LoadVars.load() to load some variables from a ColdFusion page. I have a local ColdFusion server. This is the call I'm making: testVar.load(http://localhost:8500/cfdocs/New_Authentication/Main_Application_Li b/bac_access_retriever.cfm); (And I do have quotes a...more >>

Stripping HTML tags from TextArea
Posted by sparklemotion at 11/29/2005 7:53:49 PM
Is thier a way to extract just the text from a html enabled text box, i want to keep the html for storing but need the text without it for other purposes...more >>

photogalery
Posted by irenafilipova at 11/29/2005 7:48:49 PM
hi everybody. can somebody tell me if i want to make a photogalery and the pictures are moving one after another like a film but u know is pretty fast. how can i make it on mouse over to stop on the exact photo? thank u for ur help. i need it urgent ...more >>

attaching MCs from shared library
Posted by hfaze at 11/29/2005 7:48:37 PM
i'm just starting out with using shared libraries so sorry if this is a stupid question. i've created a shared library and linked it with another flash file. i'm able to open the shared lib and drag symbols from it to my FLA. they appear in the library and it works fine. but i want to dynami...more >>

preloader script
Posted by irenafilipova at 11/29/2005 7:24:36 PM
hello. i have a small problem what disturbs me a lot:) i need a preloader what should play till the whole flash file is downloaded. i have put this script to a preloader but somehow is plays only till the next frame is downloaded. Does somebody have any idea what should change in my script ...more >>

ArrayContains()???
Posted by rich.leach at 11/29/2005 7:22:36 PM
Hi All~ I have some Actionscript that is building an array, and I need to find a function, code snippet, etc. that will allow me to look at an array to see if it contains "X" ("X" being a variable). Does anyone know of such a function? Sorta like arrayContains(myVarToCheck); Thanks in ...more >>

Goto webaddress when it hits a certain frame
Posted by stiky at 11/29/2005 6:06:07 PM
I'm doing a button in flash that I want to press, it advances some animation, then I want it to go to another page on the website. I thought putting GetURL on , say frame 40 on the timeline would do it, but it doesn't. Would I need to put a flag on that frame and deal with the coding on the bu...more >>

FLVPlayback instance
Posted by epic306 at 11/29/2005 6:05:44 PM
I have a page that plays a .flv , when the video is done playing I want it to jump automatically to a frame label. I'm not sure where to tell it to goto the frame. it's a progressive download, so it's not embedded in the timeline. Any ideas? I tried adding an action on the frame of the .fl...more >>

Bring To Front Using AS
Posted by Mikeb88_69 at 11/29/2005 5:56:14 PM
What would the code be for making a movie clip come to the front of everything else when click on? I know that it would have to be something like: If this.hittest with mouse=true bring this movie clip to front Thank you! :D ...more >>

VERY Basic AS question
Posted by Mikeb88_69 at 11/29/2005 5:36:20 PM
What code would I attach to a movie clip to make it appear invisible on startup. Something along the lines of? onClipEvent (enterFrame){ this.visible=false; } Thank you......more >>

roboflash
Posted by biggswede3 at 11/29/2005 4:59:03 PM
hi all, i don't use flash as regularly as i once did (using version MX (6.0)). i have this script at the beginning of my movie: fscommand("fullscreen", "true"); fscommand("allowscale", "true"); this is for a screensaver being created at 4x3 (1024x768). what i need is a way for this...more >>

Problem accessing array values
Posted by SBAR_weenie at 11/29/2005 4:57:03 PM
here is my problem. My trace is not seeing the station values in the onRelease handler even after I give it plenty of time to load, still returns undefined. startButton.onRelease = function(){ nextFrame(); this.initialize(true); trace(_root.station2.PPMis[1].new_lat); //returns undefi...more >>

Accessiblity Question Dealing with Movie Skins
Posted by RonMA68 at 11/29/2005 4:16:06 PM
Hi folks, I did a search and didn't find anything directly related to this topic, so my apologies if this has been answered already. Using Flash 8: I have a flash movie and I'm importing a quicktime movie file. All that works great. What I need to know how to do is to label the butt...more >>

Mask preventing input
Posted by domconlon at 11/29/2005 3:51:58 PM
OK, stuck on something daft. I have a regular input box in a movie. This movie is masked off in part using a normal mask layer. Trouble is I can't type in my input box. Works fine (of course) if i remove the mask but I really want to keep it if at all possible. any ideas? ...more >>

Hate to double post, but....anyone have any ideas???
Posted by Muhl at 11/29/2005 3:42:45 PM
Hello all, 1.) I have a button inside of a movieclip. 2.) I am attaching the movieclip to the stage from the library with attachMovie. How do I then attach an action to the button to navigate between scenes???...i.e... btn1.onRelease = function() { _root.gotoAndPlay("test"); ...more >>

anyone familiar with targeting "setInstanceTint()" ?
Posted by benswift at 11/29/2005 3:32:48 PM
I am attempting to use "document.setInstanceTint()" to change, yes, the Tint of an instance on the stage... but for the life of me, I can't figure out how to target the instance. the help docs talk about using this method only works for the document that is in focus... but if there is only one...more >>

Nested MovieClip inside a MovieClip Class
Posted by katyjack30096 at 11/29/2005 3:27:24 PM
I'm in the process of setting up what's going to end up to be a fairly complex movieclip that I'm going to use over and over in my project, but I'm starting out small and simple and it's a good thing because right now I can't get even that to work :) I've got a moveclip, which is going to be s...more >>

creating a unload button in a jpg
Posted by martinstaceyuk at 11/29/2005 3:05:30 PM
hi, i have a movie which is loading jpg images. i would like to unload these images by creating a button on the top right of the jpg. i don't really want to have to create a separate swf for each image, so i was wondering if there is a way to create a button in the movieclip i am using to load...more >>

yscale box from center?
Posted by Shaun Perry at 11/29/2005 2:56:36 PM
hi i want to change the height of my box wth actionscript, please see code below which is on my enterframe: if (menu2_open && this.outline._height<130) { this.outline._height = this.outline._height+1; } it works, but the problem is the height increases from the bottom, how can i c...more >>

Flash lite "keys"
Posted by halfasleeps at 11/29/2005 2:50:04 PM
i read the help file in flash 8 for the keys supported by flash lite, they are: Five-way keypad keys (Up, Down, Left, Right, and Select) Left and Right soft keys 0-9, *, and # keys but i dont know the sytanx to use them. How would i make a function to tell if a certain key is pres...more >>

moving the stage with setInterval
Posted by Vertine at 11/29/2005 2:42:44 PM
hey all...i have always thought http://www.redbullcreativitycontest.be effect in moving the background was nice So i gave my own shot at it, but have some questions as well. Quickly, i made a HUGE movieClip that is 4000x3999 pixels. I did not think this was possible as i had understood t...more >>

Game
Posted by Palonsson at 11/29/2005 2:34:41 PM
Hi! i am doing a chicken game. You are a chicken who are trying to save eggs when they are falling down from heaven. I have a counter, it's counting how many eggs I have saved. But I can olny the counter counting "on (release)", I can't do when I save a egg. Can someone help me? Palon...more >>

Need A Math Expert
Posted by AwesomeDigital at 11/29/2005 1:41:55 PM
I've started reading Keith Peters most excellent book, Actionscript Animation, and I thought I would try to make a pair of eyes that follow the mouse. The eyeball being one movie clip and the iris being another inside of that. I want to make the iris rotate in relation to the eyeball so that...more >>

htmlText and two instance with the same name
Posted by dev_BFD at 11/29/2005 1:25:59 PM
Hello, I use Flash MX 2004, i compile my fla file with ActionScript2 and Flash 7. the compile order is bottom to top. I have 2 clip clLine1 and clLine2 with dynamic text named tdynLine, a LoadVars lvars et a text file with 2 variables Line1 et Line2. In my single frame, i have 4 layers :...more >>

smilies in flash anyone?
Posted by Detonate 2004 at 11/29/2005 1:24:48 PM
I would like to know if anyone did pull-out smilies in flash? A certain character = a certain face Ex: ":)" = smileface in jpeg format I can't figure out how to pull the condition syntax and implement in flash... ...more >>

how to specify units?
Posted by rodrom at 11/29/2005 1:22:58 PM
I am loading a JPEG on a movie clip (it loads with the JPEG's original size), and I want to then adjust the width and height of it to fit an area. I am specifying: _root.mccargarfoto._width = 485; _root.mccargarfoto._height = 105; But the image ends with a size bigger...more >>

Important security problem for PHP output
Posted by germaris at 11/29/2005 1:12:46 PM
I use a Flash File in connection with a MySQL DB via various PHP Scripts. Everything runs fine. My Scripts have an 'include' Function which use a PHP containing the Login Parameters to have access to the DB. Safari (MacOS X) has an "Activity" Window in which are displayed all the PHP Pat...more >>

TextArea component background alpha
Posted by boyBacon at 11/29/2005 1:10:41 PM
Hi All, I am using the TextArea component in my movie, which I want to customise. I want to set the text's background to be white (which it already is) but to also be semi-transparent (i.e. _alpha = 50ish). How is this acheived? I've used... _global.styles.TextArea.backgroundColor = ...more >>

Reducing the Font size in Combo box
Posted by Bhanu Shankar at 11/29/2005 11:52:15 AM
I am using Flash 8. I have some text in my combobox. Its too big compared to the other static texts on the screen. Can anyone help me in guiding me to reduce the font size of the combo box?...more >>

Help with flash
Posted by subucni421 at 11/29/2005 10:27:46 AM
Can anyone give me any tutorials on this: i want to make a snooker ball and have it roll across the screen, and as it rolls text appears after it Could anyone put me in the right direction, please? Thanks in advance ...more >>

contextmenu and tree component
Posted by jakepeg at 11/29/2005 10:24:50 AM
hi I want to be able to attach a custom contextMenu to nodes on a tree component, so that when the user right clicks on a node, a custom menu appears and clicking on a menu item returns the id of the selected node to an event handler. is this possible? ...more >>

Flash 8 support type defined in WSDL?
Posted by troublewater at 11/29/2005 10:23:35 AM
I am try to consume a WSDL in Flash 8 using Web Service Connnector.That WSDL include a simleType definition for status, including 2 enumeration restricton, like attached Code. Seems WSC stripped this simpleType and deem 'status' as String, but not "s:StatusType" as described. While testing in ...more >>

Default Selection in Combobox
Posted by Bhanu Shankar at 11/29/2005 10:19:38 AM
My Combo box has 3 items, "None", "one" and "two" I want the default to be "One" which is displayed when I run the Flash, but the order of the dropdown combo box should be "None", "one" and "two" itself. Please help me in doing this. ...more >>

Problem with sending data to database
Posted by surfinnetje at 11/29/2005 10:14:26 AM
Hoi I'am working on an inquiry in Flash MX2004 pro. I've put all my radiobuttons and checkbox variables into an array. I did it like this: ComponentsArray = new Array listener = new Object(); listener.click = function(klikevent) { trace(klikevent.target.selection.data); Component...more >>

How to use the "Print Screen" key for on keyPress
Posted by MWGum at 11/29/2005 2:21:21 AM
I want to use the ?Print Screen? key in an on keyPress command. I want it so that when the print screen key is pressed it goes to a certain frame. ...more >>

Flash to ASP.net
Posted by LTbese at 11/29/2005 1:57:36 AM
I am trying to do navigation of an asp.net website from Flash. To accomplish this, I have added the following code to the flash buttons. on (release){ _level0.stateName="Minnesota"; //setting a dynamic text field to show the page you are on in the flash file _level0.loadvariables ("natio...more >>

several enterFrames at once piling up?
Posted by rhubarb pie at 11/29/2005 12:00:00 AM
I have several (20) movie clips on the main time line. I am initiating an onEnterFrame function for each individual clip to fade up from zero alpha in a time controlled fashion so they come up slowly, and in a staggered fashion. I have no problems with writing any of the code to do this, but t...more >>

Transition Manager and Dynamic Text
Posted by AdamCG at 11/29/2005 12:00:00 AM
I'm using the transition manager to very cool effect with a variety of symbols, fading in and out when prompted by button events and homebaked functions. Early investigations with a symbol containing a dynamic text field only 'popped' on or off, not fading at all and I assumed it simply didn't...more >>

Preloader Concepts...???? Not clear...
Posted by Centerpoint Computer at 11/29/2005 12:00:00 AM
Ages ago I built a basic site with a pre-loader that was incorporated into a scene that was before the main scene. Am I to understand that I can have a preloader in my library that will be called EVERY time an external source is loaded into my flash document? Does the code for this reside...more >>

Understanding when to us attachmovie() as opposed to the timeline...
Posted by Centerpoint Computer at 11/29/2005 12:00:00 AM
In the past, I had created frame labels on a labels layer and had loaded most of the content for the first page of the site (all flash site) and then used the on(release) on the buttons to target those labels. Once the timeline moved to the correct label, the movieclips on the stage would ini...more >>


DevelopmentNow Blog