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 > june 2005 > threads for monday june 20

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

How do I use AS to zoom in on an image, based on where the user clicked?
Posted by B.Sewall at 6/20/2005 11:54:05 PM
Say I have an image of a product. I want the user to be able to see the details of the product. So, wherever they click on the image, it will zoom in centered on wherever the user clicked. How would I do that? Thanks! ...more >>


Multi-Function Button?
Posted by C H at 6/20/2005 9:47:19 PM
I have a simple animation that plays on the stage. Behind the animation I put a button so that the entire stage is, essentially, a button. What I want to do, is when someone clicks on the button the movie stops, and then when they click it again, it starts again where it left off. The button i...more >>

anchors
Posted by yertari at 6/20/2005 9:15:06 PM
HI, Could someone please tell me how to correctly use named anchors? on my timeline where each of my pages are, i have placed an anchor marker, thinking that when the user presses back in the browser, it would take them back to the previous page, however i just tested my movie and they do...more >>

Transparent graphics
Posted by [AtomiK] at 6/20/2005 8:41:39 PM
Hi, I am making a presentation which will be re-used with many kinds of graphics. I am currently slammed by 1 limitation: That only images in JPG format can be loaded dynamically into a movie. This would be fine, but that problem is that these graphics need to have transparent areas in the...more >>

Flash file size?
Posted by yertari at 6/20/2005 8:26:03 PM
HI, I am drawing a close on my first flash site which i am really pleased with. I have one concern though. I have a page that has 20 links in a list component. When one is pressed, the information displays in the main window, along with a picture. AS there are 25pics, and text for ...more >>

sound player?
Posted by Ineedsleep at 6/20/2005 8:16:23 PM
I have a little sound player that works fine but I would like to know 2 things 1. how do I load the sounds as and when I need them so that they dont all load at the beginning? as this has a big effect on the initial loading time??? 2. how do I show load bar for this?? on (release) { ...more >>

Measuring Scrollpane's vPosition against content height
Posted by invisojoe at 6/20/2005 7:27:05 PM
I've seen quite a bit of discussion about the v2 scrollPane for MX 2004, but none appear to address my problem. I'm creating a scrollable menu by dynamically loading empty movie clips into the content MC of my scrollPane, then doing a createTextField for the menu item, with that item's tit...more >>

Hardcoding doLayout() in *.AS file
Posted by Snoooopy at 6/20/2005 7:19:34 PM
Problem: Currently the script (*.as file) is usefull for square or Portrait photographs but when a 'Landscape' image is used, the code is using the width of the image (770 in the xml file) as the vertical height of the display area. IE: The image is 770 x 440. The display area being create...more >>



using one SWF to control another
Posted by Miriam McD at 6/20/2005 7:09:30 PM
Hi everyone - I've got one SWF which has two empty movie clips in it (emptyMC and emptyMC2). I'm using loadMovie to load a "movie" SWF into emptyMC and a "controller" SWF into emptyMC2. The "controller" SWF can then play, pause, and rewind the "movie" SWF. I've currently got three fra...more >>

Formatting dynamic text
Posted by robin_greene at 6/20/2005 1:44:59 PM
Hey guys, How do i format dynamic text in actionscript? I wanna have paragraphs in my text, but can't wor kout how to! text_mc.text = "hello i'm having trouble"; but i wanna have a paragraph between each word, also this is being made for flashlite so i cant use instance names for dyn...more >>

need some help with actionscript
Posted by beckman at 6/20/2005 1:10:24 PM
I am creating a program similar in concept to the ones for deisgning a kitchen etc.. basically i need to be able to move little objects and place them creating a room layout. so here are my questions please help if you know anything - Is there a way to make a combobox stay at the top o...more >>

Proxy issue
Posted by Globe Cube at 6/20/2005 12:57:34 PM
My company set up a proxy server, since than I connot run .swf applications using LoadVars object. I think it is simply unbelieveble that flash doesn't let configure proxy settings to connect with URLs trought a proxy server. Does anybody have any suggestions, I am going crazy with this proble...more >>

dynamically get data from access using for loop
Posted by vinay at 6/20/2005 12:50:09 PM
Hi All, I want to display data from access database in which there is a field called name with differnt names as data in it. I need to diaplay all the names at once inside flash. I am using for loop to do this by duplicating movieclips, but i cant get the data inside the MCs. Can any body h...more >>

external text question
Posted by Aniuta at 6/20/2005 12:18:38 PM
Help needed!!! Is it possible to justify dynamic text loaded from txt.files. I tried to do it by pressing the justify button in the properties panel. It did not work (that was quite naive of mine to think that everything was so easy!:)). I also used the relevant tag (like in html) <p al...more >>

Open a library using Actionscript
Posted by mstrop at 6/20/2005 12:08:57 PM
Is it possible to open a library during movie run? The idea is - I'll distribute basic application and movie clips will be distributed in separate library. During runtime the basic application will open shipped library and it'll use the most recent clips. It can be different for each customer ...more >>

Movieclip visibility
Posted by nickcrispini at 6/20/2005 11:37:43 AM
I have a clip that I don't want to be visible so I set the _visible to false. However I have a timeline loop over a few frames, the clip in question is only used on frame 1. When the timeline loops back to frame 1 the clips visibility is turned back to true. Does anyone know how to prevent ...more >>

Clips enumeration
Posted by mstrop at 6/20/2005 11:27:02 AM
Hi, I need to list all movie clips stored in movie's library in a combobox. Please, could anybody help me with the task? I flagged the movies for export in the library, but I don't know how to enumerate them in Actionscript in order to get their names. Marek ...more >>

manipulating Date()
Posted by de_seb at 6/20/2005 10:30:07 AM
Hi Everyone, Since I have had no success in getting this to work, I would appreciate if anyone could help me out. The code below shows 2 examples of how I was trying to manipulate the time display so that it would continue to run with the new updated time. In Example A the time works con...more >>

Linkage Query
Posted by mickybhai at 6/20/2005 10:06:45 AM
Not sure if it's a dumb question but i would like to know if its possible to call a movie clip from a remote swf using identifier and linkage...... For eg a movie clip with identifier say A is loaded in movie1.swf can i use the symbol in movie2.swf with identifier linking to movie1.swf ...more >>

buttons activating MCs depending on their frame#s
Posted by inhan at 6/20/2005 10:00:00 AM
Hello everyone. It was hard to sum up my problem in the title, sorry for the lack. I'm quite a beginner in flash AS, so I'm trying real hard to achiev something for the last 3 days, which made me nuts. So here i am... Well the thing is, I have 4 menu items having 4 MCs on which I hav ins...more >>

Help - MovieClip Loader Problems
Posted by SabyGaba at 6/20/2005 9:33:51 AM
i m using moviecliploader for fistr time. i have made simple animation of images fading in and fading out. i m facing two problems while using it 1) myMCL2.loadClip("4.jpg", _root.img_ld.container);//this works properly load images into clip myMCL2.loadClip(_root.im[ima...more >>

How to create orbit moving menu?
Posted by et_me at 6/20/2005 7:41:08 AM
I have to create dynamic menu retrieved from database. Let's say i have 6 menu. menu1,menu2,menu3,menu4,menu5,menu6 I have 6 positions as well. 0-5 where 0 is the focus position, watever menu i click will move to position 0. Now, i successful make all the menu that being click will go to...more >>

Halting SlideShow
Posted by MandyD55 at 6/20/2005 6:32:09 AM
This is probably something very simple for you all but I am a newbie. I have been searching for two days for a resolution that works but I am stumped. Like I said I have a slideshow... I'm not using tweens just actionscript. I have three images of puppies that I have converted to movie clips a...more >>

Drawing a solid "rectangular" line
Posted by maulia at 6/20/2005 1:09:30 AM
Hi, When you draw a line with a thickness of 20 for example, you will see that the line is round-shaped, and not a solid rectangular line. Copy-paste this code for example: createEmptyMovieClip("pen_mc",5) pen_mc.lineStyle(20,0x000000,100); pen_mc.moveTo(100,100); pen_mc.lineTo(200,1...more >>

Actionscript - Sound: play random files
Posted by OrionSin at 6/20/2005 12:25:57 AM
I have been working with my ActionScript Bible =) for an answer to a problem I am having. I need to have my webpage load a different or random sound, each time the user enters the site, or refreshes, etc. I utilized the code, pasted below, and for one file was able to get it to work great! How...more >>

Auto Page Refresh
Posted by BillG-Chicago at 6/20/2005 12:15:31 AM
I'm developing a site which requires that it refresh itself every X minutes. I'd appreciate any thoughts/pointers on the most elegant and least-processor intensive ways to approach this. Thanks! Bill ...more >>

Can anyone tell me what is wrong with my script
Posted by beckman at 6/20/2005 12:00:00 AM
i am trying to load multiple movieclips onto the stage and then moving them around. i would also like to rotate the clips individually using the left and right buttons. so far this script allows me to do everything except rotate the clips. if there is something wrong or i need something els...more >>

programmatically pasting text to clipboard
Posted by iekman at 6/20/2005 12:00:00 AM
I am trying to write a script where the user clicks a button to copy selected text to the clipboard. An alternative approach would be a "presskey" function similar to authorware. I am an experienced authorware user but new to flash.:confused; ...more >>

using arrays to check for a button press
Posted by kirknetiq at 6/20/2005 12:00:00 AM
I have six buttons on a frame. When a user presses a button they are sent to a new frame with information - then they click another button and return to the first frame with the six buttons. I want to be able to check that each button has been pressed, and if it has, I want to set the alpha (s...more >>

Browswer Compatibilty Nightmare
Posted by cnolde at 6/20/2005 12:00:00 AM
I can't load external swfs in firefox (version 1.0) on a mac for some reason. I've got an action on the timeline that says: loadMovie("movie1.swf", movie1); I've got the movie1.swf in the same directory and a movie1 mc on the same timeline. Everything works perfectly in safari and on I...more >>

action script help with x value
Posted by bstone24 at 6/20/2005 12:00:00 AM
I am trying to extend the x value on the right hand side of my stage so that all of my graphics will fit. With my current code I can fit 8 graphics that have a width of 175 pixels, but it acts funny if I try to scroll to the width of 9 graphics. Below is my code and I can email you the fla if ...more >>

Moving an image
Posted by DTS ES at 6/20/2005 12:00:00 AM
does anybody know how to realize it.... i have an image (some 1000x500 pixels) and a small window (some 200x120 pixels). What i want is to move mouse's cursor inside this small window, thus moving big image...so it's like some kind of economy of space for viewing images :) would apprici...more >>

actionscript loop syntax
Posted by Sloaneranger at 6/20/2005 12:00:00 AM
I have 10 movie clips and I'd like to set each one's visible property to 0. Instead of writing each line, setProperty("image1", _visible, "1"); 10 times, how would I set the range from 1-10 and do it all in one go? many thanks. ...more >>

URGENT !!! remove movieclip which is insde a movie clip
Posted by vinay at 6/20/2005 12:00:00 AM
Hi All, how can i remove a movie clip which is attached inside a movie clip. I have a MC button in which i have two frames with butons inside one button have the code: on(release) { _root.clipone.attachMovie("atck","atck1",0); this.gotoAndStop(2); } and the other with on(release) { ...more >>

drag 'n drop combobox??
Posted by beckman at 6/20/2005 12:00:00 AM
is there a way to make a combobox draggable yet still be able to select the scroll down menu using in the combobox? and if so how? thanks alot! ...more >>

scene navigation
Posted by fingles at 6/20/2005 12:00:00 AM
i am using a trial version of flash and am having trouble with assigning an action to a button, this might be because of the trial version? i dont know. the action required send the player to frame 1 of a different scene, within flash the following coade works fine, but when i publish the ac...more >>

Sound Volume not behaving
Posted by Sudipto at 6/20/2005 12:00:00 AM
hello I have several sound object .To one of which i have attached a sound.To other i have Loaded Sound.the problem is when i set Volume of any of the sound objects.All other are also effected.Viz when i lower the volume of one all others are also lowered. var soundobj=new Sound Object();...more >>


DevelopmentNow Blog