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 > april 2007 > threads for wednesday april 18

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

Menu Question - Just need a little hand
Posted by nIvelyx at 4/18/2007 11:23:57 PM
Hello All: Thanks for reading this: What I'm trying to do is make it so that when a user moves her mouse over my menu, the menu will stay. Attached is my Action Script: var newLayer = 99; this.createEmptyMovieClip("menu2_mc", newLayer++); menu_mc.onRollOver = function () { menu2...more >>


Can't get my projector folder paths straight.
Posted by onostuff at 4/18/2007 9:30:34 PM
I have a project in which I have a menu screen calling out swf's in a sub folder. These swfs also have progressive flvs associated with them. I will building projector files to deliver the project. I am having problems getting back to my menu screen after playing the video when I build my pro...more >>

onPress Issue
Posted by BeniRose at 4/18/2007 9:19:15 PM
I'm having a problem with my onPress being triggered. I have a parent MC, let's hypothetically call it "sections". It has a bunch of MCs in it, let's say by the name of "section_1", "section_2", "section_3". On the first frame of the first and only layer inside my parent MC (sections) I have a...more >>

Dynamic mc names
Posted by Istarlin at 4/18/2007 9:15:38 PM
Hi there, Im having a litlle issue. ill try to explain: I have a function that creates dynamic movieclips after making a query by flash remoting. It calls this function for each record. Here it is: function createPictures(b) { this.createEmptyMovieClip("l"+b, this.getNextHigh...more >>

Writing classes with Fuse
Posted by erokCom at 4/18/2007 9:13:44 PM
Hello friends, So, I am trying to learn how to write classes. (Same as before) The IDE say's the Syntax is correct, but it still spits errors in the flash file.. Here is the code: import com.mosesSupposes.fuse.*; class Mover extends MovieClip { private var Instance:Mo...more >>

Writing classes with Fuse
Posted by erokCom at 4/18/2007 9:13:35 PM
Hello friends, So, I am trying to learn how to write classes. (Same as before) The IDE say's the Syntax is correct, but it still spits errors in the flash file.. Here is the code: import com.mosesSupposes.fuse.*; class Mover extends MovieClip { private var Instance:Mo...more >>

using form variables for simple authentication
Posted by ionic77 at 4/18/2007 8:58:12 PM
hey all, i'm trying to build a simple password authentication system using a textfield. what sort of validation should i use to check the contents of the form field? here's my button code: on(release) { set("forminfo", formfield); if (_level0.forminfo == "123") { gotoAndPlay("...more >>

XPATH statement help
Posted by MikeD. at 4/18/2007 8:18:20 PM
I'm trying to write a little learning game in Flash, using XML as the data source, but I can't get any XPATH statements to work. I've written tons of XPATH against this structure in JavaScript, and the XPATH statements evaluate properly in XML Spy, but I always get "undefined" when I try to t...more >>



sound control button
Posted by mikearamark at 4/18/2007 7:31:23 PM
hi all, i bought a flash template for my personal site and it has a sountrack on it with a music on/off button at bottom of screen. for my portfolio section, i'd like to showcase some video work that has sound as well if i leave soundtrack on - they play over each other, if i turn soundtra...more >>

how can I get a flv's duration if it hasn't got the onMetaData info
Posted by madinsect NO[at]SPAM gmail.com at 4/18/2007 7:13:24 PM
I fonud these're lots of flv files don't have the onMetaData info in their head, but the only way to get the duration infomation I konw is to get it by the event onMetaData. and if this file doesn't get the onMetaData info in its head, onMetaData event won't be fired. thank you all. :) ...more >>

Data Provider DataGrid and CheckBox Q
Posted by nudnic at 4/18/2007 6:42:04 PM
I have created an application that uses the DataGrid. I have set the data provider to an array of objects. One of the properties in these objects is a boolean value. I have set the DataGrid to editable and it works well. editing a field changes the appropriate property of the an object in...more >>

MovieClipLoader problem - Newbie
Posted by DigTunes at 4/18/2007 6:32:43 PM
Hello, I am trying to load different external swf files into a loader Movie Clip in my main program. For example, I have main.swf, bio.swf, and help.swf, and I'm trying to load them when a button is pressed in my main timeline. This is what I did: I created a new empty Movie Clip with an...more >>

preloader animation
Posted by jlucchesi at 4/18/2007 5:52:44 PM
Hi - On the main blank stage I'm loading the "master.swf" which contains all the navigation GUI. As a preloader visual I have a movie clip ("loaderani_mc" ) which is a simple timeline tween. I'd like this animation to move in coordination with the numbers being displayed in loading_txt , so...more >>

Button Trouble
Posted by paul_n52 at 4/18/2007 5:25:16 PM
Hey, Pretty new to flash but I'm getting there, Just a quick question for a problem I'm Stuck On. I Want to make a Portfolio in flash for a project I've been given. I've made the menu and the buttons but i need to be able to click the buttons to take you to different frames with the diffe...more >>

math.round help
Posted by oscmejia at 4/18/2007 5:08:12 PM
Hi, I have a nuber= 0.00999999995 and i need to round it to 0.01. I mean round the numbers but with 2 digits of presition. any ideas? tks...more >>

Newbie - dependable comboBox Flash 8
Posted by NccMbc at 4/18/2007 5:05:15 PM
Hi everyone, I've never used this before, so go easy on me. I'm having trouble with getting a dependable combobox functioning. Actually, I don't have a clue. So could someone point me in the direction of a tutorial or functioning example I could download as a guide. I have one for MX, but it h...more >>

button inside a movie clip
Posted by in v3rt at 4/18/2007 5:01:13 PM
Ok, i'm new at action script so i have a problem I have a sound inside a movie clip (sound_MC) in the main timeline, and i have another movie clip with a button inside, and I need that button to control that sound movie clip on (release) { gotoAndStop("off_radio"); // this goes to ano...more >>

Escape key on press go to (frame)
Posted by Juan Valdez at 4/18/2007 4:30:24 PM
I have a flash presentation that has a rather long opening so I want to place an event listener that lets me hit the escape key and gotoAndPlay frame (378), I get a syntax error, any one have an idea what the problem is? var hotkey:Object = new Object(); hotkey.keyPress"<Space>" = function...more >>

?n in XML file does not works
Posted by Nixy at 4/18/2007 4:02:52 PM
How to make the \n from an XML texte node to work. When I put the XML text in the textfield, the \n appear in text. But if I used a text directly in the Flash code, and I use the \n, that works. Any Idea ...more >>

Send XML to a new file
Posted by podclock at 4/18/2007 4:02:15 PM
I have a project where I have to gather some user input and save it to a file for later use. I was thinking I could format the data as XML and send it to a folder on the server as a new .xml file to be read later. Is it possible to do this directly from the actionscript, or would I need an int...more >>

getProperty allowables
Posted by Neeeol at 4/18/2007 2:58:37 PM
To try solving another problem I've been playing with the getProperty function. I ran into an interesting issue. This line compiles: var PVSForm = getProperty(_root.session.windowMgr[0], _x); but this one doesn't: var PVSForm = getProperty(_root.session.windowMgr[0], contentPath); ...more >>

Loaded movie communicating back to the loader
Posted by jfbaro_uk at 4/18/2007 2:48:23 PM
Hi, We have got a swf which loads another swf. everything works fine, we can change things in the loaded movie through the loader. But now we need the buttons in the loaded movie calling a method or trigging an event in the loader. We have been doing that by using LocalConnection, but now ...more >>

trouble with attachMovie
Posted by Mordred58 at 4/18/2007 2:45:13 PM
i am having trouble with attachMovie....i am attempting to use a movie clip button to open a movie clip that is embedded within another movie clip. in the code below, i am trying to use the p1A button to show the indyButtonMovie that is being loaded into the infoBox_mc clip. currently, when i ...more >>

FLVPlayback buffering &/or preloading...
Posted by TheRealOldnewbie at 4/18/2007 2:42:45 PM
I finally managed to get the downloading bytes count from a FLVPlayback component, but eventhough it seems to work well on my fast cable connection, I cannot get it to work on my old 56k dialup. It starts off fine, but as soon as it hits the count of 497,617 bytes (on +/- 2MBs files), the pl...more >>

Load variables from a perl script
Posted by lvbao at 4/18/2007 2:12:43 PM
Basically I want to load the date of the server from a Perl script to my Flash. However it looks like the onLoad function doesn't load successfully; it always goes to the else condition. What i am doing wrong here? Please see the scripts below: ***********************************************...more >>

Uploading images with MX 2004
Posted by PumaCam at 4/18/2007 1:37:27 PM
I am a fairly new user to Flash Mx 2004 Pro. I am creating a form in flash where a user will select an image (on their PC) to be uploaded onto a server. The server side scripting will be in PHP. I want to stock images directly on the server and not in a database. I have seen that Flash 8 ...more >>

What is the best way to migrate duplicateMovieClip to AS3?
Posted by mudabbasDev at 4/18/2007 1:01:54 PM
Hi, In our project, we have seperate controller file for all the code and seperate for graphical assets. I mean, they both generate seperate swf files. Controller actually load the graphical assetts by Loader. I am still using Flash9 preview, as it will take a couple of days to get licence...more >>

Flash Streaming Video Problem
Posted by mkoz at 4/18/2007 12:51:11 PM
I am trying to publish my video collection on my website (sort of like YouTube, but on small scale). I am using Flash 8, progressive download and one of the video templates posted here: http://www.adobe.com/devnet/flash/articles/vidtemplate_vidshowcase.html The problem is that the examples a...more >>

DataGrid bug?
Posted by DMennenoh **AdobeCommunityExpert** at 4/18/2007 9:16:48 AM
Anyone see this: I'm using a grid component to display a record set returned from MySQL using AMFPHP. It works great except when I use the embedded scroller to scroll the grid data. When I get to the bottom of the list, the scroller stops but if I keep moving the mouse down, the top item sh...more >>

mcBtn[sString].onRelease(); <--Incorrect, how?
Posted by Nightkarnation at 4/18/2007 5:24:30 AM
Hey!! i would really appreciate some feedback on this one: var btnRandom:Array = new Array(); btnRandom[0] = "Diablo"; btnRandom[1] = "Gory"; btnRandom[2] = "Calok"; //randomize tNum from 0 to 3 tNum = random(3); stat = (btnRandom)[tNum]; ...more >>

Accessing library code in ActionScript
Posted by Neeeol at 4/18/2007 4:49:59 AM
:frown; I am totally confused. I am modifying code written by someone else and need access to a class that is never created directly. What the author did was write a class and assign it to a library object using the Linkage Properties|AS 2.0 class. He creates a form using as the contentpa...more >>

sound
Posted by a1212121 at 4/18/2007 4:20:37 AM
hi , i am having a swf file with several menus. on clicking on the menu it loads another one swf file. each swf files have different sound file. if i mute the sound in one swf the sound in other swf files also must be muted . how to do that? thanks in advance.... ...more >>

Dynamic Text Box
Posted by smillerd at 4/18/2007 4:13:49 AM
Greetings, I am looking for help or tutorial to create custom scroll bar for scrolling dynamic text. The graphics for the scroll bar need to be custom artwork to match the site.(this I can do...) Any help or direction to accomplish this? Thanks for any help. smiller ...more >>

onMouseDown function loads all buttons
Posted by spireality at 4/18/2007 3:34:29 AM
I learned to make these simple but cool buttons on a tutorial last night, but the tutorial failed to complete the training by explaining how to make a down action and how to make that down action go to a hyperlink or two a different place on the timeline. I intuited the down action, which see...more >>

TimeLine FrameLabel Event
Posted by soodonimus at 4/18/2007 1:32:37 AM
Hello, I need to play a movieclip when the timeline has reached a framelabel on another movieclip. Any help would be greatly appreciated. logobutton_mc.onRelease = function() { _root.darkwindow_mc.gotoAndPlay("fade"); _root.darkwindow_mc.[b]whenTheTimelineReachesFrameLabel[/b]("black...more >>

Height Change in Actionscript
Posted by Stickiler at 4/18/2007 12:00:00 AM
Can someone please tell me how to change the height of a button or movieclip in actionscript. thanks....more >>

Key Code Issue?
Posted by AnotherRandomFlasher at 4/18/2007 12:00:00 AM
Hey everyone, just a quick question. Why do the Comma and Fullstop seem to have no Key Codes?? I am trying to make a keyboard in flash where the buttons light up as you press them (aiming for a typing tutor like program). So my program wont be of much use if i cant use ',' or '.' in sente...more >>

loadMovie causes loss of functionality
Posted by misterjingo at 4/18/2007 12:00:00 AM
I have a flash file which utilises colision detection on non-square shapes. It works fine if loaded up on it's own, but if i load it into another swf file using loadMovie, the collision detection seems to ignore the irregular shape and utilises a square bounding box around it, this messe...more >>

Flash 8 crashed due to simple AS...?
Posted by ibrubru at 4/18/2007 12:00:00 AM
I have created a keyframe with a static graphic and the next keyframe that has a movie clip that runs for 5 secs. Actionscript on the first keyframe (33): [b] stop(); countDown = function(){ gotoAndStop(34); } timer = setInterval(countDown, 5000); [/b] AS on 2nd ...more >>

Resetting Scroll Bar Component
Posted by gryllsie at 4/18/2007 12:00:00 AM
I have a dynamic text field, the content of which is coming from external XML. I have attached a standard (albeit refreshed for look and feel) UI Scrollbar component. When a new piece of XML is loaded, and the content is refreshed, the scrollbar remains in the position is was last left in. Is ...more >>

Using LocalConnection on PocketPC
Posted by jfbaro_uk at 4/18/2007 12:00:00 AM
Hi, We are trying to port an application from desktop to Windows CE 5.0 (FP7), the problem is that everything which uses the localConnection class doesn't work. Is that a limitation of Flash Player 7 for Pocket PC or is that me who doesn`t know the "tricks"? ;) Other Flash movies (publ...more >>

loading 25% of the movie
Posted by anat:) at 4/18/2007 12:00:00 AM
Hi, I made a flash movie and I want the loading to load at the beginning just 25% of it (which is 1000 frames - long movie...), and then to start and play the all movie. this is how I hope the movie will keep on loading while the movie is being play. Now, the problem is, that after the 2...more >>

Close the combobox on application focus lost.
Posted by bharatd76 at 4/18/2007 12:00:00 AM
Hi, I have created desktop flash application and I have used Combobox in it. When user opens the combobox and then switch to another aplication and again come back to flash application the combox remains open. I want to close that combox box. Where or how should I write code to close that ...more >>

Releasing resources
Posted by jfbaro_uk at 4/18/2007 12:00:00 AM
Hi, We have an app which uses XMLSocket class, the question is: when should we close the socket? Is there any event which is called when the flash movie is closed? How do you guys release resources?? Cheers ...more >>

Strange behaviour of WS
Posted by KuPyyyy at 4/18/2007 12:00:00 AM
Hi I have a problem when I'm calling Web Service with interval of 10 to 60 seconds it returns it's nodes twice... which is strange because I checked my methods.. they seem to be ok .. I checked the WS it was ok... I tried to debug but you know the debugger in flash is horrible and of course it...more >>

Playing movies
Posted by goodLookingandReliable at 4/18/2007 12:00:00 AM
Hi there, Can anyone more use to this stuff than me help over this actionscript and whether it is possible. Is there a way of getting Flash to play movies and jpgs stored in a folder. Then to play in order and fade in and out between them, then for this to continue for an infinite amount...more >>

Webcam video recorder
Posted by gigisfarleaza at 4/18/2007 12:00:00 AM
How to make and save to servet a video from webcam ? Like in this site : http://www.twango.com/webcam ...more >>


DevelopmentNow Blog