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 2007 > threads for tuesday september 4

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

counting the number of files in a folder
Posted by janaraj47 NO[at]SPAM gmail.com at 9/4/2007 11:39:49 PM
hai, i am jana from coimbatore i just made a project with photo gallery by loading the images into the swf via xml.In my project in one picture folder 1000 of files are present , so when tommorow when i add the another 2000 jpeg files in the picture folder the swf file should show the 3000 file...more >>


Problem accessing web service
Posted by at 9/4/2007 10:51:34 PM
Hi I am writing a small flash application that calls a webservice and obtains a result. When I try readng the result, it says it is undefined. The webservice is written in Java. I have used the Websphere environment to convert a java class and implement it as a webservice and it can be l...more >>

Flash Actionscript to generate php form information
Posted by Mary Alice at 9/4/2007 10:29:28 PM
I created a form in Flash 8 professional. I made the background of the form a movie clip. Then place static text for: name, address, city-state-zip, phone, email and comments. Then placed Flash text input rectangles next to each of those static text. Below the comments, I placed Flash Button...more >>

External FLV files
Posted by CarrieBey at 9/4/2007 10:27:50 PM
I'm attempting to do this with the steps found under Flashc CS3 Documentation. My trouble comes when I get to the 8th step (actions panel). My actions panel says "Current selection cannot have actions applied to it." Any suggestions? ...more >>

Card Flip Back Delay, Concentration Game
Posted by flashedoutt at 9/4/2007 9:45:24 PM
Hello all. I'm fairly new to Actionscripting and am using CS3. I just wrote a concentration game following a lynda.com tutorial. I want there to be a delay before two non matching flip cards flip back over. You probably know this, but a goToAndPlay("flipBack") is in the code. Here's what ...more >>

MP3 mixing
Posted by dr.Evol at 9/4/2007 8:58:28 PM
Hi! This is not a question for this forum but anyway.. Im woring on flash app which allows mixing of two or more mp3s. What I need is a .Net activeX component which is able to do mixing of mp3 files (one over another) and produces a new mp3 file. Im moe a Flash than a .Net developer so I d...more >>

Need help unrotating a Movie Clip
Posted by Demaestro at 9/4/2007 8:10:02 PM
So in actionscript 3.0 I have a movie clip. I use add an enter_frame function to the stage. Inside of the enter_frame function I call a rotate on the movie clip. movie_clip_mc.rotate += 45; When I leave the enter_frame function I want to do something that will make sure that the movi...more >>

if/ else stamement not working???
Posted by D3 at 9/4/2007 7:58:12 PM
Can someone help me with this... I have a movie clip called cPlay_mc that I want to perform two sections of code depending on a condition. When I put the if/ else statement in the script it doesn't work. I'm basically trying to tell the play button to continue playing the main movie if the...more >>



_lockroot and components
Posted by DJ James at 9/4/2007 7:27:11 PM
I'm developing couresware with flash that imports information from an XML file and displays it on a "frame". It will load in media files dynamically (swf, flv, jpg, etc...) Some of the swf files we're importing have components in them and we use a _lockroot = true; to lock the root of the...more >>

Loading MC from library to stage onRollOver
Posted by TnT design at 9/4/2007 7:26:24 PM
I'm unsure what commands to use to achieve this, but I would like to be able to temporarily replace (essentially "swap symbol") an MC on the stage ([b]stage_mc[/b]) with an identically sized MC from the library ([b]libary_mc[/b]) by rolling over an MC ([b]rollover_mc[/b]). I've used loadMo...more >>

Setting up a Form Application to write to an XML file on a local computer
Posted by graphic_pawn at 9/4/2007 6:23:12 PM
First, I'm using Flash CS3, and Actionscript3. I'm trying to set up a data collection form that will save the results to a file that can later be imported into a database. This is going to be in a Kiosk at a tradeshow and it won't have internet access, so I can't send it to an online PHP o...more >>

Actionscript 2.0 for a movie clip HELP
Posted by Photo Elledge at 9/4/2007 6:03:52 PM
basically i have an imported movie clip on one key frame which is on one layer. i have tried what i know, which apparently doesnt work, to make it so that when the movie clip (which is on the index page in my site) finishes playing it will automatically go to the home page in my site. i.e. ma...more >>

actionsript to PHP to my email
Posted by mkbanister at 9/4/2007 5:56:51 PM
I need to have all the clicks the user makes sent to me in an email (behind the scenes, so no button). Here is the site http://www.depthwork.com/cards/HTML/cards2.html I understand I need to use sendandload, and I am confused. Here are the variables (just the first set of cards): var...more >>

comboBox attachMovie Problem
Posted by stephan.k at 9/4/2007 5:40:51 PM
Hi Forum I've made a stripped down version of my comboBox movie to debug the problem. This is what it looks like now: ///////////// _ROOT ////////////////////////////////////////////////// on the root I have two movieClips: b1 and b2 Script: b1.onRelease = function(){ _root...more >>

Movieclip onRelease
Posted by OS_Design at 9/4/2007 5:29:08 PM
Hi everyone my problim is: I change my cursor with othe movielip and i want, when i rollOver to movieclip wich one has function release, my cursors's movieclip make something. How to catch wich movieclip has onRelease function? Thanks ...more >>

A little math problem
Posted by Pop Clingwrap at 9/4/2007 5:12:03 PM
I have built a slider that for arguments sake is 100px long and outputs a number from 0 to 100 depending on where you drag the handle to. If you imagine a graph plotting the output against the position of the slider handle it would be a straight line going steadily upwards on a diagonal. My ...more >>

weird button problem
Posted by nxst at 9/4/2007 4:53:56 PM
i have an animated movieclip button on a layer named "test_knowledge_mc" i duplicate that button on the same layer and name it "take_test_mc" When hovering over both they both animate and go to the specifice frame label. But, if i cut that second buttonnd place it on another layer. The b...more >>

load movie clip by movie clip
Posted by miguel_loves_jesus at 9/4/2007 4:28:07 PM
Hello, I am developing a site and it is a huge file size, +5mb, and I've shrunk everything to the smallest possible size. Now, I put a loader in the beginning, but it takes way too long. So what i wanted to do is load each movie clip by itself. I have +10 scenes, and each scene is like a p...more >>

preload external images with existing preloader
Posted by The Bliss Factor at 9/4/2007 4:21:52 PM
Is there way to tell an existing preloader script to also load the external jpegs (or at least the first one) that are being dynamically entered via flashvars? A little hung up on that. thanks Reggie...more >>

Dynamic text field won't show update until NEXT update happens
Posted by Hasenstein at 9/4/2007 4:17:26 PM
Hi, In a very simple Flash file with bascially just a dynamic text field and a button I attached some very simple code to the button that updates the text fields .text parameter, like this: on(click) { some_textfield.text = some_value; } With trace(...) I have verified that "som...more >>

importing dynamic xml into flash
Posted by shurleynova at 9/4/2007 4:11:12 PM
OK I have an aspx page that creates an xml document as a string is there anyway to load this string into Flash as an XML? Let me try to explain a little more in depth: the Flash right now reads from a flat XML file that is generated manually and placed on the server with the swf file. F...more >>

white box under Loader Component
Posted by nxst at 9/4/2007 3:41:42 PM
I am using the Loader Component to load my images as they are viewed in my file. Most of my images are ok, but some have a white box underneath of them. I'll have an image that is like 300 pixels wide and 100 tall, but it looks like a 100 wide by 200 tall white box is behind the image. It ...more >>

removing movie clip problem
Posted by 3-Putt at 9/4/2007 3:09:31 PM
I trying to load a movieclip into scene 1 and then with a close button attached to the loaded movie trying to remove the MC from scene 1. What am i doing wrong? The load works great...the unloading doesn't attachMovie_btn.onRelease = function(){ this._parent.attachMovie("MCTrio", "trio_mc"...more >>

buttons not working
Posted by nxst at 9/4/2007 3:05:39 PM
Not sure what is going on. But, my buttons stop working when they are movie clips. If i change to a Button they will work. I have one timeline. My button instance is a Movie Clip. It is named Next_mc I have the next button in it's own layer. This code is on the button itself: on (rele...more >>

reading height dimensions from an external image
Posted by The Bliss Factor at 9/4/2007 2:21:09 PM
I am reading external jpegs via flashvars into an input box with the full URL path from the server. I have some images that are taller than the flash movie window. Is there a way to get the height value of the jpeg so that if the height is larger than the flash window, the movieclip will s...more >>

buttonMode is not working over a text box
Posted by Vertine at 9/4/2007 2:02:04 PM
this may not be an as3 question...i have an mc with dynamic text. It has buttonMode and useHandCursor both set to true...but upon mousing over, it ain't happening....i have another similar button which does all that i want it to do...the difference? The good button has a static text box....is ...more >>

_rotation in actionscript
Posted by magnetica2288 at 9/4/2007 1:58:29 PM
Ok probaly a simple answer to this. I am having trouble rotating a movie clip, I can rotate it from actionscript but it rotates from the center point of he MC. I want the MC to rotate from the left, so its like a clockhand! Any ideas? ...more >>

I need some help with...
Posted by Eatstatic at 9/4/2007 1:22:03 PM
Ok... I have a flash file, "Stage1.swf" When this movie starts it dynamically loads another swf into place and put it on the stage with this code: - - - - - - var urlString:URLRequest = new URLRequest("about.swf"); var myLoader:Loader = new Loader(); myLoader.load(urlString); func...more >>

I did it. I made a larger than monitor size image dragable.
Posted by 56231 at 9/4/2007 3:39:43 AM
My image on my web page is larger than my monitor. I want my entire web page to consist of this very large image. I want to click on this image and pull (drag) and see contents of this image appear into view at the edge of my monitor. I succeeded in doing this. The code to make it drag able is...more >>

Simple Event Handler on Dynamic Text or Movie Clip
Posted by socalfish at 9/4/2007 1:26:25 AM
I am new to this AS3.0 and having a lot of problems getting used to handling events on Movie Clips, Buttons and Dynamic Text. In AS2 I had an onRelease and inside the onRelaese I called a funciton where I passed a parameter to load some data from an XML file. In AS3 I add a addEventListener bu...more >>

Drawing to a loaded image
Posted by Beatie3 at 9/4/2007 12:00:00 AM
Having created code that would draw to a specific area of my stage, I've now got my image uploading to the server and then loading into a ScollPane and my drawing code no longer works. That is it's still working but as it was originally targeting a sprite it's now drawing underneath the image...more >>

thismc.startDrag(...constraints..) confusion
Posted by Hasenstein at 9/4/2007 12:00:00 AM
Hello, I am thoroughly confused now. I have a movieclip with an onMouseDown event attached to it that calls startDrag(..). So far so easy - but I don't want the user to drag it too far outside the screen. The mc holds a print preview. The catch: I also have zoom-in/out buttons and they cha...more >>

question on XMLNode class
Posted by pascal roobrouck at 9/4/2007 12:00:00 AM
I am parsing an XML document, and at a certain stage, I want to obtain the complete underlying branch as a string object, but I can't find a simple way to do that. Assume the XMLNode is loaded with "<text>This is some <b>bold</b> text</text>" XMLNode.toString returns "<text>This is...more >>

Loadin external AVI file
Posted by Jean Bang at 9/4/2007 12:00:00 AM
Hi I'm making a presentation with external pictures and it's working just great. But on the last slide I would like to load an external AVI film so it runs on the slide. I will not work - I do not want to convert it into a FLV. If I do so it works a okay. But how do I make the film run...more >>

Custom cursor and ComboBox depth
Posted by ++ Barry ++ at 9/4/2007 12:00:00 AM
Hi. I have created a custom cursor that uses the startDrag() / stopDrag() when the cursor is located in a specific area of the screen. My problem is this. When the startDrag() is active and the user interacts with a comboBox in that area, the custom cursor always stays below the comboBox ...more >>


DevelopmentNow Blog