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 > september 2005 > threads for friday september 30

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

detecting a group of selected words in a string
Posted by shabazz05 at 9/30/2005 9:33:52 PM
I have a text field with about 5 lines of text. Is it possible to have the user select any given word on any given line and change the font color of just that word? Or does anybody know how to detect the first and last character of a selection? Example: "The quick brown fox jumped over...more >>


how can I get similar effect
Posted by bundas1000 at 9/30/2005 7:50:07 PM
I would like to create a similar animation (video perhaps) for my site, where two hands will manipulate a product about the same size: http://www.hi-au.jp/ I would like to get some tips on it. Thanks, ...more >>

Deleting Sound Object onID3 Crashes Browser?
Posted by SandyCooke at 9/30/2005 7:35:47 PM
Hi experts This code works if the browser has Flash Player 8 installed but crashes browsers with 7: var tempSound = new Sound(); tempSound.onID3 = function(success) { if (success) { delete tempSound; } }; tempSound.loadSound("../assets/mp3s/Toxic.mp3", true)...more >>

Setting volume of multiple sound objects
Posted by paulpsd7 at 9/30/2005 7:25:43 PM
I've got a Flash piece with multiple sounds which I'm using as sound objects. I've defining the sound objects like this: rollover = new Sound (); rollover.attachSound ("rollover.aif"); buttonsIn = new Sound (); buttonsIn.attachSound ("buttons_in.aif"); Then, from ot...more >>

gotoAndStop(scene_variable, 1); ???
Posted by forumnotifier at 9/30/2005 7:17:36 PM
gotoAndStop(scene_variable, 1); if I do this I get an error saying the first value must be a quoted string, but if i type it as "scene_variable", it looks for a scene called "scene_variable" anyone know how to do this??? ...more >>

gotoAndStop(scene_variable, 1); ???
Posted by groovything.com at 9/30/2005 7:17:34 PM
gotoAndStop(scene_variable, 1); if I do this I get an error saying the first value must be a quoted string, but if i type it as "scene_variable", it looks for a scene called "scene_variable" anyone know how to do this??? ...more >>

How do you think they are doing this?
Posted by uberlame at 9/30/2005 7:08:41 PM
Check out one of the vids here: http://sofrenchysochic.com/ There's a "slow" button that appears to halve the frame rate and slows the audio without affecting pitch. No clue how they achieve this within Flash. Thanks! Danny ...more >>

on (rollOver), how do I fade?
Posted by Centerpoint Computer at 9/30/2005 6:14:15 PM
Using actionscript, I have adjusted the alpha of a movie clip when I rollOver it and restored it when I rollOut. It is an abrupt change: on (rollOver) { this._alpha = 50; } on (rollOut) { this._alpha = 100; } Now I'd like to adjust the script to fade the alpha from 100...more >>



Dragging Something To An Area
Posted by AwesomeDigital at 9/30/2005 5:44:53 PM
I am thinking of building something where it is a snowman and the user needs to drag all of the pieces to the right place. I am not sure how to check if they are close to the area where it should be. If they were close, then I would like to snap the piece into place. Could somebody toss ...more >>

animation lags behind sound, when in .html
Posted by Nicky at 9/30/2005 5:07:28 PM
I have a flash animation, which uses external .mp3 file as sound source. It all works fine, untill I put my flash animation into .htm document. Then animations lags 2-3 seconds afther the mp3 sound throughout whole animation. where is the problem ? ...more >>

Scripting Filters
Posted by nintybloke at 9/30/2005 4:55:58 PM
I'm currently creating a flash game in Flash 8. I'm using floating windows, like we all know from PC's.. I added a dropshadow filter to this window, but I want the dropshadow to increase distance when you drag it, so it seems like you actually 'lift and drag' it. Would I be able to script ...more >>

Targeting problems?
Posted by missus_ebb at 9/30/2005 3:33:10 PM
This problem is completely baffling me. Maybe its me just being dumb and overlooking something really easy but right now I just can't see it. So if anybody can spare a few minutes, please take a look and help me out. A mock fla is here I've got a movie clip on the main timeline ( called "m...more >>

Actionscript/xml problem
Posted by PaulBill at 9/30/2005 3:10:28 PM
Hi I am currently building a Flash site, a sample page of which can be viewed here; http://www.cream-ink.co.uk/CreamInkTest As you will see, the images that scroll along the bottom are working fine and if you click one, you get a larger image above. My problem is this. You'll se...more >>

If Statement for sound
Posted by Cotolay at 9/30/2005 3:02:46 PM
Hello i am having problems with a simple if statement.. i have a project with some sound, and i have different frames for the content of the project. there is a background music, and i made the background music stop on one frame. i want the background music to continue when i click on the link...more >>

.nodeValue returns null
Posted by DJ James at 9/30/2005 3:01:12 PM
I did a search and found only one other person having this problem, but I guess he figured out a differnt way to do what he wanted. I am pulling an rss feed from weather.com and trying to get values from the xml file it returns. here is part of the rss feed's xml return: - <cc> <ls...more >>

PHP/FLASH further genius required
Posted by jonnybennett at 9/30/2005 3:00:46 PM
Okay, you have probably noticed by my scripting that I am new to any type of coding and I am trying to run before I can walk, so you?re help is much appreciated, which brings me to second point thanks to everyone who posted a reply especially Kglad whos coding solved an earlier problem with th...more >>

Use shared font in library with external css ???
Posted by SteveStall at 9/30/2005 2:52:48 PM
Hi there, Is there a way to use my shared fonts from from my library with an = external css text configuration? Thanks in advanced, Steve...more >>

Check Boxes and Tree Component
Posted by realtime158 at 9/30/2005 2:31:45 PM
I was wondering if there is a way to add a checkbox to the tree nodes if you are loading the tree data via XML Please let me know thanks and any links to samples would be grateful. ...more >>

Buttons & Effects
Posted by wahtever at 9/30/2005 2:29:10 PM
Hi, I'm pretty new at flash but I understand most things easily. I found this site (www.kirsten-dunst.org) and I was wondering how to make the effects on the main graphic. Also if you look over at the left panel where it says Members Login, there are three images that are rollover buttons. Cou...more >>

Combo box issue
Posted by apodkolinska at 9/30/2005 2:19:52 PM
In my interface i am using an Accordion component and on one of the tabs i have a combo box. All other components appear to work fine but the combo box does not open when i compile the movie. Can anyone give me a hint why? ...more >>

AttachMovie and UnloadMovie? HELP
Posted by headonBackwards at 9/30/2005 2:19:49 PM
Dear all, There is lots of stuff about unloadMovie, but I cannot get this to work.... I have an overlay that comes up on top of the flash app using:- onClipEvent (load) { this.loadVariables("companypage.txt"); } and want to close it when you click on any button underneath the o...more >>

Expandable Dynamic Text?
Posted by headonBackwards at 9/30/2005 1:36:45 PM
Dear all experienced & less-experience, Does anyone know why a Dynamic Text box/field/area is not expandable? I have a dynamic text area that will contain text that is editable from a content management system. I have just found that if the dynamic text box I create is not long enough to...more >>

best proloader choice??
Posted by Vertine at 9/30/2005 1:27:37 PM
It seems there are a ton of ways to do a preloader. The frist kind i ever learned was a simple loop that kept the user informed about the amount of bytes loading with a dynamic text field and a bar set to scale. Recently, i saw a preloader that was its own external .swf file....is there an adv...more >>

How to continuosly read a var without frame loop
Posted by adkin at 9/30/2005 12:58:11 PM
well i have a ComboBox with 3 fields and a dynamic text box in witch i want to display the current var selected in ComboBox. I can do that but only if i loop between two frames. Is there a statement that loads continuosly without the frame looping thing? Thanks. ...more >>

PopUps (again!)
Posted by darrenmccann101 at 9/30/2005 12:29:56 PM
Hello all. Is there a way to create a Javascript popup window (set size - no buttons, etc) that is activated from a text link rather than a button, like in Dreamweaver? With this particular project, it really isn't an option to use buttons! I don't know how to custom script, so if anyo...more >>

Go to start of movie
Posted by Mintyman at 9/30/2005 12:09:02 PM
Hi, I a new to Flash and need some help. I have a flash file with an image (within a movie clip) at the top and buttons below. When I mouseover each button the movieclip above is set to visible. The movie clip plays ok but when I rollout of the movie and then back on to it, the movie does n...more >>

loading multiple xml files in flash
Posted by musibest at 9/30/2005 10:50:58 AM
hi i want to load multiple xml files using a loop. suppose i have five xml file plan1.xml, plan2.xml.........plan5.xml in a loop i want all this xml files to be loaded in flash can any one help ...more >>

classes within classes
Posted by betablocker77 at 9/30/2005 9:21:55 AM
I will be brief. I have a very nice little class for generating labels. This class attaches mcs at runtime for various parts of the label (text, background, drop shadow). All of these elements make up a dragable, fully customisable label. HOWEVER, now I have added a little 'close' button, agai...more >>

nest a movieclip to another at runtime?
Posted by foutuguy at 9/30/2005 8:09:43 AM
Hello, I am trying to nest a movieclip to another at runtime. I tryed to do that with attachMovie but it did not work. Here are the details : I have 3 MovieClips: MovieClip A, which contains 6 MovieClips (A1 to A6) MovieClip B, which contains 6 MovieClips (B1 to B6) MovieClip C All M...more >>

Trouble with simple script to change alpha on a button
Posted by Centerpoint Computer at 9/30/2005 8:03:55 AM
I have the main timeline with a movie clip in frame 1 with an instance name of thumbs_mc. That movie clip contains 3 instances of another clip, each named with an instance name. thumb1_mc, thumb2_mc, thumb3_mc, etc. I have loadMovie script on frame one of the timeline for thumbs_mc which l...more >>

swf in browser cache - checking
Posted by vawaver at 9/30/2005 6:06:55 AM
Dear friends, I apologize if there is some similar topic as mine. My problem: I am loading file external.swf to main.swf via button in main.swf. But if I change something in external.swf and upload this file on ftp, my browser (FF, IE) still uses "original" external.swf that was loaded p...more >>

How to pass a variable with an ampersand in it
Posted by Rich Capone at 9/30/2005 5:35:50 AM
Does anyone know how I can pass a value into a swf file via the HTML when one of the variables is a URL with an ampersand in it. i.e. See my example below... myswf.swf?variable1=9393&variable2=abc&variable3=http://www.def.com&urlvariable1 =393 I want to pass variable3 to flash but the...more >>

adding data in xml file
Posted by gaurav_ch at 9/30/2005 4:41:56 AM
i want to know that can we add additional data in an existing xml file from flash? i know that we can retrieve the info from xml file but i dont know whether i can add also. i am a beginner so please bear with me. thanks. ...more >>

an array of objects... HOW?
Posted by Daniele at 9/30/2005 4:10:03 AM
what i'm tryng to do: function MYOBJ(uno, due, tre){ this.uno = uno; this.due = due; this.tre = tre; } sand = new Array(); sand[0] = new MYOBJ("v1", "v2", "v3"); sand[1] = new MYOBJ("a1", "a2", "a3"); sand[2] = new MYOBJ("x1", "x2", "x3"); but sand[0], san...more >>

Defining a dynamic text field via a _global variable
Posted by LSNsaltlamp at 9/30/2005 4:04:01 AM
I want to set the value of a dynamic text field to be the same as a variable. I've tried: error1_txt.text = _global.cb1; where error1_txt.text is the dynamic text field and _global.cb1 is the variable. But this isn't working. ...more >>

Flash Zoom-in bug?
Posted by maulia at 9/30/2005 2:47:01 AM
Well to make the wording easier, I copy-paste someone else's question with the same problem: I try to scale a dynamic textfield with a zoom button. The Text scales with the field as intended. But now the big Problem: The word-wrap changes with each zoom step, so sometimes a word is i...more >>

Preloading external .swf
Posted by WickedSense at 9/30/2005 2:13:20 AM
Hey guys, I am amateur to actionscript and just starting to build preloaders. I borrowed this code from the Flash MX Bible. It is supposed to be updating a text box and bar._xscale in respect to the loading .swf file. Instead my text box says NA / 0 % NA KB Loaded. If I click just after th...more >>

loadMovie() in Flash 8 not working
Posted by ejtrombley at 9/30/2005 1:42:31 AM
I have an application that loads a graphic mask on a guitar. The user can define the image they wish to load, either from a jpg file local to the hard drive or a jpg file hosted on a web site. This is the link. Click the "Graphic" radio button to use the feature described above: http://...more >>

Finding Height of Image
Posted by gvbrown49686 at 9/30/2005 1:28:39 AM
Hi, I'm creating a series of images using createEmptyMovieClip, then loading the jpeg dynamically. I need to find the width / height of the loaded jpeg. using the _height property always returns no value. Is there a way to find the dimensions of a dynamically loaded image? ...more >>

Sending a _global variable to PHP
Posted by LSNsaltlamp at 9/30/2005 1:19:43 AM
I have a variable in my mc defined by: _global.cb1 = "yes"; I have another bit of code that sends the information of text boxes to a PHP file. Where name_txt.text is the text form the text feild name_txt. ect. I want to send "yes" as the value for cb1 to my php file. message.cb1 = _globa...more >>

Using action scripting to type in a movie
Posted by Magic Toe at 9/30/2005 12:55:22 AM
I?m trying to figure out a way to make a movie clip with action scripting in it where I can type in a sentence and have flash type it out for me. I found this text effect generator that uses texto= ?{insert text here}? but theres alot of code I dont understand. I don?t know how to place it i...more >>

Mp3 load, later assign ID name. is that possible?
Posted by temptationxy at 9/30/2005 12:00:39 AM
I want to load mp3 file in my swf.Normally i use Sound.loadSound() action. But i want to use this mp3 with sound.attachSound() action. therefore i need one ID name. in this instance can i assign ID name for this mp3? ...more >>


DevelopmentNow Blog