Groups | Blog | Home


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 > august 2007 > threads for wednesday august 15

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

Path issue as 2.0
Posted by land-mine at 8/15/2007 9:49:24 PM
Hello everyone I have a datagrid setup in a movie clip that I will call movie1_mc, movie1_mc is loaded inside of another movie I will call movie0_mc (wich is my root). When I load the movie1_mc by itself all my acitons work fine. However when it is loaded inside movie0_mc it does not see...more >>

external api
Posted by chrissy b at 8/15/2007 9:15:56 PM
hi, i am trying to control my flash movie with javascript. i have followed the tutorial set up in livedocs but i must be missing something. here is my code: any help is appreciated. --as import flash.external.*; ExternalInterface.addCallback("stopDemo", stopDemo); functi...more >>

All of a sudden fl.containers vanished?
Posted by false_vapor at 8/15/2007 9:07:55 PM
All of a sudden after a couple of changes to .fla (mind you the fla is the first file) and no changes in the .as file (some script for the .fla in there) compiler started complaining about "fl.containers.*" not being found. Here are error messages related to that: 1046: Type was not found ...more >>

subclassing Sprite with maintimeline MC's
Posted by dubya at 8/15/2007 9:07:36 PM
wow, what a day. day 2 of learning AS3 by diving in the deep end! anyway........... ok, so if i'm gonna make a display object class then i'm gonna extend Sprite. cool, this much understood. the problem ihave is that the project is for an arts organisation and some of the artists there ar...more >>

JSFL Help
Posted by Rothrock at 8/15/2007 7:21:39 PM
So I've got these long animated sequences that may have many text fields across many keyframes nested (perhaps deeply) within movieclips. Despite many requests, the animators sometimes leave them as dynamic text fields and then the fonts change. I'm wondering if it is possible with JSFL to...more >>

AS 3.0 nightmare
Posted by C-Rock at 8/15/2007 6:59:27 PM
Okay, AS 3.0 needs a book/manual where you can view the changes from old practices to new. I used to create variables on my main timeline and access them through this trace(_root.thisNum); on the root timeline I would have a variables section set aside like: thisNum:Number = 5; ...more >>

Problem with startDrag
Posted by Mauredo at 8/15/2007 6:58:10 PM
Hello guys, im having some issues with a movieclip drag. many times, it just dont work how it was supposed to. i press and then it doesnt work, or sometimes i press and the movieclip goes away. weel many strange thing. this is by code: botaoProblemas.onPress = function() { this...more >>

Time Counter in Min and Sec AS3
Posted by ASURocksMySocks at 8/15/2007 6:45:29 PM
Im having a hard time finding a tutorial or example on making a visible second and min counter in actionscript. I wan't it to start when a button is pressed and end when another button is pressed. Im having trouble on figuring it out and finding examples. Any advice or suggestions? Thank you.....more >>



Stuck... Pease need help passing variable
Posted by Demaestro at 8/15/2007 6:33:21 PM
Hi all.... I have an event listener added and it calls a function. Adding the event listener passes the event to the function automatically but what if i want to pass additional information to it? So this: addEventListener(Event.ENTER_FRAME, doEveryFrame); Becomes this addEventL...more >>

Controlling play/Pause for external swfs
Posted by truly_great at 8/15/2007 5:18:53 PM
I am playing external swfs in an emtpy movie clip. When I choose the movie to play from the dropdown, it plays automatically. But, I cannot get it to play/pause at all. My Code is: var connection_nc:NetConnection = new NetConnection(); connection_nc.connect(null); var stream_ns:NetStream...more >>

Save Playhead Location
Posted by cre8ive1974 at 8/15/2007 5:17:22 PM
Is it possbile to save the playhead location In a movieClip? ...more >>

Dynamic Click Tracking Without clickTag
Posted by noynek at 8/15/2007 4:50:11 PM
I've got an unusual circumstance where I'm not loading my flash file from within a webpage. Normally I use getURL() with clickTag to set my destination URL and tracking URL in the html, but in this case I am setting all of my variables using SetVariable() to support Player 7. My question i...more >>

non-rectangular click area?
Posted by lichtjiang at 8/15/2007 4:49:45 PM
I have a map that contains several areas, which have irregular shapes, i.e., they all have non-rectangular contours. Each such area is a movie clip, made from a transparent gif. Any part outside of this area (non-rectangular contour) is transparent. I have onRollOver and onRollOut event ha...more >>

Weird Problem... can't access x property
Posted by Demaestro at 8/15/2007 4:38:46 PM
Ok I have a fla and I drew a small rectangle using the rectangle tool. I then converted it to a Movie Clip and gave it an instance name of bar_mc.... 1 frame... 2 layers... one for the bar... one for actionscript In ActionScript 3 I am saying: bar_mc.x += 20; And I get an error at co...more >>

AS3 - Still unable to duplicate loaded SWF files?
Posted by wdrudolph at 8/15/2007 4:20:37 PM
I can't find a clear answer to this in Live Docs.. or at any forums around the net... I know you couldn't do it in AS2 - but I've found not information about AS3... [b]Is there a way in AS3 that you can duplicate a loaded SWF file?[/b] Every time I try (in about 3 different ways now I've...more >>

display list empty despite presence of display object
Posted by dubya at 8/15/2007 4:07:16 PM
assuming _context is mainTimeLine and we have an mc called 'test_mc' there at frame 20 (as in, starting at 20, so not on frame 19), this would be fine in AS2 but just produces a 'null' result in AS3: class someClass{ public method someMethod() { _context.gotoAndStop(20); trace(_con...more >>

removal of eval in actionscript 3
Posted by deni.esposito NO[at]SPAM gmail.com at 8/15/2007 4:05:23 PM
Hi, I have a program that list contains a list of 150 different text fields that are populated dynamically via a XML call. The only problem is that I can no long use the eval( ) statement as I used to in AS2 because it's been removed. Where in AS2 I would have done something like the followi...more >>

How to add MC to root stage from within a class?
Posted by ritpas at 8/15/2007 3:48:28 PM
Hi, I have 2 files test.fla and Test.as Here is Test.as' content : package { import flash.display.MovieClip; public class Test{ function Test(){ var mc:MovieClip=new MovieClip(); mc.graphics.lineStyle(); mc.graphics.beginFill(0x990000,100); mc.graphic...more >>

pgaes not working properly
Posted by Lucy4 at 8/15/2007 3:13:39 PM
I've got a flipper page book (from http://www.iparigrafika.hu/pageflip). It all works fine, but when I add my own pages and follow the instructions for doing so it doesn't work proberly. If I roll over the right top corner then bottom left corner turns up as well and vice versa. I've looked at...more >>

Rollover and return to navigation continues rollover
Posted by rdcartoon at 8/15/2007 1:25:47 PM
I have added a Rollover script in Action Script 3.0 and my problem is that when the user rolls over any 3 symbols the movie selection plays (that works great) however when I also have an action to return to the navigation. If the users mouse is still on the same rollover the action continues. ...more >>

Action Script 3 URL link opens in new window
Posted by rdcartoon at 8/15/2007 1:21:12 PM
How do I stop the url link in the following code from opening a new browser window? thank you var link = new URLRequest("http://rhr-standout.com/pages/destination_finder/index.html"); button_mc.addEventListener(MouseEvent.CLICK, onClick); function onClick(MouseEvent):void ...more >>

import with wildcard in AS3
Posted by dubya at 8/15/2007 1:20:16 PM
hey everyone! :) moving tentatively across to AS3 from AS2 today. with the import statement in AS2 you could use the wildcard ( * ) and you could be sure that the compiler would only include the classes you actually needed. is this still the case with AS3? if used this code: import ...more >>

Exporting Data Flash 8 AS2
Posted by shurleynova at 8/15/2007 1:14:41 PM
OK so far so good. I need to know if there is way to export the content of a dynamic text box to a flat file either TXT or XML. And if there is can someone point me to some doumentation, a tutorial, or even suggest their favorite way of doing it? Thanks in advance ...more >>

Default Browser for Flash CS3
Posted by sberry at 8/15/2007 9:05:10 AM
I am using CS3 now and although I have several issues with it (not bugs, just issues) the one that is driving me mad is how to change my default browser to Firefox. I don't see anywhere in the Preferences to do so, and since my default browser in Vista is Firefox I would expect it to open t...more >>

make the scoll in the scrollpane to the left
Posted by flairman at 8/15/2007 5:58:48 AM
the scoll in the scrollpane is to the right size i want to place it in the left size but there isn't any property to make it so is there any way? is there another component in the market that has this opportunity? ...more >>

FileUpload in AS 3.0
Posted by Beatie3 at 8/15/2007 5:23:39 AM
My battle with AS3 continues. I'm trying to simply upload a file to the server, and load it into a scrollpane. It has taken me ages to get this script together and partially working. Would there be anyone out there to help me with this code, please? The browse opens up fine, and the file i...more >>

determine what movie clip was 'clicked'
Posted by tag_digital at 8/15/2007 4:25:20 AM
I want to do something like this... TestClip is a class that basically controls different states of the movieclip. The function showClip calls a local function that calls a method of the selected clip. That's the problem..showClip gets called but how do I know what clip was 'CLICK'ed so I ...more >>

Buttons in ActionScript 3 ?!?!?!
Posted by Ricky Lopes at 8/15/2007 3:49:13 AM
hi... I'm trying to make a sound controller in actionscript 3. I used to do this nicely in actionscript 2, but know it seems that nothing works as in "the old days"... I created a button and tried to add actionscript to it but it doesn't let me :-( How can i apply code to a button on...more >>

How to set particular comboBox item selected once frame loaded?
Posted by lokat at 8/15/2007 3:22:06 AM
I have a comboBox with all the items with data and label (set in the properties of comboBox). However, I can't set the particular comboBox item to display when the frame entered, like this: var listenerObject:Object = new Object(); listenerObject.load = function(eventObject:Object) { _r...more >>

Attaching the same function to multiple mouse actions
Posted by asiabackpacker at 8/15/2007 3:05:21 AM
Please excuse my ignorance, I'm trying to learn, and upgrade my old way of doing things. If I am going about this all wrong, please let me know. I'm attaching my code below. My question is, how do I trigger this function with different mouse interactions with my movie clip without having to...more >>

contact form , flash , php
Posted by zxy709 at 8/15/2007 1:14:57 AM
:mad; I'm having problem with my flash based contact form that uses PHP.The contact form loads in fine, it allows me to type my name, email, and message and then send. It even responds saying that the function worked.The email sends but when I open it up in my inbox none of the information...more >>

../ packages reference ?
Posted by miquael at 8/15/2007 12:00:00 AM
I want to refer to a package (and its classes) from within a little more dynamic directory structure. For example, say I have a folder named "Projects" with several project folders ("Project1", "Project2, "Project3", etc), as well as several package folders ("packageA", "packageB", etc). And...more >>

Inserting a delay in my script....
Posted by asiabackpacker at 8/15/2007 12:00:00 AM
I'm not sure about this one..... Basically, if the "else" part of this if statement gets executed, is there any way to insert a delay before the value of targetY gets changed to "position2"? if ( value = true){ targetY = position1; } else { targetY = position2; } Thanks! ...more >>

How specify which characters you want to embed
Posted by verbruggher at 8/15/2007 12:00:00 AM
If the text field is populated by using ActionScript, you must specify which characters you want to embed for the text field. But how do I do that with actionscript? Is there some property not documented? Or method to do this? I know the embed panel yes, but i want to do it with actionscri...more >>

Height of components
Posted by HaakonL at 8/15/2007 12:00:00 AM
OK, let's go. All actionscript 3. If you create a Sprite and then add a RadioButton as it's child (or a TextField - probably any component) you will see that the Sprite now has a 100px height if you trace it, even though the RadioButton is only 22px tall. So what? Well, if you set that Spr...more >>


DevelopmentNow Blog