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 > april 2006 > threads for wednesday april 5

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

Re: Flash 8 File Upload with ASP.NET
Posted by JK_Mtl at 4/5/2006 11:02:51 PM
I have been trying to upload files using ASP.NET too, and it is driving my crazy. I also get a Request.ContentLength equal to 0, no matter if I try it locally or using my server. From the Flash side, I am using the standard code that is available in the help files and pretty much anywhere else...more >>


Bug?
Posted by panka99 at 4/5/2006 10:33:58 PM
I have a movie clip with and action script in itslast frame gotoAndPlay("Scene 1", 2). When I enable simple frame actions it works OK, but once I test the movie it goes to the 2. frame of the movie clip instead of the 2. frame of Scene 1. Any ideas? ...more >>

setInterval or getTimer() ?
Posted by lostinscript at 4/5/2006 9:55:43 PM
Hi, In a game im trying to make, Im trying to get a movie clip to appear on stage at certain times, say..every 10 seconds, move off the stage, either left or right (according to a different mc's position on stage). I've been playing with both the setInterval and getTimer with no luck.....more >>

Tweening Programmatically Question
Posted by DPSwebmaster at 4/5/2006 9:46:55 PM
I am working on an ActionScriot project listed in the Macromedia ActionScriot 8.0 Bible and I do not understand this part After drawing a circle, Set circle to export for ActionScript in the linkage properties. Use Circle as the linkage identifier. where is this done in the Flash interfa...more >>

Pausing Flash Video
Posted by skk at 4/5/2006 9:15:55 PM
Is there a way to pause an FLV file halfway through with cue points and actionscript, then resume playback using a simple button? I can't use any skins with this project. Thanks...more >>

Movie follwing my cursor
Posted by tommy cooper at 4/5/2006 9:03:34 PM
:confused; I have seen a movie that follows a cursor on the following site http://www.tbwa.com/ on the home page Can you please give some instructions and advice on how I can do something similar ?? / All I need to know is how I would get the movie clip to follow the cursor.. Sample ...more >>

attachMovie() problem
Posted by thefulleffect at 4/5/2006 8:10:54 PM
picture the following scenario: frame one of my main scene has the following code: _root.attachMovie("id-off", "mc_off", 1); { mc_off._x = 50; mc_off._y = 50; mc_off._width = 360; mc_off._height = 240; } this loads correctly. mc_off is a video clip that also contains a butt...more >>

Passing xml variable to function
Posted by Grinshtein at 4/5/2006 7:33:46 PM
Can someone help? I have a bit of code that looks like this: fooXml = new XML(); fooXml.ignoreWhite = true; fooXml.onLoad = fooList.populateFoo(fooXml); fooXml.load("foo.xml"); I want to pass the "fooXml" to a function called "populateFoo" (it belongs to a class), but the other e...more >>



How do I code standard HTML into a flash file?
Posted by TiJayOldroyd at 4/5/2006 7:33:25 PM
the body agrees with the topic summary: "title says it all..."...more >>

Automatically load Website when done
Posted by brandony at 4/5/2006 7:21:46 PM
I created an intro and when the flash movie is complete I want it to automatically open the website rather than having to press a button/link. It seems simple, but I cant find a way to do this...more >>

Fast Forward / Rewind - Seek
Posted by flying_scott at 4/5/2006 6:46:52 PM
I have several long movie clips within my scene and I want the ability to "seek" through them with a fast forward button. I am a novice at action script, but I came up with this: on (press) { _parent.nextFrame(); } on (release) { _parent.play(); } This works (sort of)...more >>

Pop-up window Javascript in Actionscript PROBLEM!!!
Posted by adamlamas at 4/5/2006 6:30:51 PM
I'm using the following line of javascript code in Action script to enable a button (a thumbnail of a picture) to present a bigger version of the picture in a popup window: on (release) { getURL ("javascript:NewWindow=window.open('1.htm','newWin','width=379,height=576,left=0 ,top=0,too...more >>

moving text under an image in a text area?
Posted by FlashForumName at 4/5/2006 6:24:29 PM
I think I am missing something obvious here that hopefully someone here can help me out with. I have a textArea component on the stage. What I want is it to have some text with a movie clip inserted after it and more text to follow like this: text movieclip text Problem is, it di...more >>

Using the Tween class with dynamic text?
Posted by lshake at 4/5/2006 5:46:10 PM
I'm loading images with a text label from a database. I would like them to fade in one after another and overlap. I've succeed in making this work for the images, but not for the text. The number of images (and text labels) can vary, so I can't just hardcode it. Here's the snippet code ...more >>

not displaying info on rectangle function
Posted by hollywoodbb at 4/5/2006 5:36:48 PM
I?m having trouble displaying my boxes and input from my xml file. What I want to do is create 1 rectangle box (size 285 x 59 pixels). This box will be duplicated for the other 5 boxes that are needed to be displayed. So there are a total of 6 rectangle boxes. Within these 6 box fields I wa...more >>

Pre-Event Animations
Posted by I.M.P. at 4/5/2006 5:23:25 PM
What is the best way to create an animation before an event takes place? For example, if a viewer is looking at a page on my site and they click a button to move to another page, how can I incorporate an animation on the existing page before the next page is loaded up? I want to have everyth...more >>

Problem in Text Embedding
Posted by arunbe at 4/5/2006 3:52:50 PM
Hi, I am doing a project with the flying text in the stage. I have completed that. But, after upload the same project in the server, the text is not appear. But, its work well in the local. Anyone know why this problem happening ???? ...more >>

Using an inactivity timer
Posted by Paradigm at 4/5/2006 3:41:30 PM
I have searched the forums for timer hints and tips and although I've tried utilising some suggested code - I can't quite get this to work in my particular project. I have a Flash presentation set up for our reception area. It consists of a looped movie clip in one Scene which acts simila...more >>

Re: MovieClipLoader / OO button actions
Posted by Kevin Favro at 4/5/2006 3:24:01 PM
Ok, thanks Luigi, Remember, it's not all mine, and it was written a long time ago. I've just started redoing it, so you might see things that disgust you! :) http://www.servinitup.net/main.fla Thanks! ...more >>

Getting position of a scrollbar
Posted by nitsirk857 at 4/5/2006 3:14:08 PM
Hi, I have a simple UIScrollBar attatched to a text box, and I'm wondering how I can get the position of the scrollbar. I've tried a few things but can't find any code that quite works for this. If anyone could help that would be great or if you needs more info feel free to ask. Thanks! ...more >>

get url into flash
Posted by jonnybennett at 4/5/2006 3:13:17 PM
Okay I have an example url.... www.myDomain.com/profile.php?user=dunno I need to pass the value of user=dunno into my flash movie. my flash movie is embeded within the page of profile.php... How do I pass the value of user to flash? It is making my brain hurt trying to do this. ...more >>

Blocking exit app combination keys
Posted by John Doe at 4/5/2006 3:11:49 PM
hi: is there a quick wait to block exit app combination keys in a PC projector (Ctrl+Q, Ctrl+W, Alt+F4)? tia, jdoe...more >>

loadSound not working in IE but works in Firefox??! Help!
Posted by OctavianMH at 4/5/2006 3:10:32 PM
Greetings all, I've posted this in the general forum with no luck, so I thought I'd try here. Situation: A simple flash movie, using a loadSound method, works correctly in FireFox/Safari in our production environment, but IE will NOT play any sound. All browsers work just fine in our s...more >>

making a .FLA like Powerpoint presentation
Posted by sharaabi80 at 4/5/2006 2:51:19 PM
I have macromedia FLASH professional 8. I am very new to the softwarwe and trying to learn it as I go. Q1. Someone has a made a presentation in .FLA format but when I publish it, I have to click the NEXT symbol for it to go on the next screen. I want to make the presentaiton go AUTOMATIC...more >>

Reverse Animations
Posted by jokerstyles at 4/5/2006 2:27:38 PM
Any help would be appreciated. What action scripting is used to create an "closure" animation tailored to a specific page or button when clicking on another button. This website has numerous examples of what I am looking for, www.seanjohnwheel.com. When you click on a diffe...more >>

Aplha
Posted by Star Tail Pro at 4/5/2006 2:03:17 PM
the code below is very simple, i press a button and it is suppose to lighten the text and circle but the test stays opaque and the circle is semi-trasparent. So waht could be wrong :confused; btn_btn.onPress = function() { test_mc._alpha = 50; } ...more >>

XML Generation by ASP
Posted by Gleipnir at 4/5/2006 2:01:53 PM
Hello, I am using ASP / VBScript to generate XML on the fly for a Flash app. In one usage, I am posting a set of variables to an ASP page where it parses the data and writes it to a DB. Once the data has been written, Flash then calls another ASP page and writes XML to reflect the changes. ...more >>

Changing color of text inside a button
Posted by DJ James at 4/5/2006 1:54:11 PM
I have buttons that are created dynamically for courseware and I want to turn the text inside the buttons grey until they have visited the frame (to show that the button is disabled and and they can't use it)... if I put just a dynamic text box down, and give it a name, I can change the color,...more >>

Thanks, everyone
Posted by TiJayOldroyd at 4/5/2006 1:54:02 PM
Thanks to everyone's help throughout this process, I finally have the finished product of my first full code. I'm sure y'all have had a few explicitives for me for all my questions, and n00bness, but I wanna thank you all for bearing with me. I have one more thing to add (a reset button) ...more >>

Reading in swf filename and location
Posted by scoot007 at 4/5/2006 1:44:02 PM
Does anyone know of any way for an swf to read in it's own location and filename using actionscritp? Thanks Scott...more >>

From Shape tween to Frame by Frame
Posted by Egui at 4/5/2006 12:57:14 PM
Is it possible to converts a shape tweened animation into a frame by frame animation?...more >>

Scenes in Flash
Posted by Egui at 4/5/2006 12:55:54 PM
Can someone lead me to good explanations as to why Scenes should not be suggested or used in Flash Projects?...more >>

set font size in menubar/menu component
Posted by dex002 at 4/5/2006 3:59:17 AM
does anyone know how to set the font size of a menubar component? I have been able to set the theme and font by using the following code, but the code I have here for the font size has no affect: MainMenu.setStyle("themeColor", "haloBlue"); MainMenu.setStyle("embedFonts", "true"); MainM...more >>

tabindex in a .as file
Posted by boxdoctor at 4/5/2006 3:45:31 AM
Hi all. I know i've done this before, but for the life of me I can't find my other code. I know this is probably one of those obvious 'duh' answers but I have the following: class com.moviestore.admin extends Movieclip { private var btnAdd:Button; private var btnMod:Button;...more >>

Problem with OnRelease Button Event :(
Posted by pantotamago at 4/5/2006 3:33:47 AM
I'm a newbie. I Copy 1 button from sample of Flash8, and type this code: import mx.controls.*; inv_btn.onRelease = function(){ getURL("http://localhost"); // or other links like www.vnagency.com.vn , ..v.v... } >> Why I can't get this URL :( Can you show me or give me an example? ...more >>

Animated Rollout
Posted by Ross B at 4/5/2006 3:24:13 AM
I read through the animated Roll out tutorial on this website but it only offers a solution if you want to create a parked movieclip as the rollout animation. What i am looking to do is have the animated rollout be the same as the roll over, just the oposite effect. When the user rolls ...more >>

Animated Rollout
Posted by Ross B at 4/5/2006 3:24:00 AM
I read through the animated Roll out tutorial on this website but it only offers a solution if you want to create a parked movieclip as the rollout animation. What i am looking to do is have the animated rollout be the same as the roll over, just the oposite effect. When the user rolls ...more >>

Class Scope Issue-Help!
Posted by andersonsidney at 4/5/2006 2:40:19 AM
Hello Everyone! I need a Guru on Classes and attaching video. If I have this code in frame 1 with a FLVPlayback Component in the library, everything works fine. import mx.video.*; this.attachMovie("FLVPlayback", "my_FLVPlybk", 10, {width:320, height:240, x:100, y:100}); my_FLV...more >>

loadSound (streaming issues)
Posted by kidloco at 4/5/2006 12:47:40 AM
I, this is my first post so > greetings to you all :cool; :o My question: is there a way to kill a streaming process in the loadSound event ? Cos if i make a loadSound to a sound object that is "currently loading a previous sound", flash stops the previous sound, starts the new one, but...more >>

Moving large MC causes memory leak
Posted by blemmo at 4/5/2006 12:38:38 AM
Hello forum, this problem is very similar to the problem http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=288&thre adid=1128053&highlight_key=y&keyword1=memory: I have a quite large MC (10000x10000 pix) and want it to scroll on key presses. The scrolling is just cha...more >>

What is wrong with this script
Posted by LISTi at 4/5/2006 12:00:00 AM
What is wrong with the following script? feedback = new Array(); feedback = "That is correct"; feedback_txt.text = feedback; feedback_txt is a dynamic text field that should diaplay on stage.....but it comes back as UNDEFINED. ...more >>

lineStyle with dynamic mc
Posted by opencity at 4/5/2006 12:00:00 AM
using MX2004 have 8 button action calls a line drawing function - works except I can't figure how to pass dynamic MC names to lineStyle eval was my usual kludge - something with brackets - but I can't find it. on (press) { newname = "newshape"+1; createEmptyMovieClip(newname, _lev...more >>

programmatic skin button
Posted by personaex at 4/5/2006 12:00:00 AM
Hi, there I'm working on Flex project. In order to change the visual appearance of button, I drew the skin in Fla file and tried to use these skins (i.e. symbol) in another AS file. Both Fla and AS file (named as myButton.fla and myButton.as) are in the same directory. However, it doesn't wo...more >>

button with 2 actionscripts
Posted by StevenRAN at 4/5/2006 12:00:00 AM
I need my button to do 2 things. 1. go to frame 2 and stop AND 2. run the actionscrit listed below. I just do not know how to tie both of them together. on (release) { if (_root.section != "photos/01.jpg") { _root.section = "photos/01.jpg"; _root.transition.gotoAndPlay("cl...more >>

loadMovie()
Posted by mr.eddy at 4/5/2006 12:00:00 AM
Hi, If you embed your SWF on a HTML page that is not in the same folder as the SWF file, any loadMovie() in the SWF will fail because the relative path used is the path of the HTML file and not the SWF file??? This seems absurd. Workarounds needed ASAP! ...more >>

How to STOP USING THAT SCRIPT!!
Posted by Angyl at 4/5/2006 12:00:00 AM
OK, I have 3 layers. The top one is the actions layer that I put all my actionscript on to control the items on the other two layers (buttons and movie clips). On Keyframe 1 of the actions layer, let's say I have the script: stop(); navBar.b2.gotoAndStop(6); navBar.b1.buttText.buttonTex...more >>

how to load Movie from subdirectory ?
Posted by kukurus at 4/5/2006 12:00:00 AM
hello guys..., glad to join macromedia flash forum... i hope all of you will be my friends and welcome me friendly okay.. i got a problem... i have some swf files these are my files : \tes.swf (not finished file) \subdirectory\wawa.swf \subdirectory\MojaveOverNoVol.swf \...more >>

menubar
Posted by dex002 at 4/5/2006 12:00:00 AM
I can use .change broadcast to tell me which selection a user makes from a menu, but I can't seem to do the same for a menubar. Some items on my menubar I want to be selectable themselves without any further menu coming down from them. For example, I have a Contact button on the menubar whic...more >>

Create a slideshow with images.
Posted by Peter Fettes at 4/5/2006 12:00:00 AM
Please assist. How can I create a slideshow which actually slides each image on and off the screen as seen in http://www.arcadeagency.com/. - view work portfolio to see. I know its a tween effect coupled probably with some actionscript. Is thier a tutorial on this anywhere?, or perhaps ...more >>

MovieClipLoader / OO button actions
Posted by Kevin Favro at 4/5/2006 12:00:00 AM
Hey all, I'm sort of new to AS. I've read a few books on AS, and have a decent understanding, and tonight I began working on a friends' old site. I think it was created with Flash 4 techniques and practices, so I'm trying to update it and modify the code to take advantage of all the ne...more >>

attachMovie();
Posted by n-Qube at 4/5/2006 12:00:00 AM
I dont't know if this problem had already been address in this forum. this.myleg_btn.onRelease=function(){ this.gotoAndPlay(20); this attachMovie"(head_mc","head",2); } The problem is the tween on frame doesn't finish playing then the movie is attached to the satge. is there away to en...more >>

not sure how to explain this!
Posted by beyondthebrand at 4/5/2006 12:00:00 AM
Hi all, I am not advanced in flash at all yet but i have many ideas i want to do on my site. The latest idea i have is as this: If you imagine an old slide projector, where you click the button and the slides all move round one in a circle to the front to show that slide. Well i want t...more >>

swapDepths and Scene issue.
Posted by yuvallahav at 4/5/2006 12:00:00 AM
Hello all, I have tried to find this issue here, and couldn't, so, here goes: When I use swapDepths on a movie clip (which always works for me, I don't know why people wrote here it doesn't work some times..), the clips move the depth I want, and all is good (I am talking about movieclips I ha...more >>

Documentation of ActionScript
Posted by Ritu Chawla at 4/5/2006 12:00:00 AM
Hi, I am trying to write action scripts but have no idea of the controls available in flash and how to write code in their events, is there any documentation provided for the same....more >>

buttons and functions
Posted by Star Tail Pro at 4/5/2006 12:00:00 AM
i was just wandering is it possibile to define a function to a button(below); next_btn.onPress = nextFun(); function nextFun() { trace('hello'); } //or does it have to be next_btn.onPress = function() { trace('hello'); } ...more >>


DevelopmentNow Blog