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 > july 2005 > threads for tuesday july 19

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

load data from list
Posted by stijn1989 at 7/19/2005 11:44:06 PM
hi I have a problem with display data from the list component. I read the livedocs but nothing helped :( Can someone give me a code that's print the date when I push on a item of the list.... i have also a second problem: i can't load text in the textarea component chat.text = "h...more >>

on (rollOver) trouble
Posted by Gosugenji at 7/19/2005 11:03:22 PM
ok, ive created a button that when the mouse goes over it triggers a move event with another movie clip so far ive used this code but im having trouble, it says error no event on handler _root.my_button.onRollOver = function () { _root.my_list.setProperty(my_list,_y,21.0) } ...more >>

XML Troubles
Posted by lewiscobley at 7/19/2005 10:21:58 PM
Hi, I have made a simple app to display the Halo 2 XML feed for my Gamertag, when I run the app localy it all works fine, but when I upload it to my site (http://www.flash-mx.com/faq/Parsing_XML_in_Flash_Using_the_XMLConnector.htm tutorial to my needs. Is there any obvious thing that wil preve...more >>

How'd they do that?
Posted by agerdes at 7/19/2005 9:58:13 PM
Can this effect be done with pure Actionscript or are they using masks and timeline animations? http://www.visitlasvegas.com/vegas/features/experience-vegas/index.jsp...more >>

Classes, components and preloaders...
Posted by H at 7/19/2005 9:43:50 PM
:confused; Here is the scenario: I am building an applet in Flash for a simulation of the radioactive decay process. since the core of the app is getting to be quite large, I thought I would make a preloader; common practice, right? The problem is, that all of the components and classes ...more >>

Resizing dynamically loaded jpgs
Posted by JFalk1 at 7/19/2005 9:32:31 PM
I am trying to load a jpg and resize it so that its longest side will be 150 pixels, while maintaining its original proportions. I wrote the following code... which works except that it resizes the image incorrectly. I was assuming that when I load a jpg into an mc (holder_mc), the mc would ta...more >>

Looping, variables, and path names
Posted by Have A Banana at 7/19/2005 8:49:25 PM
First, I will explain my project: I have a map with several landmarks or buildings on it. I also have pictures of each (named according to legend position, 0 - 33) in a movie clip and want to put them into an array. Here is what i'm thinking of doing: for(i = 0; i <= 33; i++){ // I ca...more >>

panning an mc function
Posted by sampurtill at 7/19/2005 8:49:22 PM
Hey does anybody know the function to pan a movieclip by using the mouse's _xmouse and _ymouse property? I just need to know the equation because I've exhausted my brain already trying to think of it... Any help will be awesome. Thanks Sam ...more >>



What's wrong with this code?
Posted by mballom3 at 7/19/2005 8:36:45 PM
Hi, When testing movie i receive the error message: "should appear in on/onClipEvent statement". My code was an event handler like that: myclip_mc.onEnterFrame = function(){statement; } I wanted the code to be on m...more >>

testing a preloader?
Posted by Captain_Cainer at 7/19/2005 8:06:52 PM
Alright, I know there are a billion posts about preloaders on here, and I know how to make them. Unfortunately when I test my movie the preloader doesn't appear. I've heard that maybe you can't "test" preloaders in Flash, that you'd have to actually upload it to a server to test it out -- i...more >>

Stacked MCs limitation?
Posted by zamzmith at 7/19/2005 7:41:13 PM
Is there a limit to the number of MCs or bitmaps that can be stacked? I couldn't describe the problem so I made this page: http://zenvase.com/testing/flash-11-12.htm...more >>

actionscript help with MC & Scrollbar
Posted by aidennine at 7/19/2005 7:29:30 PM
I'm trying to help someone create a "portfolio" page where the thumbnails are in a moving scrollbar at the bottom of the stage. I created the full versions of the pics in a seperate MC and I want to be able to click on the thumbnails and load a specific place from the full version MC. I was t...more >>

Sending data to asp
Posted by Jazzerboo at 7/19/2005 6:57:47 PM
I am trying to send a variable to asp. The asp will process the script, then send another variable back. This is what I have: this.createEmptyMovieClip("loadQuestions", this.getNextHighestDepth()); this.Category = eventObj.target.text; this.loadQuestions.onData = fun...more >>

actions dosn't work
Posted by mvanegasb at 7/19/2005 6:37:44 PM
when a link scenes with actions, never work in flash pro...more >>

upload
Posted by roman_flasher at 7/19/2005 6:34:50 PM
Simple question - how to make in Flash button Browse? That is it is necessary that the user could fill in the file from a hard disk on a hosting? Thankful in advance....more >>

Array with multiple values
Posted by Wharfrat at 7/19/2005 5:22:03 PM
Hey all, I'm wondering if it's possible to create an array where each array value has multiple values. I need to pass a function 8 parameters with each mouse click. I'd like an array to manage data for each button's (movieClip) click. One array value would need to have 8 parameters, there ...more >>

Activating and Deactivating MCs as buttons
Posted by Brian at 7/19/2005 1:36:14 PM
I am using the following AS to use MCs as buttons. Is there a way to turn this off and on? Thanks a lot! Brian home_sqr_mc.onRelease = function() { homeOpen(); }; home_sqr_mc.onRollOver = function() { home_sqr_mc.brightOffsetTo(30, 0.1, "easeOutSine"); }; home_sqr_mc.onRoll...more >>

differences in flashes reporting of MC's._height
Posted by ivanko_98 at 7/19/2005 1:27:40 PM
does anyone know of a problem where flash reports one value for a MC's _height in the authEnv. and a different ( always increased by 5 ) height through the AS code. thanks...more >>

limitations on viewing an html page in flash?
Posted by sharcx at 7/19/2005 1:04:28 PM
I've a project to complete, and the flash site is: www.servantmediagroup.com on the media page however, we want it to scroll with this page (has html and flash images): www.servantmediagroup.com/xxxx_gallery.html but it won't. . . .. ..is it because you can only have text in there? Or am I d...more >>

Quiz Component :: Swap Depths
Posted by newAS at 7/19/2005 1:01:01 PM
I wonder if someone could help me. I am building a drag & drop question using the Quiz Component that comes as part of Flash MX 2004 Professional. My problem is that 1 have 3 images therefore 3 targets yet 2 need to be on top of each other, as items need to be placed on top of each other in...more >>

Pad number with zeros
Posted by jwize at 7/19/2005 12:01:41 PM
I need to format my number so that it will look good as a time. 12:34:02 instead of 12:34:2 ...more >>

function problem - really weird
Posted by Brian at 7/19/2005 11:30:20 AM
I am having the following problem and just can't make sense of it. I am attaching a button(which is inside a MC) like this. function initialHomeOpen02(){ this.attachMovie("enter_btn_wrapper", "enter_btn_wrapper_mc", this.getNextHighestDepth(), {_x:100, _y:250, _alpha:0}); enter_btn_wra...more >>

MTASC download
Posted by Jason C Reynolds at 7/19/2005 11:20:22 AM
I'm trying to download the MTASC compiler ( www.mtasc.org/ ) but the site is not up. Anyone know if it exists anymore? I'm trying to use it with theh SEPY editor. Thanks, Jason ...more >>

E-mail form with Flash components
Posted by d_dot_b at 7/19/2005 10:34:47 AM
Would anyone know of any tutorials that show how to create an e-mail form with Flash components such as: - checkbox - list - menu - textinput - textarea I don't want to look for Flash e-mail forms that have basic dynamic text fields Thank you, ...more >>

sound.duration
Posted by josp at 7/19/2005 9:59:22 AM
hello, do I get the sound.duration not until the streaming sound is fully loaded? I'd like to get it when the sound starts streaming or even before... Joerg...more >>

moving scenes
Posted by igates at 7/19/2005 9:36:31 AM
What is the correct syntax for moving to a new scene from a button. My timeline is getting a bit long now, so I figure it would be useful if I could split it into scenes I am typing on (release) { gotoAndPlay(2,1); } Hoping that this would take me to Scene 2, frame 1. but I keep g...more >>

Using Buttons attached with attachMovie
Posted by Brian at 7/19/2005 7:59:20 AM
I am trying to use a button that is inside a MC that I am attaching at runtime, but don't seem to be able to make it work. Below is the code. The problem seems to be with the path to the button inside the clip. I can set the alpha of the MC, as well as the button individually, so I know th...more >>

open a webpage inside an swf file
Posted by mason phoenix at 7/19/2005 7:09:37 AM
Hi guys, i'm trying to open a webpage inside an swf i made, is this possible? can somebody tell me how to do it? What i'm trying to say is that i don't want it to open in a new page, something that i could get with getURL, i want it to open inside the same window in a movie clip in my swf fo...more >>

trouble with making mc visible to invisible by pressing button
Posted by andy ga at 7/19/2005 1:36:48 AM
hello, i have a mc that is set to be invisible on the first frame, & become visible when you press a button. if that movie clip is made visible & you press the button again, it is supposed to return to its invisible state. i'm having trouble with how to set this up with a.s. so . . ....more >>

Need help creating flah poll
Posted by rrudy90020 at 7/19/2005 12:50:04 AM
I need to make a flash poll with a simple question and percentage response. I'm limited to php or perhaps a text file usage. Any direction or tutorials will be greatly appreciated. Thanks!...more >>

component compile-time detection
Posted by bondervate at 7/19/2005 12:17:43 AM
I am developing several components using the new version 2 architecture. There are some cases in which I would like the live preview to behave differently than when the component is compiled. Is there a way to do this? For instance, I have a HitBox component that when placed on the stage w...more >>

Frame rate drops mid-movie
Posted by jujumbura at 7/19/2005 12:00:00 AM
Hello, I have an issue that has come up recently while designing a component in FlashMX Professional 2004. I have recently allowed my component to be resized at runtime, which results in a lot of resizing of borders, panels, a couple movieclips and textfields. At first the resizing is ve...more >>

Dynamic Menu
Posted by dakin01 at 7/19/2005 12:00:00 AM
Ok I've tried searching for answers to my problems and couldn't really find anything (If you know of something that would answer my question please give me a link and I'm sorry for wasting your time). So here is my question. I have a menu that is being built off of an XML document. The probl...more >>

Action Script
Posted by Ammaa at 7/19/2005 12:00:00 AM
Hi Am very new to Flash... A. Need syntax i. to exit the Flash program on clicking a button in the Published version ii. how to trim the spaces for an input variable (both front and back) B. How do I reject a drag and drop when dragging to the wrong target using the Quiz template ...more >>

Dynamic text mutliline problem
Posted by nickcrispini at 7/19/2005 12:00:00 AM
I have a dynamic text box that is set to multiline so the text written to it will break to a second line if need be. On the Mac it's fine however it doesn't break on a PC. Any suggestions?...more >>

Where is my problem?
Posted by adjourney at 7/19/2005 12:00:00 AM
I posted earlier, and dug in to try and figure this thing out. My script window finds no errors, but I must have a loop that is locking up the system. Can anyone help me figure out where the bug in my script is? Much thanks in advance!!!! You will note I make myself a lot of comments to he...more >>

cant go to sleep till i get this
Posted by eb-go at 7/19/2005 12:00:00 AM
here is the action and output error for my button. i want the bt to open new window 500x500 ...i am about nuts...where do these ')' or ',' go or what??? see below my bt script where my_btn is the instance of the button on the stage and the error i get. ACTION FOR BUTTON my_btn.o...more >>

Help with slider-zooming map
Posted by beckiehawk at 7/19/2005 12:00:00 AM
I created (using someone elses open source fla) a zooming map that is controlled with a slider. The finished product works great in Firefox, Safari and Netscape on a Mac. It works okay in IE 5.2 on a Mac (you have to refresh your browser to make it work). But it doesn't work in any browsers...more >>

link to text file
Posted by dimitri at 7/19/2005 12:00:00 AM
i have a problem with linking to a txt file. i managed to link to it properly, everything works with in the movie, works when i check the html file on my server, but as soon as i upload the site the textbox is emtpy again. does this sound like a common problem, or do i have to give more det...more >>

Align Flash standalone player center on desktop
Posted by ska8Er Boi at 7/19/2005 12:00:00 AM
Hi anyone know how to make the Standalone Flash Application align center on the desktop? Using FSCommand? Actually i want to know how to change the X,Y coordination of the Standalone player on the desktop (e.g. when the exe file launch it located at the left top corner). Thanks! ...more >>

animating strings into textboxes
Posted by sampurtill at 7/19/2005 12:00:00 AM
Hi I'm wondering if anyone knows how to write a function to make a text in a textbox come in, adding one letter at a time and having an underscore next to the letters coming in, and once all the letters are in getting rid of the underscore. Thanks for any help! ...more >>

Showing active frame in a text-index
Posted by erlendbv at 7/19/2005 12:00:00 AM
Hello. - Sorry for the bad title. Didn't know how to describe it differently. :o I believe that the following can be acheived with the a nice combination of characters in ActionScript... I just don't have a clue how. ;) I would like to have a layer that is constant over the entire time...more >>

Target local file to launch
Posted by Jim In New Orleans at 7/19/2005 12:00:00 AM
When I click on this published flash it tries to play in browser window. I need it to open QuickTime and play movie. var targetRed:String = "file:///D:/test.mov"; Thanks in advance Jim...more >>

Targeting
Posted by jd_field at 7/19/2005 12:00:00 AM
I'm using the hitTest("?????????") script and I need to know how to target all the instances of a single movie clip. Can anyone help me out? Thanks...more >>

Targeting all instances of a movie clip
Posted by jd_field at 7/19/2005 12:00:00 AM
how do I target all the instances of a movie clip....more >>

on rollout playsound
Posted by razx at 7/19/2005 12:00:00 AM
hello guys, again im stuck in some problem heres the stuff; in my swf i have a menu with 5 buttons every button have an effect so i have the buttons inside a movieclip, the thing is a want to play a sound when the mouse is over and another sound when the mouse is out but i don?t know how to do...more >>

Durations
Posted by vimalli at 7/19/2005 12:00:00 AM
Hi Friends, how to find the swf file durations. Thanks, Vijay...more >>


DevelopmentNow Blog