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 2006 > threads for friday november 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

Different behaviour in local and remote clips
Posted by CaptnRickits at 11/10/2006 11:25:49 PM
I'm in the process of writing a flash framework that is used to load other swfs in as 'applications'. The framework provides a simple API by attaching some functions to the _root, so that loaded applications may call them using _root.whatever(...). This is all working beautifully.. except ...more >>

ending a php session w/ a flash btn....
Posted by hutch-diggens at 11/10/2006 11:12:02 PM
hello, I have a flash header with a log out btn--I was wondering if it is pssible to end a session with this flash btn? or if it is possible to link the btn to a php file that ends the session then sends the user to a new page? thanks, hutch ...more >>

Trace all actions
Posted by Wiserd at 11/10/2006 11:06:58 PM
I want to trace all actions as they are executed. Currently, I do this manually. "Entering so and so function, trace each line" etc. Is there a faster way?...more >>

Trace all actions
Posted by Wiserd at 11/10/2006 11:06:55 PM
I want to trace all actions as they are executed. Currently, I do this manually. "Entering so and so function, trace each line" etc. Is there a faster way?...more >>

Removing Undefined elements in arrays
Posted by VinceVaughn at 11/10/2006 11:03:15 PM
Anyone who can help, will go down in history as my (pretty much) ultimate hero... Ok, here's the deal: I'm populating a combobox with data from an array. The array is created dynamically from an XML file. It all works beautifully, except for that I have some undefined values in my array...more >>

SWF wont play when loaded
Posted by RAA2 at 11/10/2006 10:33:34 PM
Using loadMovie, I've loaded an SWF file into a new movie. The SWF doesn't play once its loaded. The SWF is a siide show using prevFrame and nextFrame to advance the images. It works fine by itself but won't advance when loaded in the new movie. Any help would be greatly appreachated. ...more >>

Pause control
Posted by brentam at 11/10/2006 10:24:55 PM
First, thank you for your help. I receive this actionscript, which I have working. However, I would like to added a pause control in the script. For example, there are 5 rotating images and when you hover over the image, I am wanting it to pause until your cursor moves off of the image. I've i...more >>

Flash, XML & Embeded Text
Posted by webernir at 11/10/2006 9:47:58 PM
Hi... I'm Importing some text from a XML file. The decoration comes from a CSS file. Everything is working just fine- But only if the dynamic textField is using the Device Fonts. I want to Embed the fonts but when I do so the text can't be seen. Does Flash can't embed text that was imp...more >>



textfield problem
Posted by realifreebie at 11/10/2006 9:35:59 PM
1. cat_txt is the text on the button, and bg is the background of the button. 2. the width of cat_txt is dynamic, because the value is a variable. the button size is fixed. 3. i want each text always appear at the center of each button background. anyone has any good suggestions? /...more >>

Looping rollover button actions
Posted by Madball19 at 11/10/2006 9:06:24 PM
Ok, so at the end of this code you will notice that I am trying to bring certian MCs up to alpha 100 when I rollover another dyanamically created MC. To get an idea, it is a gallery script that displays numbers from 1 to total amount of images for each thumbnail. I was wondering if anyone had ...more >>

How to get Instance Name onRollOver
Posted by dragonsens at 11/10/2006 8:47:51 PM
I have 10 Movie Clips and I gave all of them different instance names. when I roll over with the mouse I have the alpha go to 100 when I roll out it gos back to 50 ai_computer_01_mc.onRollOut = function() { this._alpha = 50; }; network_computer01_mc.onRollOver = function() { ...more >>

saving information on a server
Posted by nexposure at 11/10/2006 8:42:47 PM
How do you save information so that everytime you go back to that website or refresh the page the information is updated? Something as simple as recording site visits so that everytime the swf runs it adds 1 to the total number of visits? Would this have to be done in external actionscript o...more >>

textfield problem
Posted by realifreebie at 11/10/2006 8:39:37 PM
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-= // Generate menu //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-= function generateMenu() { var menu_x=43; var menu_y=128; for...more >>

Re: Simple Action Script Question
Posted by mouser at 11/10/2006 8:36:48 PM
Here's what I do. I am in Symbol Mode. I go to Action Script, Global Functions, Timeline Control, stop( ); (with the semi-colon). When I test, the movie clip does not play. I'm sure there is something else I have to do or another cue in Action Script to play it first? ...more >>

Simple Action Script Question
Posted by mouser at 11/10/2006 8:10:10 PM
I want to do a simple 30 frame fade up of a logo. I converted the graphic to a symbol and did the transition. But I want the fade up to STOP after 30 frames. Now, it keeps repeating. I believe you can stop it with an Action Script command, but I don't know which one. Help. ...more >>

Hello, help on action script please.
Posted by Xavier31 at 11/10/2006 8:05:37 PM
Hello, I heed some help on creating a button in flash,I need the steps to create a button that links to a website. Thanks in advance....more >>

Help please with a script error
Posted by linzi007 at 11/10/2006 7:58:55 PM
I have the following error **Error** Scene=Scene 1, layer=actions, frame=1:Line 47: Unexpected '}' encountered } // end while Can anyone tell me how to fix - script is this; TotalRubs = "7"; RubHeight = getProperty("Rub", _height); SubrubHeight = getProperty("Subrub", _heig...more >>

Problems with a class
Posted by JimmySlam at 11/10/2006 7:25:22 PM
Hi i have problems to execute a class constructor: I have in the fla this code: *****fileUploader.fla****** var uploader1:fUploader = new fUploader(); ********************** and then i have a class in the same folder of the fla and i have this code: *****fUploader.as*****************...more >>

Random FlV
Posted by german01 at 11/10/2006 7:06:04 PM
Hi: I'm trying to randomly load a set of 10 short videos. I have an instance of FLVplayback on the stage named my_video. Here is the script I used, which loads the first video randomly. However, after the first video finished, no other video is loaded. var VideoArray = new Array(); V...more >>

Creating a class using other classes...
Posted by JimmySlam at 11/10/2006 6:07:21 PM
Ok i am creating a class that includes file Reference but i cant make it to start working... What do i do wrong??? //file starts here: import flash.net.FileReference //System.security.allowDomain(path); class fileUploader { private var fileUpload : FileReference = new FileReference (); ...more >>

Scritping help with loadMovie
Posted by MartinItsMartin at 11/10/2006 5:12:29 PM
HI everyone, I have some script which loads a movieClip into a /blank one onRelease, but can I get the movie clip that loads to go a ceratin frame label ? I'm sure I can, I'm just a bit lost, any ideas would be gratefully recieved. Thanks for your time in advnace. Martin ...more >>

Help: Depth Issues
Posted by ElectricMonk at 11/10/2006 4:34:31 PM
Alright, I've been working on the following for our client, however, the grey bar in the file should sit over top of the carousel, but doesn't, regardless of depth. any help with this would be greatly apperciated. http://www.otishuck.com/clients/coffeeconcept/ccBuild_v2.rar stop(); //I...more >>

Creating xml lists with links
Posted by rjacobsen at 11/10/2006 4:03:29 PM
I was able to create a list component in Flash 8 and load the items from an xml file, but I can't figure out how to make each line clickable in order to work as a link. The code used to populate the list is: form = new Object(); form.load=xmlConn.trigger(); The xml file is something like: ...more >>

Button links to different scenes
Posted by johndowgin at 11/10/2006 3:06:43 PM
Hey all, This is so basic it's almost embarassing to post about, but I'm in a pinch and can't for the life of me figure out what's wrong... I'm using MX Professional 2004. My movie has four scenes; "Main" which plays on load, then three other scenes: "Whitepapers", "Products", and "Broch...more >>

Downloading...
Posted by Friendlybeard at 11/10/2006 2:42:49 PM
Hello, Wonder if anyone can help me on this one... Say you create a picture gallery in flash - how would you then enable the user to download a picture? All I want is a button that brings up a windows (or whatever) download window, so that the user can download a picture onto their ...more >>

referencing movie clip not same with different Flashplayers?
Posted by raylaur at 11/10/2006 2:40:42 PM
This code is based on the _droptarget info in the Actionscript 2.0 language reference. It works when published fro Flashplayer 6 but breaks in 7. I've isolated the problem to the "if" condition. Player 7 doesn't seem to recognize the equivalence of the names. But when debugging with Trace, the...more >>

button mouseOver sound problem
Posted by QuantumDynamix at 11/10/2006 2:23:34 PM
I have searched the forums and interweb to see if I can find somebody complaining of this problem before, but I can't seem to find anything. What I have is a handful of buttons on the stage that play a sound on rollover. At first, I simply had this sound placed in the over state of the ...more >>

help with loader component
Posted by salliemae06 at 11/10/2006 2:18:54 PM
i have a loader component on stage to load external jpeg and in front of it i have a square with fade-in animation applied to it. How do i go about telling flash to play that animation only after the external jpeg image is fully loaded? ...more >>

Removing Movieclip
Posted by VaporAction at 11/10/2006 2:18:20 PM
Is there a way to remove or delete a movieclip that has not been attached via the attachMovieclip or duplicateMovieclip methods? I thought I remember something about just needing to place the mc on a positive numbered depth level... ...more >>

using diferent font sizes in a tree componnet
Posted by Pluda at 11/10/2006 2:15:28 PM
Hello, I need help custumizing my tree component. I've spended my last 3 days searching for a solution to have my branches using fontsize = 16 and their childs using fontsize = 12. Do you have any idea on how to achieve this? I've tryed many things in the tree.as, list.as, treeRow.as...more >>

Actionscript in text file?
Posted by TaoHunter at 11/10/2006 1:44:44 PM
I've imported a text file into a nice scrollin text field. I can put in regular HTML links no problem. But now the question is: Is it possible to execute actionscript from that file as well? What I need to do is if someone clicks a word in the file (like a regular link) I want to load ...more >>

Web Service Question with custom event
Posted by alewis2006 at 11/10/2006 1:43:37 PM
Ok,I have two files I am working with.(My Custom AS Class,and the core flash movie that will use this file).I am connecting to a webservice using my AS Class known as MyWebUtility .In the MyWeb Utility class I have a custom event known as DataFilled.THis is used when the service is returned so...more >>

Problem using with()
Posted by KylieJebb at 11/10/2006 1:00:17 PM
Hi, Can anyone help me here? I am pulling my hair out trying to get this code to work. When I test the following code I get a Error: A 'with' action failed because the specified object did not exist. problem. I can't see what is wrong. My three images display however the rollOver bi...more >>

Sound() and binary data
Posted by Fabien Penso at 11/10/2006 6:14:08 AM
Hi. I'm playing with Flex/AS3 a little, and I can't find how to do the following. I fetch a mp3 files through a homemade process using sockets, and I have the binary in a String somewhere (i'm not sure there isn't a better way to store it). I have the data, and I'd like to play it, but the So...more >>

Math.random dropping off a decimal place
Posted by twistedpancreas at 11/10/2006 4:33:02 AM
hello fellow peoples, got this problem this.input1.text = Math.round( (0.140 + Math.random() * 0.040) * 1000 ) / 1000; sometimes this gives an answer of 0.14 or 0.15, etc, etc... is there anyway to make it not drop off the end 0, ie it should be 0.140, or 0.150 (got a very specific...more >>

Aaaagh! Flash Presentation subnav buttons
Posted by mhilliard at 11/10/2006 2:07:55 AM
I've created a slide presentation about 80 slides long and have built a nifty chapter button navigation... but I can't figure out how to designate specific slides/pages in the buttons. I've tried _root.gotoAndPlay(slideNameHere) in just about every configuration I can think of for the pas...more >>

opposite color
Posted by jonnybennett at 11/10/2006 1:21:13 AM
Does anyone know of a clever way to get the opposite of a color. http://www.colortools.net/color_complementary.html There is an example here. However it doesn't use actionscript, infact I don't know how they have done it, but maybe some clever person here may know of a way to do this wit...more >>

Controlling Movie Clip with actionscript Question
Posted by Ozhee at 11/10/2006 1:20:06 AM
Dear All, I have a movie clip named A which inside this movie clip there is another Movie clip named B and inside B there is a listbox component. Inside Movie clip A there are 20 frames which at frame 10 there is a stop() script. My question is how to control Movieclip A to run gotoAndPl...more >>

attatchmovie help
Posted by Madball19 at 11/10/2006 12:49:05 AM
I have a loop creating movieclips that count to the number of images I have in an xml file. When you rollover "1", I would like it to show the first thumbnail defined in the xml file. This script however, only lets me rollover the last number (because its the last number in the loop). So...more >>

partial xml load
Posted by clrk at 11/10/2006 12:41:28 AM
Is it possible to load specific xml nodes instead of loading the entire file ? ...more >>

Help: SWF Always on top question.
Posted by nimdivino at 11/10/2006 12:17:20 AM
Hi guys, been a while that I posted here. I even forgot my log-in.. Anyway, I have this problem with our PDF buttons, so my idea is to create a flash movie with menus that opens up a list of .PDF files using Adobe Acrobat, and the flash file will ALWAYS be ON TOP of the application. Basical...more >>

input text field
Posted by nice dice at 11/10/2006 12:00:00 AM
Hi , im getting a flash form together for an estate agent and i've hit yet another problem. Kglad was kind enough to help me out last time with some A.S. for randomly selected checkboxes to appear in order. Now I've slightly modified the script to work with the form and it does but i've tried ...more >>

XML...???
Posted by thejokerman05 at 11/10/2006 12:00:00 AM
Please have a look at my xml code below. I've managed to get all the "mainTitles" into an array called mm_array. Now I need to get all the "subTitles" under "main 1" into an array called "sm1_array", "subTitles" under "main 2" into an array called "sm2_array" and so on. I twist my brain on thi...more >>

character problem please help
Posted by dave at 11/10/2006 12:00:00 AM
Hi This has become an urgent problem today, please could someone shed some light! I am having problem with the character "Ö" Flash seems to think that this has the urlencoded value of %C3%96 but when I use server.urlencode in my asp page that supplies the value, it sends %D6 which f...more >>

controlling flash component via javascript
Posted by jupiter100 at 11/10/2006 12:00:00 AM
Hi there I need to be able to control the ,mediaplayback component that ships with mx proffessional. All I need to to is enable the component to play different video files that are selected by an html link. As a test i am able to use the setMedia method within the flash envioment, this ...more >>

sound
Posted by fl1691 at 11/10/2006 12:00:00 AM
Hi, can anybody tell me, why this works when I test the movie but not if I start the swf? Because this is just a test, there is nothing else in the movie. thx! // frame1 var my_sound:Sound = new Sound(); my_sound.onLoad = function(success:Boolean) { if (success) { pl...more >>

how to "turn off" a button
Posted by gringito at 11/10/2006 12:00:00 AM
Is there any way how to "TURN OFF" a button by AS? I mean keep the button _visible just make it not react like button (no on roll over, on press behaviour). In reality, I have semi transparent menu and there might be a case when there will be some stage buttons under my menu. I need keep the s...more >>

how to make sure that CSS is loaded
Posted by gringito at 11/10/2006 12:00:00 AM
and I have on more question: How can I make sure that CSS has been loaded? I have a dynamic textfiled which loads CSS and HTML page. I would like to show the text AFTER the CSS is loaded. I use this code, from Macromedia Help: var myVars_lv:LoadVars = new LoadVars(); var styles:Tex...more >>


DevelopmentNow Blog