all groups > flash actionscript > december 2006
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
button activation
Posted by Gizay at 12/31/2006 11:04:48 PM
I am embarrassed to ask this question. But how do you activate a button that
is embedded in a movie clip? Do you use the linkage properties to export for
ActionScript or is there another way?
Gizay
... more >>
1 set password
Posted by Sin D at 12/31/2006 9:20:04 PM
I need a page with a password that is the same password for everyone. The
password is only to discourage individuals who don't need to know large group
pricing.
If the password passes the viewer will be directed to a url...Can I do that?
If the password fails the viewer will be directed ... more >>
AS/JS limits?
Posted by Whit G. at 12/31/2006 5:43:24 PM
I'm working on a revised portfolio site for which I want my Flash movie to be
able to dump content into a DIV that's sitting above it. Aside from the fact
that I'm having a bit of formatting trouble with the JS by itself, it has
recently been brought to my attention that Flash now has built-in... more >>
Loading an external SWF
Posted by macccc at 12/31/2006 4:14:51 PM
I am just trying to load an external SWF into the background of my main Flash
movie. Basically, I have these clouds in one SWF that I want to play in the
background of my main movie. I have tried to use the LoadMovie option, but to
no success. I am not sure I am using the TARGET function corre... more >>
Commenting System in flash blog
Posted by Aniket at 12/31/2006 3:55:39 PM
Hey friends,
i'm a newbie here, and this is my first post asking for a help.
i'm creating a blog, a flash blog that will load posts from .html files
in a dynamic text field. i have used LoadVars class and various other
things to get the blog to working condition. n now i need a way to add
comme... more >>
flv embed
Posted by jagguy99 at 12/31/2006 12:31:39 PM
Can you embed a flv file to be viewed on a webpage. I can with a swf file but
not flv.
I have mozilla and thought is the plugin but it fails for flv file
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFl
ash&P2_Platform=Win32&P3_Browser_Version=Netscape6
... more >>
Permanent border during the animation
Posted by Swirlsky at 12/31/2006 12:20:36 PM
Hello,
I have a rectangle. It has an empty fill and 4px wide border. It's
InstanceName is Rectangle.
I increase it's size with the following ActionScript:
[code]var TweenWidth:Tween = new Tween(Rectangle, "_width",
mx.transitions.easing.Strong.easeIn, Rectangle._width, 500, 2, true);
v... more >>
Time controlled AS Tweening
Posted by bat210 at 12/31/2006 11:18:28 AM
Hello,
i would like to move a movieclip from point A to point B on the X-Axis on my
stage using Actionscript. I know how to do that, but i also want to control the
time that the movement takes to complete, for example i want the movieclip to
arrive at point B after exactly 2,5 seconds. Can... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Setting stageWidth?
Posted by waya penguin at 12/31/2006 11:04:30 AM
In the ActionScript 3.0 Language Reference, the property stageWidth (of Stage
Class) is read-write, and even has a setter.
http://livedocs.macromedia.com/labs/as3preview/langref/flash/display/Stage.html
stage.stageWidth = 800; ==> DOESN'T WORK!!!
Anybody knows why???
... more >>
How to move this MC!
Posted by fanglinyong at 12/31/2006 6:57:27 AM
hi:
i created a mc named cannon, if i pressed the LEFT Button, then the mc
would move to left,this is the code ,can anybody help me?
inintX = 275;
inintY = 350;
// this is the MC:cannon;
cannon._x = inintX;
cannon._y = inintY;
//this is the MC: shot;
shot._x = inintX;
... more >>
actionscript button
Posted by lreadl at 12/31/2006 5:43:27 AM
This seems like it should be simple, but I'm having a lot of trouble. I have a
..as files with a class defined in it, and that class has a function defined in
it. I also have a button attached to a movieclip attached to another movieclip
on the stage. How do I get that function to be the on... more >>
ScrollPane.complete problem
Posted by Boen_Zhou at 12/31/2006 2:02:31 AM
Hi, Everyone!
We all know the following example works.
--------------------------------------------------------------------------------
--------------------------
/**
Requires:
- ScrollPane in library
*/
System.security.allowDomain("http://www.helpexamples.com");
this.cre... more >>
Passwords
Posted by joesmoes at 12/31/2006 1:17:53 AM
:confused;
Hello,
I have a HTML page that holds a very simple to use password forwarder.
When i give it the right user name a password it will redirect my to my
members only area!
The problem is that any one looking at the source that can then get to the
members area.
Can i make ... more >>
People Count
Posted by joesmoes at 12/31/2006 1:08:15 AM
Just like a websight you can have people count/web count.
I was wondering is there a script that allows a person count, An indivusal
count, and also a total count.
I realy only need a total count of people entering my sight. (it also includs
people reentering)
:grin;:grin;:grin;:grin;:... more >>
Flash Quiz
Posted by uxk8396 at 12/30/2006 8:24:25 PM
:smile;
Hello:
I am making a Flash Quiz using the (Key.isDown(key.ENTER)). However, every
time I press the ENTER key on my keyboard, the scores get added (definitely
because of the "onEnterFrame" function)
Kindly advise which function I should use instead of the "onEnterFrame"
to mak... more >>
If statements
Posted by helpLaura at 12/30/2006 7:47:01 PM
I am looking for a bit of help on if statements.
i want to write an if statement to put on a button where it looks at which
frame a paricular movie is on.
eg
if movieclip 1 is at frame 6 then play... else do nothing.
How also do i include 2 statements.
if movieclip 1 is at fr... more >>
preloader failure
Posted by hisp at 12/30/2006 3:18:17 PM
Hi, i've just made a very simple preloader that works just fine... well almost!
I thought maybe some of you could help me solve this problem. Here it goes..
I've made a basic structure for looping the timeline on a preloader scene. On
the second frame i've got this script:
loadedbytes ... more >>
Create a matrix from MovieClips with a for statement
Posted by Swirlsky at 12/30/2006 2:59:43 PM
Hello,
I try to create a matrix from MovieClips with a for statement but it does not
work.
The code is the following:
[i]var PicLoader:MovieClipLoader = new MovieClipLoader();
function createMovieClips() {
var c:Number = 1;
var Pic1:MovieClip = new MovieClip;
var Pic2:MovieCli... more >>
infinity with preloader
Posted by maxdido at 12/30/2006 10:23:04 AM
I noticed something strange !!!
When I view my site www.lucubaghs.com on a computer with flash version 8.0.24
the preloader works perfect. the percentage is shown from 0 too 100%. But when
I go to a computer with flash version 8.0.34 or higher(v9) I get infinity%?
Isn't this strange?
thi... more >>
I NEED SOME MORE HELP NOW!!
Posted by Seise at 12/30/2006 2:43:38 AM
Now I´m back with a new animation problem that I need help with. If you look at
my try out page at: http://www.mickesei.se/flash/index.html
The problem I have if I press on "Idéen" button it works OK, and the same if I
press "Fakta" button, but then the problem comes. If I want to go back to... more >>
flash.net.FileReference in Flash 6
Posted by ChrisTek at 12/30/2006 12:20:47 AM
One more time. Is it possible to use the flash.net.FileReference class in Flash 6? I am working on a project for Sony's PSP handheld, and it's flash player is limited to version 6. ... more >>
Day 10 all I want to do is close a movie
Posted by jsg5403 at 12/29/2006 10:50:09 PM
Ok,
I decided to make a new topic. I have been trying everything and I still can't
make this work.
I made a web page that has a bunch of buttons that when rolled over shows an
image and when clicked opens a video player on layer 50 over the image. I can
not figure out how to make the m... more >>
Taking a Screenshot using Actionscript during SWF runtime
Posted by PULauraLu at 12/29/2006 9:47:54 PM
Hello,
I work for a company that wants to create a screensaver from a Flash movie.
They want the Flash movie (screensaver) to fade in (on top of the user's open
windows/desktop). Flash does not appear to allow transparent backgrounds for
SWF files (only if you are using them within HTML,... more >>
Easing animation navigation like Yugo
Posted by Imhotep06 at 12/29/2006 9:10:25 PM
Peace fam
I am new to this Fuse Kit and I wanted to know if anyone knows of a tutorial
or something that will allow me to do a navigation system like this one here:
http://www.showlogic.com/
There is a similar example below at the Laco site for the Yugo navigation:
http://laco.wz.cz/tw... more >>
Converting String To Date
Posted by AwesomeDigital at 12/29/2006 8:13:23 PM
I am getting a date as a text string from a feed (Fri, 29 Dec 2006 1:52 pm CST)
I would like to load that in as a real date but I don't think it is formatted
correctly.
Can anyone suggest a simple way to convert the string to a date?
Thanks
Mathias
... more >>
I want to load an external swf into an mc that is above the current mc....HELP?
Posted by dtrace at 12/29/2006 8:05:31 PM
It seems fairly basic.
I want to load in an external swf into an mc that is above another mc. Once
the new swf is loaded in, I want the lower one to be set to _visible = false.
How would I set this up? Is it a matter of swapping depths?
Each time a button is clicked, I want the new f... more >>
How to have both rollover & getURL together
Posted by MurrayComputing at 12/29/2006 7:20:30 PM
Hello -
Working on a web project that uses a Flash "template" from the webhost. This
scene has movie clips for "About Us" "Contact Us" and so forth. If I convert
the MCs to buttons the rollover stuff doesn't work, if I use what came with the
template I can't make getURL work with a differe... more >>
movieclip follow another movieclip
Posted by Abs55 at 12/29/2006 6:59:12 PM
Hi,
I wanted to know how to make one movieclip follow another movieclip as I have
a mask movieclip which masks the stage except a fish movieclip. I want the mask
movieclip to be on the fish movieclip at all times so when the fish moves, the
mask moves with it and so when the fish moves ove... more >>
Conditional question
Posted by LarsAmes at 12/29/2006 6:29:43 PM
all I want to have happen is that is the user is on a page page1.html the flash
in the page loads a swf file. Pretty much I just need flash to check what page
the user is on then load a certain swf file. Sorry but I don't even know where
to start.
... more >>
Reloading Images
Posted by davdrums3d at 12/29/2006 6:13:44 PM
I would like to be able to put a few different images inside an SWF file and
have them change every time the page refreshes. Is this at all possible to do
in Flash? I know it is possible with html and javascript and whatnot. I need it
to be done in an SWF. Any help would be most appreciated. T... more >>
RollOver does not work
Posted by Swirlsky at 12/29/2006 5:44:52 PM
Hello
I have a problem with the RollOver event.
My task is the following:
[b]To create a MovieClip[/b] with 50% alpha:
[i]this.createEmptyMovieClip("mcPic", this.getNextHighestDepth()); mcPic._x =
10; mcPic._y = 10; mcPic._alpha = 50;[/i]
[b]To load an image in it:[/b], (and resize... more >>
Script Crashes Flash
Posted by kernst1 at 12/29/2006 5:24:40 PM
Hello all,
I am having problems with the attatched script. I have an if statement in a
loop that keeps crashing flash. If I takw out the if statement it works. So I
replaced the if statement with something I knew was true and it still crashed
the Flash Authouring system. see attached c... more >>
Bug or ??
Posted by Knud59 at 12/29/2006 4:03:56 PM
I am building a hangman game (Flash 8), where users can supply their own list
of words in an external text file. I am using the LoadVariables function and
the method for loading variables from an external text file described in the
help system, and this works fine - as expected - as long as th... more >>
changing properties of MCs in arrays?
Posted by Joniba at 12/29/2006 3:03:22 PM
Hey I'm just getting into actionscript and have no programming background...
Is it possible to control movie clips that are indexed in an array?
Detail:
I have 35 circles arranged in a circle, each an instance of the same
movieClip (call it MC). Each one has a number (mc1, mc2, etc.).... more >>
gap between sounds
Posted by master2006 at 12/29/2006 2:02:03 PM
i import my CP2 project into Flash8 pro ,
But whene i test my movie or whene
i publish my project from flash8 ,I hear gap
between sounds, exactly
whene the slides changed at captivate
Projects.
I discussed about this problem at Captivate forums but they
suggested me to discuss about... more >>
Help with alpha transparency
Posted by johnnewc at 12/29/2006 1:14:54 PM
Can some one help me with changing a MC from 0% alpha to 100% alpha in actionscript?... more >>
Countdown timer:Reset 3 times a week
Posted by larris at 12/29/2006 9:35:46 AM
HI to all.I have made a counter but i want it to reset 3 times a week at
specific days of th week.
I want it to reset first every Tuesday at 9:45,Every Thersday at 18:00 and
every Saturday at 12:00
Can anyone give a hint or a sample code.
Here is my code
this.onEnterFrame = functio... more >>
Password If statement targetting _root
Posted by Dream432143 at 12/29/2006 9:12:25 AM
I have a site designed in flash that when a button is clicked my "attachmovie"
script opens up a movie...
LoginButton.onRelease = function(){
_root.attachMovie("LoginMovie", "Login_mov", 1, {_x:50, _y:200});
}
This works fine...
The movie is a password login which pops up in the main... more >>
save data when the user close the window
Posted by flsg at 12/29/2006 2:59:58 AM
hi I'm new
how do we save data (to a database) when the user close the window (which contain my flash game)?
I thought of using onEnterFrame to save data each frame, but it's not effective... more >>
Looking for this nice effect
Posted by Detonate 2004 at 12/29/2006 2:48:04 AM
Hello everyone,
I've been looking around for a couple of days and am trying to build this
smooth easing effect.
Please have a view here: http://www.cozumelrs.com.br/
When you move your mouse around on the 1st page before selecting languages,
everything responds in a smooth mouse opposite... more >>
onSoundComplete vs. movie clip event
Posted by Major Seven at 12/29/2006 2:36:18 AM
Hello and Happy Holidays!
I have a movie that I am trying to sync with some external mp3 files -
basically a narrated voice over.
What I am having a problem with is that, depending on which browser, computer,
server, act of God, etc seems to be effecting it at the moment, it seems that
... more >>
More on External Sound Files
Posted by kdock at 12/29/2006 2:27:00 AM
<<Heavy Sigh>>
I'm using Flash 8 Pro and created a slide presentation. The top slide has
common elements, including audio file control buttons. Each of the content
slides has an external audio file associated with it, which the viewer can play
by clicking the "play" button. The slide an... more >>
Do dynamic text boxes require listeners?
Posted by Brenton07 at 12/29/2006 12:18:25 AM
I have hard coded clip info that I am trying to put into an info pane. It works
when it is just my scroll pane and the clips, but when I put it in my full
flash file, I no longer have dynamic text updating onRollOver. Here a sample
piece of script. the thumbnail reeves, which is a button, is i... more >>
MovieClipLoader Lag
Posted by BeniRose at 12/29/2006 12:17:01 AM
Hey guys. I'm trying to use MovieClipLoaders to load in these external pics to
this flash website, but it's lagging like crazy. Here's a little chunk of my
code:
//set up our loader
var loader:MovieClipLoader = new MovieClipLoader();
listener = new Object();
loader.addListener(listener... more >>
_rotation tween help
Posted by BryanThomas at 12/28/2006 11:13:21 PM
Firstly, this is what I have so far. http://sgateweb.com/hockey/rcs.html
As you can see, I want the arrow on the wheel to point to the button being
moused over. I have that working.
My problem is when items on the left are being selected. When you go from on
to another on the left, the ... more >>
Text Scroll Speed
Posted by JamieATL at 12/28/2006 10:29:11 PM
I'm using the "scroll" property with a couple of onPress events to fluidly
scroll text up or down in a dynamic text field. For example:
myTextField.scroll += 1;
It seems that there's no way to reduce the speed of the scroll below "1,"
which is relatively fast for most font sizes. I u... more >>
Easy Function
Posted by Obster at 12/28/2006 9:25:39 PM
I know this should be an easy one but ive been busting my butt looking for a
solution.
I am trying to pull an external jpg file into a new window using different
buttons. I know there is a way to assign a function to each button for just the
file path then I dont have to copy and paste all t... more >>
hitArea question regarding mulitple areas
Posted by _postdBy(Vern); at 12/28/2006 9:05:30 PM
I am building a somewhat complex menu system. The first step is a simple
animation that reveals the actual buttons. There will be three seperate MC's
that each reveal their own set of buttons. I am using "hitArea" to make the
rollovers work, but here is my problem. I get it to work fine wit... more >>
XML attachMovie Problem
Posted by yoyoyoyoyoyoyoyok at 12/28/2006 9:00:39 PM
Hi, I am fairly new to this flash carry on and have run into a problem when
using xml and attachMovie to create a dynamic menu for an application that I am
building.
When I put the for loop in the onLoad function the attachMovie code does not
seem to work but if I put it outside this fun... more >>
[F8] - ExternalInterface.addCallback() problem in IE 6
Posted by caguru at 12/28/2006 8:47:53 PM
After reading all the adobe info on this issue, I still cannot make
ExternalInterface.addCallback() function in IE 6, works great in Firefox.
I have tried every suggestion and still cannot get this to work in IE.
Notes:
1. This movie is not embedded in a HTML <form>
2. the js call to f... more >>
|