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 2005 > threads for tuesday september 13

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

problem with dynamically-loaded jpegs
Posted by mmay321 at 9/13/2005 11:16:06 PM
i recently completed a site that dynamically loads jpegs and when viewed in a browser, the pics are SO blurry. i'm confused because i have another site, set up the same way, and the pics aren't blurry at all. the pics for the two sites were taken by two different digital cameras, but i opti...more >>


Shared Library Font not working.
Posted by Henrikson at 9/13/2005 10:49:33 PM
Hi there. I have reviewed several posts on shared libraries and fonts ? but could not quite put it together for my movie. When I drag fonts from my shared library movie into my current fla file, such as the main_menu.fla and select a dynamic text box and go to my font panel and select th...more >>

Tweening objects using AS
Posted by bwm_razel at 9/13/2005 9:29:24 PM
I'm just wondering if there is a way to make motion tweens using AS. Let's say I want to write a function that moves my_mc from point A to point B over X amount of time. Or I want to fade in my_mc over an X period of time. How would I do this? ...more >>

newbie: loading external swf, how to target
Posted by PixelFool at 9/13/2005 9:15:21 PM
Hello all! I have an externally loaded swf (loaded into a blank mc). On the main timeline of the external swf, I have a button with this script: on (rollOver) { tellTarget ("control") { gotoAndPlay(2); } However when the swf is loaded into a blank mc, this code no longer works. ...more >>

Reading from a text file.
Posted by NetGeek911 at 9/13/2005 9:07:53 PM
Hi Is it possable to have a text box and a button that says submit and when you click the button that says submit save the contents of the textbox in a text file. Then can I read the contents of the text file into a lable? ...more >>

rollOver/rollOut on stage
Posted by aaronexodus at 9/13/2005 7:46:41 PM
I created a very simple text ticker using the Label component. The text comes from an external file and I set the label.html = true, so that it is easy to just include html to change the text properties and to make it very easy to insert a hyperlink. The problem is, I want the ticker to slow...more >>

Global variable declaration
Posted by Gajam at 9/13/2005 6:51:44 PM
Hi , I am new to flash development, Can you please help on these. I would like to intialize and declare variables as soon as flash renderes GUI, Can you suggest me correct events for this. i placed following code in Layer 1 : Frame 1, but it not displaying variables correctly in trace. ...more >>

CSS Verification?
Posted by Raconteur at 9/13/2005 6:19:41 PM
Hi all, I have an HTML file that I am loading into a multiline textbox in MX. I want to attach a style-sheet to the textbox so I can have each line of text alternate between no backgroun color and a set bg color. My stylesheet contains: .alternating { background-color: "#DDDDDD...more >>



Dynamically execute code
Posted by Mark Bagnall at 9/13/2005 1:12:07 PM
Is there a way to dynamically execute code from a string? A trivial example: var codeString:String = "var a:Number = 10; myDebugBox.text = a;" executeCode(codeString); // should display 10 in myDebugBox once replaced with actual function name! The idea is that I could type some Acti...more >>

Open Windows-Explorer over ActionScript?
Posted by cjschrattenthaler at 9/13/2005 12:57:45 PM
Hi! I want to create an Autorun CD-Men? with Flash MX 2004. I have a Menue entry "Search CD-Rom...", which should open the Windows Explorer and select the CD-Rom for file browsing. I dind't find a solution for this. Please can anyone help me, or give me a hint? Thanks, Christia...more >>

Generate a jpeg/tiff/AI file from the final frame of SWF after submit
Posted by vinay at 9/13/2005 12:53:29 PM
Hi All, Is there any way to save the final frame of a swf file into JPEG format. Actually the need is that the user comes online selects a graphic and userdefined text which is in flash and when he submits the flash it should generate a jpeg/tiff/AI(whichever possible) file of that flash file...more >>

a class problem
Posted by delizade at 9/13/2005 12:43:17 PM
hello, i use Flash Pro Beta2. i made a class that name is _flare and this class is in a classes directory and there is a fla file that call that class from classes directory i am given an error message : **Error** C:\Documents and Settings\Delizade\Desktop\IREM\denemeler\classes1\_fla...more >>

Does nobody know the answer to this??
Posted by De Pisang at 9/13/2005 12:28:47 PM
Hi, I'm trying to convert an old game to be published as flash 7, with actionscript 2.0, but I can't seem to find how to translate the following: todest = /:destroy; tellTarget ("/sound") { gotoAndPlay (2); } What does /: in the first line mean?... For the rest I guess it's: _roo...more >>

dynamically inserting images into library and than loading them
Posted by deric001 at 9/13/2005 11:20:14 AM
Hi Guys, I did find some support for dynamically loading external jpg's. Is it possible to insert pictures (jpegs) dynamically into .fla library such that a peice of code within a file enables a user to import jpgs, which can then be loaded dynamically? Just to give u a background about:...more >>

good site for learning AS
Posted by Scott Thompson at 9/13/2005 10:44:38 AM
Is there a good site for learning AS? I am looking for something like w3schools. ...more >>

difficult(?) calculation with nummeric steppers.. Mindcracker... :-(
Posted by PaulAnka at 9/13/2005 10:42:45 AM
Hello, I am loading an image dynamically. Then I get the values of the width and height.(in pixels) (let's say the vars imgWidth and imgHeight) Then I have 2 Nummeric Steppers from the Components. Stepper 1 is the height en stepper 2 the width. Stepper 1 is standard on value "40" (this s...more >>

Newbie question
Posted by sabasaba at 9/13/2005 10:38:01 AM
If you are making a quiz game, and you want to keep score of the number of questions the player gets right, how do you write this up in the actionscript language? I tried writing the following action in the first frame: numcorrect = 0; Then, to each button that correspond...more >>

prob reactivating onRollOver
Posted by 400$ at 9/13/2005 9:56:37 AM
hi , The prob I am facing.Due to nullifying onRollOver in my function and calling it onRelease.Its getting permanently deleted. Ex)when I click home_mc ,then contanct_mcand I try to hover over home_mc , there is no rollOver effect .ie)RollOver effect does appear for menu items which h...more >>

setting multiple button.onRelease using for()
Posted by B!L at 9/13/2005 9:18:34 AM
Hi I'm sure this must be pretty straightforward but I'm obviously missing something basic here I have a movie with 6 'sections', each at a named frame on the main timeline I have 6 buttons, each corresponding to an individual section, to which I want to assign an onRelease=gotoandSto...more >>

preloader for a nav clip that loads clips that load jpgs from an XML array
Posted by mermagen at 9/13/2005 8:42:57 AM
Hey Folks, I searched everywhere and tried everything I could find or think of and 3 days later I'm giving up. I have a nav clip that is full of thumbnails for a gallery type thing. You can see it here: .childNodes.attributes.link); } //trace(xmlfile.getBytesLoaded()); _root.a...more >>

LoadVars from ASP Chinese
Posted by luciewong at 9/13/2005 8:32:07 AM
HI, my String in Chinese arrives from a Text file, loaded by ASP, to Flash LoadVars like this>>: "???????????????????????????????????????" What could I do?? Must I do something with my ASP? Many thanks in advance Luciewong ...more >>

Flash Detection Problem
Posted by Seraya at 9/13/2005 8:14:26 AM
Hi, I've downloaded the flash detection kit but I'm having some problems combining the Flash Player Express Install scripts with the scripts generated from Flash 8. I've noticed that the scripts created from Flash 8 are different from the scripts in the file called playerProductInstall.htm...more >>

One day time limit expiration
Posted by doinka at 9/13/2005 7:38:29 AM
One day time limit expiration ------------------------------------------------------------------------ I'm searching for an actionscript that will check the date and only play my swf file for one day. No matter what day the swf was original launched it will only last that one day. I wou...more >>

loadVars problem!
Posted by moglidroop at 9/13/2005 7:30:27 AM
I have a problem with loading a txt-file in my flashmovie. When I test my movie it works fine, but when I publish my movie it doesn't work anymore. What's wrong? _root.tekstVar = new LoadVars(); _root.tekstVar.load("algemeen.txt"); _root.tekstVar.onLoad = function(success){ if...more >>

Get ID from Datagrid on cliek. Help please
Posted by PaulAnka at 9/13/2005 7:29:26 AM
Hi, I have populated the datagrid component from a loop with addItem. Now when I click a row I want to get de value of the ID of the cell. How can I do this?...more >>

AC Programmer Wanted
Posted by PerfectH at 9/13/2005 7:16:37 AM
Greetings everyone, I am new to this forum board, so go easy on me. Anyways, yes, I need a programmer for a game I started throwing together. Though it has sort have already been made already, I feel that it can be improved. This game is no other then... Mega Man X! Ahem, anywho, I'v...more >>

dynamic text from xml problem
Posted by bongobuda at 9/13/2005 5:55:43 AM
Hi I need help with dynamic text from XML. I am loading xml in my flash movie and in nested movie clip I created dynamic text field which is populated with data from XML "var in properties box". When I test movie I am seeing everything fine data is loaded into the text field. Then I used ?free...more >>

depths (flash 6 versus flash 7)
Posted by Pluda at 9/13/2005 12:00:00 AM
Hello, I've one component made in flash mx, using actionScript1 and set to export as flash player6, but I'm making him v2 and flash7, but I've one single problem. using this in flash player6 actionScript2: _root.createEmptyMovieClip(clip, level++); it works perfectly, but if I publ...more >>

preloader being a pain!
Posted by aetienneVPD at 9/13/2005 12:00:00 AM
i've made this preloader code and it checks out with no script errors but when it comes to start the movie once eveything is loading or even load the frames it doesn't, can someone tell me what i've done wrong? Here is my code: stop(); if (_framesloaded >= _totalframes) { gotoAndPla...more >>

Linking Buttons
Posted by .T.O.E. at 9/13/2005 12:00:00 AM
Hi it's me again... i was away a little so i didnt catch the answer u told me:( You deleted my topic. I asked that how can i link my own made flash buttons. That if i click then it opens same window....more >>

Flash 8 JS Integration Problem
Posted by Mastah dOmina at 9/13/2005 12:00:00 AM
I?m trying to transfer data between a Flash Movie and Javascript, width Flash 8, but I got a problem! The same routine works fine in FireFox, but it does not work in IE 6 if the Flash Movie is inside <form></form> tags. Example: ----------------------- <object classid="clsid:d27cdb6e-a...more >>

get complete file name from FileReference
Posted by Mgala at 9/13/2005 12:00:00 AM
Hi, I want to browse for files to upload and then instead of using the upload method I would like to use sendAndLoad to post the files to an upload page. How do I get the full path to the file? I see the name property but it only displays the file name itself without the path. My uploa...more >>

Movie clip in frame 10 won't play
Posted by artscreations at 9/13/2005 12:00:00 AM
Hi All, I am trying to get my swf file to jump from frame one after all the photos fade in, to frame 10 where I have placed an mc to play, (name of the layer is poem), but I don't quite understand timeline scripting. I am pitifully new at this, and this site I am working on I have not be...more >>

how can i change background color?
Posted by fileserver at 9/13/2005 12:00:00 AM
Hi: i'm designing a web page using flash and i need to know if is there any way to leave the visitor of the page, the option to change the background color of the page by clicking on a button. thanks ...more >>

Scroll pane border?
Posted by Dz(00) at 9/13/2005 12:00:00 AM
is there any way to get rid of the black border that appears around the scroll pane? cheers....more >>

Open a powerpoint ppt through flash movie link
Posted by monoly at 9/13/2005 12:00:00 AM
I make a link in flash and when i click on the link it should be open externel Powerpoint ppt file. plz help me and give me the script. i am waiting. thank you:( I have this code but it is not working ... on (release) { fscommand ("exec", "Presentation.bat"); } ...more >>

Window Component / Video
Posted by PC88 at 9/13/2005 12:00:00 AM
Does anyone know how to use the window component to play FLV files within a larger SWF file? thanks!...more >>

how to store info of the last state of the dynamic movie in the shared object
Posted by abhuj at 9/13/2005 12:00:00 AM
i have built a dynamic application for one of my client. Now the problem is i wants to creat a sheard object which can contain the level information of my dynamic movie, through which if it (browser) gets refreshed or closed and open again it should display the last level of the movie befo...more >>

reading external sound file
Posted by Ayat Kamal at 9/13/2005 12:00:00 AM
i tried to use loadSound but it's not work any one know how to read mp3 external file ? ...more >>

Action Script Help (PLEASE)
Posted by CarmeloWho at 9/13/2005 12:00:00 AM
I am new to Flash and Actionscripting and I was hoping I could get some help. I am attempting to make a movie clip scroll when the mouse cursor is placed on top of it and stop when not. I have been trying all night and I can't figure it out. COuld someone help me please! ...more >>

jumping from one moving to another - help
Posted by manhattanmediaworks at 9/13/2005 12:00:00 AM
I come from Director land where it is very easy to jump from one movie to another a la "gotomovie 'movieName'"...I know about Movie Clips, but since I have 2 separate pieces of logic already built into separate FLA files, I am finding it would be easiest as this point to jump from one movie to...more >>

Load and Unload Movies Between Scenes
Posted by leoserra at 9/13/2005 12:00:00 AM
I'm trying to make an inteactive map for a department. Let's say that A is the general floor map. If I press an area of the map, then it goes to another scene (B) with that part of the map. My question is how to go to scene A, by exiting scene B. I tried to make a gotoAndStop("Scene 1",1...more >>

Video Help
Posted by Matt Ostil at 9/13/2005 12:00:00 AM
Okay, so I edited this small 1 minute film and imported it into Flash. I added buttons (Play, Stop, etc.) to it and all the other essentials that I needed for this movie. My problem is that that the file is too big and if put on the internet, it will take way too long to load. Could s...more >>

How to change html bg color from swf
Posted by JaySprout at 9/13/2005 12:00:00 AM
I have a movie at http://www.sproutgraphics.com (no preloader, please give it a moment). Click the door to "enter." I would like the background of the html page to change when the background of the movie changes. How do I do that? I have an idea that it's calling some javascript code when a...more >>

problem with createTextField
Posted by alokjain_lucky at 9/13/2005 12:00:00 AM
when i execute following code for (i=0; i<xdivisons; i++) { this.createTextField("tLable"+i, this.getNextHighestDepth(), (ygaps*i+graphy)-(lableWidth/2), graphy+graphHeight+10, lableWidth, lableHeight); with("tLable"+i){ selectable = false; autoSize = "center"; text = 100; ...more >>

Scope question
Posted by Wendy Bardsley at 9/13/2005 12:00:00 AM
Hello, I want to check and see if I declare a global variable in the first frame of my movie, then load other movies in a movie clip within that movie, will those movies know about and can they affect that global variable? version: mx2004 publishing in flash 6 Thanks, Wendy ...more >>

Assigning behaviours to objects in actionscript?
Posted by aurora_all at 9/13/2005 12:00:00 AM
Hey, can anyone tell me if its possible to assign behaviours to objects in actionscript?...btw I'm new to programming in ActionScript. I've created an object like a rectangle to represent a car and I want to know if Ican perhaps use actionscript to define how it interacts with the movieclip ...more >>


DevelopmentNow Blog