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 > december 2004 > threads for monday december 6

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

projector
Posted by nick81 at 12/6/2004 10:34:54 PM
hello...does anyone know how i can pass parameters to a flash projector? I want to be able to pass parameters just like you can when using a .html and .swf together. i hope someone can help. cheers. ...more >>


for loops
Posted by Brian at 12/6/2004 10:26:18 PM
I was trying to fade a MC from alpha 0 to 100 and back to 0 with on and out states of a button. I am using the following AS containing a for loop. It seems to work fine, but it goes so fast that there seems to be no fade. How can I slow this down. Preferably, I would like to use AS only. Her...more >>

movie load
Posted by wonder318 at 12/6/2004 10:20:19 PM
I'm creating my first portfolio site with flash and I'm having some trouble. I have my first level of my site divided into scenes (contact, about, portfolio, ect) and my portfolio page has buttons dividing it into 4 different sections of my portfolio, (print, web, ect.) These buttons load di...more >>

PHP xml_parse from $HTTP_RAW_POST_DATA
Posted by ks_ces at 12/6/2004 9:37:59 PM
I have successfully gotten PHP to parse the template XML that Flash will be sending it from a file. Now I need PHP to read the information from $HTTP_RAW_POST_DATA rather than a file. Here is what it looks like when getting the XML from a file: $xml_parser = xml_parser_create(); $ctest...more >>

I give up...
Posted by Krogman at 12/6/2004 9:27:10 PM
Good Day I'm brand new to the whole Flash remoting idea so I worked through a couple of tutorials on the MM site and I think I'm very close to getting my 'Hello World' example to work. I have searched all the forums for help with this, but I'm about to give up. Can someone please explain to m...more >>

Generic onrollover listener?
Posted by mc_clure at 12/6/2004 9:02:14 PM
Hi, I have 10+ movieclip instances on stage (from symbol library). How would one return the name or any other properties for _any_ movice clip that becomes the target of "onrollover" without having to write a listener and associated function for each named movieclip instance on the stag...more >>

MediaDisplay "complete" event does not fire
Posted by kozakoff at 12/6/2004 8:49:41 PM
I am using the MediaDisplay component (v 2.0.1.78) to run a short flash (7.2) intro for a website. This is very simple, I am using the following code to open, play, and getURL, but, the "complete" event for the MediaDisplay component never fires. My media component is named "mm" and this s...more >>

Zoom listener? - please help
Posted by Ryfox at 12/6/2004 8:38:40 PM
Hey guys'n'gals I'm trying to figure out if there's a code or a listener that would execute a certain function whenever the user would zoom in or out of the document. In my head it would look something like this on zoomIn(); { execute this/that; } Is there anything of the li...more >>



levels
Posted by Vimpact at 12/6/2004 8:00:51 PM
Is something like this possible? I know the code below won't work... but I hope you get my drift. for(i=1;i<=10;i++){ ['_level'+i].gotoAndPlay(1); } Thanks, Bryan ...more >>

Problems upgrading to AS2
Posted by Gubbins at 12/6/2004 7:28:18 PM
i am currently using swf file that is ac1 but want to upgrade it as2 however my menu buttons then produce errors. i have the code in the first frame loadVariablesNum('variable.txt', 0); loading a text file with the following name=companyname&amp;slogan=slogan&amp;slogan2=slogan&amp;label=l...more >>

Button or MovieClip?
Posted by VP. at 12/6/2004 6:52:21 PM
Here is what I am trying to accomplish: row of images scrolling continually, stops on rollover, restarts at rollaway, combined with: rollover effect on the particular image of the scroll the mouse is rolled over, and larger version of that image appearing somewhere else on the page. And here...more >>

Disabling and Enabling Buttons with mutiple timelines.
Posted by PSANDBOTHE at 12/6/2004 6:39:56 PM
I am trying to disable and then enable buttons during a Load and Unload of an external SWF document. After the load the buttons become disabled. But when I unload the buttons are not re-enabling. Following are my scripts; Load Script with Disable Button Commands: on (release) { ?????lo...more >>

onclipevent
Posted by BOSTONCIW at 12/6/2004 6:39:17 PM
recode this anyone so it works? onClipEvent(0x200) { zipcode = 02128; dayID = "Day1"; } ...more >>

Linkage Problem
Posted by eklemen at 12/6/2004 6:36:48 PM
:disgust; While adding a preloader to my flash animation, I had to remove the "Export in first frame" option to my library symbols that are exported for actionscript (sounds, dynamic text fields, fonts, etc). Why now, doesn't anything work? The preloader seems to download everything, but...more >>

Hyphens and Dynamic Text Boxes
Posted by possum4all at 12/6/2004 6:17:24 PM
When I publish to a dynamic text box, hyphenated words that fall at the end of a line wrap to the next line. Unfortunately, the line breaks before the hyphen. How can I get the hyphenated word to break after the hyphen like it's supposed to? Here's what I get: well -formed And what I want to...more >>

using actionscript
Posted by nulrick at 12/6/2004 6:15:22 PM
Help! Writing actionscript is not my strength by any means.. I used to rely heavily on the 'normal' mode to help me piece it together.. now it's gone? bad decision.. especially for those who would like to use flash but don't consider themselves programmers.. so i am fumbling through how to ...more >>

detect if the mouse goes right or left
Posted by theco at 12/6/2004 6:06:37 PM
Hi. I m using the listener object and onMouseMove function this work awesome but Im trying to give a little more realty effect to my animation and to do this I have to detect in what Direction the mouse is moving, if it right or left I gues that I can use some hide mv, one in the left, ot...more >>

layers, swapDepths, loadMovie
Posted by iaustin at 12/6/2004 5:35:30 PM
This code is attached to a button located on the main time line. Al it does is attach a movie fro mte library. The code work fine. The problem is, it appears behind any previiously loaded movie using the loadMovie() command. Question: How so I get my attached movies(which are drop down menu...more >>

Global function scope
Posted by OlegH at 12/6/2004 4:40:01 PM
Hello, SWF file contains a lot of active script peacies. I want to create global function which will available in each active script peace of SWF file. How can I make it? Regards, Oleg...more >>

The order of execution the active script code
Posted by OlegH at 12/6/2004 4:21:55 PM
Hello, What is the oder of execution of activ script code while SWF file playing? Is the special document which describes the order of excution? I read SWF specification and do not find the respective information. Regards, Oleg ...more >>

loading specific scenes
Posted by ThomasPS at 12/6/2004 4:16:10 PM
I would like to script 'loadmovie' as well as start at a certain scene. Is that possible? Thanks! TPS...more >>

Dynamic Text at angles.
Posted by SplitStream at 12/6/2004 4:09:02 PM
Hi all, I am trying to create a wheel of fortune with dyanamic values being inserted into it. Is there any way to have dynamic values to be at angles. When ever I turn them a little bit, they dont' seem to show up any more. ...more >>

shared object not working in Flash Player 7
Posted by Richard Markosian at 12/6/2004 3:52:31 PM
I downloaded the example of the working shared obejct from Macromedia's examples. After applying all of the same code and funtioning to my program I found I couldn't get it to work. I discovered that the example was compiling in Player 6 and when I changed the publish settings to player 7, eve...more >>

<a href> with asfunction
Posted by Muhly at 12/6/2004 3:40:05 PM
Hello, I have a project with a dymanic, scrolling text box. Within this text box there is an <ahref> link that navigates to a new scene. This all works fine; however, all of the text after the </a> tag also turns to a hand when you roll-over it. Shouldn't only the text within the <a href> ...more >>

List Boxes and slide shows?
Posted by Tim Kline at 12/6/2004 2:45:42 PM

Stopping Sound On MediaPlayback
Posted by AwesomeDigital at 12/6/2004 1:13:53 PM
I have noticed that when I load a movie into the MediaPlayback component (with Automatically Play OFF) using setMedia the first split second of sound pops through. I suppose I could go through and make sure that the first second on all my movies is silent, but I would rather not take the extra...more >>

I know it's been asked a lot but is setInterval all it's cracked up to be?
Posted by darthmahon at 12/6/2004 1:00:15 PM
Hi, Ok I'm not quite sure if there is a better way to delay actions in flash but it seems that setInterval is the best way...unfortunately this does not work properly in my opinion, I am having nothing but problems with it... Have a look at the attached fla, only 6kb in size...now, run i...more >>

building a flash video player (not the component)
Posted by (_seb_) at 12/6/2004 1:00:09 PM
Hi all I can't use the Flash video media component because I'm not satisfied with the options (or lack of options) to customize its "skin". So I've built my own video player and controls, with a preloader. The only big problem is that I'd want the loading progress to behave the same way ...more >>

Problem with MovieClipLoader!
Posted by seenofun at 12/6/2004 12:55:24 PM
I have encountered problem while using this class. It is probably my coding error because I don't use flash so often. I wan't to load pics from same dir where is my swf. Pic names are 1.jpg, 2.jpg.......n.jpg, and I wan't my script to automaticly detect when last pic is loaded (u can see ho...more >>

ComboBox value colour change
Posted by Tim Robertson at 12/6/2004 12:50:32 PM
Hi, I have a combo box with 12 labels... I would like to make the 1rst label and the 6th label a different colour font (as these two are more like heading rather than selectable items), is this possible? Thanks ...more >>

A strange about "Loadmovie" in flash
Posted by ArFung at 12/6/2004 11:49:48 AM
Hello all, I would like to ask some strange problem i found in flash about load movie. I have try to load SWF by two difference way in action script. i ) This method can load the movie loadMovie ('/subswf01/snow2.swf', 2); ii ) but this method CANNOT load the swf movie .... swfpat...more >>

Search and replace in strings
Posted by Luka at 12/6/2004 11:22:34 AM
How can i find certain characters in a string and replace them with other characters? For example, if i have: My_car_is_red, i would replace the "_" with " " so the final string would be: My car is red. Thanks Luka ...more >>

AS2.0 will not output index 0
Posted by ra2833 at 12/6/2004 11:19:32 AM
when i do a trace or an output, of index 0, nothing comes up. please, please ask if i need to give you more details: my button in my index.fla file (output is on differen window, but same stage) [CODE] on (release) { var m = new Main(); var array; array = m.creat(12); m.push(...more >>

simple question on Text
Posted by ra2833 at 12/6/2004 9:31:45 AM
can anyone tell me what the syntax is in ActionScript 2.0 to send text from one button to a text window? all on the same stage. thx Hector...more >>

How to make a Set(collection of the same ordinal type values) in Flash2004 profectional?
Posted by JoeMok at 12/6/2004 9:18:15 AM
For example, we can set it in Delphi by: type TIntSet = set of 1..250; var Set1, Set2: TIntSet; ... Set1 := [1, 3, 5, 7, 9]; Set2 := [2, 4, 6, 8, 10] And I asked a question that how to add type like that: Type Tdir = (East,South,West,North); Jeckyl gives an answer: best to...more >>

Cursor
Posted by Kishore G P at 12/6/2004 9:15:19 AM
Hi All, Could someone tell me how do I change the Arrow to I-beam cursor through script. I.e., like the one when over a text field. I need it over a movieclip Thanks in Advance...more >>

textbox resize
Posted by olally at 12/6/2004 6:58:05 AM
hi there i have a textbox(not the UI component) on the stage of type input and multiline with instance name label_txt and width 245 and i have written a change handler for the textbox. the purpose is when the text entered into the textbox exceed the width of the text box for each line th...more >>

quick help
Posted by ra2833 at 12/6/2004 6:12:49 AM
mybutton is simple one layer. the code on mybutton is: on (press, keyPress "<Enter>") { (main.createArray(100)); } i have a different file named main.as. this file has the following code: var size = 0; function createArray(size){ var Price = new Array(size); } c...more >>

Having problems learning action script...
Posted by dross202 at 12/6/2004 5:24:33 AM
I understand flash well enough to use the timeline, draw or create images if i need to but havent grasped actionscript yet. I've created some header flash movies for some basic html pages but would like to design a whole site with Flash... You guys know any good, easy to understand beginner w...more >>

guest book only shows the last 6 enteries
Posted by ovesal at 12/6/2004 5:04:47 AM
I have a flash, php guestbook that doesn't work the way it should. when I run the flash interface only 6 enteries are viewed but when I look up in the php file all the enteries are there. the action script I use to load form the php file is: loadVariables('guestbook_get.php', this, 'GET'); a...more >>

Silly Q. about movie clip
Posted by hautvoltage at 12/6/2004 4:41:57 AM
Just so you all know, I'm insanely new with Flash... I have 2 clips that I made, and I want them both to be on the main page, but want only the second clip to run after the first one is done. How does one check to see if the clip is done doing it's thing? Thank you ...more >>

Preload not working
Posted by 914_6 at 12/6/2004 4:21:03 AM
Hi to all, ive tried 2 way of doing a preloader: 1- the label one 2- the math-round one Neither one is working. When i am attaching the codes to a new file, it works. But back to my working file, its not. All i see is the end of the preloader. I have an attachSound action at the beginning of...more >>

simple animation logic question
Posted by XMLgirl at 12/6/2004 3:28:10 AM
MC moves back and forth from side to side. How do i stop it? I tried for so long, and can't think anymore: var movement = 10; onEnterFrame = function () { if (_x<=0 || _x>=550) { movement = -movement; } _x -= movement; }; Thanks ...more >>

loading progress AND play progress bar
Posted by (_seb_) at 12/6/2004 2:44:23 AM
Hi all A while ago I tried to build a simple video controls, so that I could have both a loading progress bar and a Play progress bar at the same time, i.e. so that the video can Play AND load at the same time and show both progressions at the same time. Exactly like Quicktime. The problem i...more >>

Newbie needs help- math problem
Posted by BigDaddy at 12/6/2004 1:50:49 AM
Hi I'm a Director novice trying to duplicate a working project in Flash. I've tried to take a string from four fields to get a math answer. In Director, I have: answer = (float((((fieldA * 1000)/fieldB) * fieldC)/60)/fieldD). Any help will be appreciated. Thanks ...more >>

How to make a new type in Flash 2004 profectional??
Posted by JoeMok at 12/6/2004 1:25:28 AM
:clock; I want to make a new type in Flash, but it seems that there is no way to make it. In delphi, we can add new type by: Type Tdir = (East,South,West,North); end; Does anyone know how to make that in Flash? ...more >>

Right way to increase Stage height
Posted by stilldrunk at 12/6/2004 1:23:24 AM
I have dynamic content on the bottom of my flash movie. If there's enough content I'll need to increase the size of the Stage. So I figure load the content, measure it and adjust the Stage using Stage.height as appropriate. Here's my code: It didn't increase the Stage height. Then I figured ...more >>

Back Button with key Press
Posted by Jeremy2004 at 12/6/2004 1:05:24 AM
Hi all I am working on a flash file and i want to but a back button in which i am using a vav stack for but i want it to be controled by a key press rather than a button on screen. this is the code for controling it with a button on screen can any one help me with the code for a key press of...more >>

How to pass multiple functions with multiple parameters?
Posted by lancelott at 12/6/2004 12:54:26 AM
For example, if I have two functions, myFunction1 (p1, p2) and myFunction2 (p3, p4). How to pass these two functions to another function? will this work: testFunction (myFunction1, p1, p2, myFunction2, p3, p4); ...more >>

How to declare dynamic object?
Posted by maulia at 12/6/2004 12:49:02 AM
Let's say I have a List component called lbMyList I want to declare an object like this: var anObject= {_root.lbMyList.getItemAt(0).label:'Hello World!!'}; It gives me syntax error. How do I suppose to declare it? ...more >>


DevelopmentNow Blog