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 > november 2006 > threads for tuesday november 14

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 to play sound only on homepage?
Posted by mbeedub1 at 11/14/2006 11:48:10 PM
I'm a newbie so apologies if this is not the appropriate place for this post. I have a flash animation that is used for navigation. I'm adapting the animation. It is used to create the left navigation on each page. One of the layers is a sound file. this is fine but plays when ever the user ...more >>


Trouble with tabbed menu
Posted by gmwade at 11/14/2006 11:20:00 PM
I'm a Flash newbie. I'm trying to create a tabbed menu in Flash similar to http://www.flash-menus.com/itab.asp. On mine however, when you click on the different buttons you go to another web page and that is working fine. Also the rollover text works fine too. However, I'm having trouble figu...more >>

Second request for help on scrollpane
Posted by stevew at 11/14/2006 10:56:12 PM
Sorry for the duplicate no answer from my first post. I have a scrollpane Scroll1. I set its contentpath to "movie1" When run movie1 shows within the scrollpane. I need to progam a button to replace the contentpath with "movie2" I have tried: _root.Movie1.loadMovie("movie2.swf"); _roo...more >>

URL issue
Posted by Sharma at 11/14/2006 10:03:21 PM
It's a very basic problem but I can't seem to crack it. The getURL command is activated by a button which works fine when tested in Flash (Ctrl+Enter). However, when I test it in the browser nothing happens. I am using the following script on the button: on (press) { getURL("http://www.my...more >>

GetUrl from local flash to distant server
Posted by ced at 11/14/2006 9:55:20 PM
Hello, I have the following problem : - the page index.html displays a flash animation.The page is on the hard drive of the computer. In this animation, there are some links to some html pages. the links are like that : getUrl ("http://170.16.16.16/news.php") // numbers are false, just...more >>

video matting also known as letter boxing with FLVplayback component
Posted by dont-vibe at 11/14/2006 9:38:04 PM
I would like my FLVplayback component to stay a fixed size with the video centered in the middle at its original size. I find that when the source FLV is a smaller size the FLV player shrinks to the size of the video. using auto resize on a small video causes pixelization, and is unaccepta...more >>

Dynamic keyframe creation?
Posted by raylaur at 11/14/2006 9:04:54 PM
I want to use XML and Actionscript to create, name, and assign objects, and navigate to frames on a timeline. So, for example, if the XML contains 10 "page" nodes the Actionscript will create 10 frames named "page1", "page2"......"page10". Then a button on a named frame can jump to another nam...more >>

Please help beginner! Few pong questions.
Posted by tibor29 at 11/14/2006 8:32:02 PM
So, I have just started creating my own pong game after learning the basics of Flash 8. Everything went perfectly until now, I got a bit stuck. I got to point where I have fully working menu, multiplayer and singleplayer, you can play against another person using mouse and arrows. I actually ...more >>



reload or refresh?
Posted by rugner at 11/14/2006 8:04:47 PM
Does anyone know how to detect if a user hits refresh/reload?...more >>

Puzzel Game
Posted by IndioDoido at 11/14/2006 7:57:02 PM
Hi I've created a simple puzzel game in flash, where the user has to drag several objects to a specific areas on a board, no problem here. But there's 2 things i can't do. First i want to jump to another layer when all the objects are in there places, i tryed to do that with a if() but didn...more >>

How do I cut a square out of a larger square using actionscript
Posted by Greg Arroyo at 11/14/2006 7:54:43 PM
I want to use actionscript to draw a square in a larger square that appears as a hole or window in the larger square. I know how to use AS to draw a square, but I can not seem to find a way to cut one square out of another. Does anyone know how to do this? ...more >>

Random - no repeat...
Posted by DIY_Lobotomy at 11/14/2006 7:43:49 PM
I need to get a set of random numbers into an array, but I can't have any numbers repeat. So, as a practical example I will need, say, 25 numbers that all fall between, say, 1 and 50, but I need ALL 25 numbers to be different. Order is not important (lowest to highest, highest to lowest, mix...more >>

How do I define the greatest _x position based on a loop, assuming I know the last element of the loop?
Posted by Pluda at 11/14/2006 7:43:25 PM
Hello, This may be complicated, I've a loop that creates emptyMovieClips then I use one function to onRollOver _xscale them += 10 Now I want to move another movieClip based on the greatest _x position of my previously _xscaled elements, how do I do that? example for (var i = ...more >>

Drag/Drop Using 2 Movie Clips
Posted by jen_saic at 11/14/2006 7:06:46 PM
This seems like such a simple problem, but after countless hours of tweaking, I can't figure out why it's not working!! Probably because I'm a semi-ActionScript-newbie... I'm trying to make a drag/drop interaction with one movie clip on the main timeline as the drop area and another movie ...more >>

variable usage
Posted by jandron at 11/14/2006 6:05:18 PM
Can a variable be used like this? If not does anyone have any idea how I might be able to control a movie clip which comes from a variable? var itsMe = "movie1_mc"; itsMe.gotoAndStop(horVal);...more >>

Why Does This Not Work?
Posted by jandron at 11/14/2006 5:24:51 PM
Why isn't this working? I'm trying to capture the current movie clip determined by a vertical slider into a variable "imVisible" and pass that variable along to a movie clip control line. Can anyone please let me know what I'm doing wrong. Can you not use a variable in a movie clip control pat...more >>

Directory structure problem...
Posted by DIY_Lobotomy at 11/14/2006 4:36:59 PM
Hello. I'm sure this is an issue of how I'm setting this up, so hopefully someone can check this code and see what I'm doing wrong... Okay, here's my setup - I have an MC called "videos_mc". Within that is a video object called "theVideo". Here is a snippet of code that works totally fine ...more >>

pop up window only works once - this is for a charity project so help is gratefully received.
Posted by martianarm at 11/14/2006 4:13:22 PM
I'm working on the site http://www.rhythmsdelmundo.com The proceeds of this project go to support climate change awareness and natural disaster relief. These are the elements relevant to this problem The 'buy album' button opens up a pop up window. The 'take a little voyage through t...more >>

deleting license info off computer
Posted by iamalex at 11/14/2006 3:39:06 PM
Once you remove the flash program, how do you remove all the license info on the comptuer so it cannot be reloaded? Thanks...more >>

scrolling text problem
Posted by ckavinsky at 11/14/2006 3:21:17 PM
I'm editing a Flash site in Dreamweaver MX and need to modify a text field to enable scrolling. I followed the directions in the help panel, but it's not working properly ... both the up and down arrows are scrolling down. I changed the text field to dynamic text and gave it the instance nam...more >>

Changing a cast member/sprite
Posted by otterman at 11/14/2006 2:57:43 PM
Before I begin, forgive my lack of knowledge on this, my background is Lingo so Im not familar with actionscript or flash terminology at all. Here gos anyways- Im essentialy tasked with having an animation clip loop (xmas snowing scene) with 'season greetings' in several languages automatica...more >>

property list
Posted by dave at 11/14/2006 2:46:07 PM
Could anyone please point me towards a definitive propertry list for the datagrid. I'm specifically intersted in being able to center text vertically within the cells. Thanks ...more >>

transitionManager
Posted by lou_games at 11/14/2006 2:25:17 PM
I am using Transition Manager to fade in several MovieClips of maps. import mx.transitions.*; import mx.transitions.easing.*; trans2 = TransitionManager.start(map2ndMC, {type:Fade, direction:Transition.IN, duration:2, easing:None.easeNone}); Is there extra code to kill the instance ...more >>

getURL problem
Posted by khuti2005 at 11/14/2006 1:44:44 PM
i have my movie with a movie clip which inside has another moview clip but this one has a getURL() function on it. however nothing happens when i click this. im 99% sure its correct, as ive also got other movieclips ins this movie that work. ive gone over this soooo many times now and can...more >>

Scrollbar Component
Posted by gringito at 11/14/2006 1:19:12 PM
I am using one of built-up flash components, the scroll bar one (with a dynamic text filed). Is it possible to accelerate the text movent while being scrolling? I mean from fastest move to slow down ... ...more >>

bouncing ball
Posted by Jimmathy at 11/14/2006 4:04:23 AM
I have a bow made of 4 MCs, one on each side. When the ball MC loads I want it to start traveling in a random direction. When it hits a wall of the box i want it to bounce off with an opposite angle. for example: if the ball was traveling at a right angle along the x axis toward the wall on th...more >>

cuepoint embeded in video itself
Posted by flaskvacuum at 11/14/2006 3:14:58 AM
just wondering will my FLV sizes increase if i were to embed my cuepoint together compared to using actionscript cuepoint? I understand that actionscript cuepoint tend to have slight delay and to me accurancy is very important so i have to embed them instead. ...more >>

for .... for.... if loop
Posted by sbryner at 11/14/2006 2:12:54 AM
hello, I'm trying to search an XML file checking the childNodes of said file. The problem is I have a function that looks like this: going into the if statement the to variables I want to check to see if they are equal ARE EQUAL but it does not go pass the if portion of the function ...more >>

Looking For An Image Scroller (Mouse Controlled)
Posted by Jeff Schiefelbein at 11/14/2006 1:17:20 AM
Im very suprise i havent been able to find an image scroller on the web that has worked. I dont know what im doing wrong, or what im missing.. Can someone please point me in a direction where i can find a simple mouse controlled image scroller tutorial. Thanks ...more >>

Store a custom class in SharedObject
Posted by Dinghus at 11/14/2006 12:09:09 AM
According to the documentation I can do this. Flash 8. import myClass; var myObject:Object ; myObject = new myClass(); Then I add in data via methods. Then I do this: var mySO:SharedObject = SharedObject.getLocal("mySO"); mySO.theClass = myObject; mySO.flush(); Now whe...more >>

Converting Actionscript 1.0 to 2.0
Posted by Brenton07 at 11/14/2006 12:06:02 AM
I am working an item I intend to integrate into a video player. The just of it is that I have nine buttons that I want to loop inside of an area that allows me to scroll them left or right depending on my mouse location in a defined area. I have a basic setup with 3 layers: actions, trac...more >>

LoadVars object and XML object
Posted by rohai at 11/14/2006 12:00:00 AM
Hi, can I use LoadVars for sending variables to asp and then XML for receiving the xml data, created by asp?...more >>

dragging a movieclip attached to the root timeline
Posted by rodolfo1216 at 11/14/2006 12:00:00 AM
Can anyone help? I used _root.attachMovie to attach a movie clip to the root timeline, but I can't seem to get the attached movie clip to be draggable. Here's what I did (the movieclip - called myMC - has a linkage identifier called "myMC"): _root.attachMovie("myMC", "myMCattached",getNex...more >>

onLoad problem
Posted by tegnegi at 11/14/2006 12:00:00 AM
i ve a movie clip called mc on frame 12 on root timeline n just above it i ve another frame where i m using frame scripting mc.onLoad=function(){ trace("hi") }..but its not working ..m i going right??...waht all i know is that it doesnt work on dynamically loaded movies..but my movie c...more >>

Problem with character's limitation in URL
Posted by Algeroth666 at 11/14/2006 12:00:00 AM
HI, I have a problem with the character's limitations in URL. I make a SendAndLoad to retrieve my variables (URL and legend). I put this in a dynamic text, but the URL is too long, and flash cuts it. I've seen there is a solution (asfunction:bigUrl), but it doesn't run with a dynamic tex...more >>

Actionscript error
Posted by ChantelOliveira at 11/14/2006 12:00:00 AM
I am trying to add actionscript to a button. It worked previously, but now when i try it comes up with the error "Mouse events are permitted only for button instances". I am confused because the object i am adding the actionscript to IS a button instance. Can anyone tell me why this is ...more >>

Random movie call up
Posted by richmal at 11/14/2006 12:00:00 AM
Hello - my actionscripting is terrible, so I need help :) I have a movie on the homepage of my website, from which I have a loadmovie script, calling in movie. However I want something more dynamic than this. What I would like is for the movie on the homepage to randomly call up 1 of the...more >>

Text wrap detection / calculation
Posted by com2 at 11/14/2006 12:00:00 AM
Depending on the length of a phrase, I would like to vertically centre a text in a Flash box. Is there a way in Actionscript to detect wheather text was wrapped or not? If there is no build in detection, how could it be "calculated" correctly? I want to vertically centre a one line header...more >>

player controls for swf similar to the flv player controls component?
Posted by solbeam at 11/14/2006 12:00:00 AM
Is there a component that is similar to the flv component that will control playback of a swf? or can this component also be used for a swf? I tried to create a player that uses loadmovie to load a swf, which works, but when i tried to create play, pause, forward (next scene), rewind (previous...more >>

Flash Javascript Intergration
Posted by Think Like a Winner at 11/14/2006 12:00:00 AM
Hi, I have created a flash movie and tried to enable communication with javascript. I tried both the old method, using setVariable and the new way using the new set of classes used in flash 8. When neither of these worked I downloaded samples and tried them. These also did not work. T...more >>


DevelopmentNow Blog