all groups > flash actionscript > january 2006 > threads for friday january 6
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
Sound On Button Over
Posted by daduber2 at 1/6/2006 11:12:02 PM
Is there any way to make a button play a sound when you mouse over the button
and then stop immediately after you pass over of it. I can make it play right
now but if it is a minute long when i pass over it it plays the whole minute.
Thanks In Advance,
Dave
... more >>
setInterval inside if statement problem
Posted by Crimin at 1/6/2006 10:58:54 PM
I am having trouble getting a setInterval function to fire when I put an If
statement before it.
I have 2 buttons, one is a sound on button that sets a variable to "true" when
pressed. The second button is used to fade the sound out using a setInterval
function that should only run if the va... more >>
Animation then jump to a frame?
Posted by bbelt at 1/6/2006 10:19:56 PM
Hello there. I'm new to flash therefore new to actionscripting. The code
doesn't seem to be that much disimilar to python. Anyways, here is my
situation.
I have a menu consisting of five buttons on the left side of screen. It stays
here only on the "home" screen. Clicking any of the o... more >>
Flash Player errors
Posted by nintybloke at 1/6/2006 10:10:26 PM
I'm making a site for a customer,
the site will contain some Flash 8 elements, such as the intro, logo, menus,
and some other stuff.
The majority of this site's visitors has Flash player 7 or less, so I made a
flash player version detection script, which works fine (multiple people tested
... more >>
Creating frame labels and actions with ActionScript
Posted by Julien Couvreur at 1/6/2006 9:55:50 PM
Hi,
I wrote a simple Flash object using ActionScript and MTASC, and I've
been doing interop with Javascript using ExternalInterface. Now I'm
trying to switch from ExternalInterface to the older style interop
method: TCallLabel.
I'm not very familiar with the concepts yet, but it sounds... more >>
Assign a function to a :Function type variable
Posted by Norbertofh at 1/6/2006 9:32:45 PM
Hello,
I'm trying to assign a function to a :Function type variable. To be more
precise, the :Function variable is the onMotionFinished member of an instance
of Tween.
The thing is that the function that I'm trying to assign is a method of
another class, so it goes something like this... more >>
DataGrid styles
Posted by Dinghus at 1/6/2006 8:42:34 PM
Using the online and book examples of how to change styles for the data grid,
all I've been able to do is change the background color.
For instance:
_level0.myDataGrid.setStyle("hGridLines",true);
does not yield any horizontal grid lines.
What has the documentation left out that I ... more >>
flipping MCs using AS?
Posted by Miriam McD at 1/6/2006 8:42:16 PM
Hello -
I need to be able to horizontally flip the entire movie (all the movie clips
and other symbols on stage, including their relative positions) dynamically
using ActionScript. I have an application that will be localized into Hebrew
and Arabic, so the UI needs to flip for those countr... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
if (("Exist"+lightVar)==1){...
Posted by badmonkey91 at 1/6/2006 8:10:45 PM
How can I add a Variable (counter variable) to the end of another variable in
an if( ){then}?
set("speed"+lpVar,0)
set("size"+lpVar, 0)
^this is what I used before, but it will only set it, can you check it also
somehow?
... more >>
Mail Form problem
Posted by okdes at 1/6/2006 7:33:28 PM
I use flash8, CGI script and the Hebrew language.
when I export my contact page as flash 6 and above, the input texts with
Hebrew input export as gibberish.
when I export the same file as flash 5 everything is ok and the hebrew text is
readable.
syntax:
loadVariablesNum("http://www.x... more >>
linking to a website from a CD
Posted by BullocksTroy at 1/6/2006 7:26:15 PM
i am making an executable Flash file to put on a cd, and in it I have a button
link to a website. when I tested this button locally, I found that I had to
change my Global Security Settings to tell the internet to "trust" my SWF file
and open up the website in a browser.
however, since I a... more >>
Transparent images and hitTest
Posted by Znibben at 1/6/2006 7:06:59 PM
Hello
I need help with some actionscripting in Flash 8
I'm loading an external GIF image into a MovieClip with
MovieClipLoader.loadClip. Now I need to perform a hitTest between the mouse
position and that image, the hitTest should return true only if I have the
mouse over a non-transpa... more >>
Movie Clip run time load
Posted by durban393 at 1/6/2006 6:50:38 PM
Ok, so on frame 1 of my movie, i am preloading a bunch of images into their own
movieclips using the moviecliploader class.
Now that they are loaded, i want to be able to assign one to a movieclip in a
different frame. How do i that?
... more >>
Need Action Script to solve Naviagtion and Movie Issue
Posted by INVTBoss at 1/6/2006 6:23:40 PM
I have a movie with 5 scenes 4 being the content. Each use the same elemtents
as the first scene but are animated in a differetn sequence. I would like to
make them animate back to their original state and then go to the specefied
scene.
So far I been able to use frame labels to navigate t... more >>
Tweening numbers - can it be done?
Posted by logeye at 1/6/2006 5:58:37 PM
Is there an easy way to tween numbers without using onEnterFrame?
(My thought is that the Tween class is like a convienent onEnterFrame
command.)
I am trying to develop aircraft instruments that pull information from a
variable that contains an airspeed.
Right now I'm using the Twee... more >>
elastic layout
Posted by microes at 1/6/2006 5:16:37 PM
i'd like the contents of my swf aligned "TL" to reposition itself on the resize
of any browser window
here's an example of what i.m aiming for only my swf is aligned top left }}}
http://www.rigsbydesign.com or
http://www.gskinner.com/site2_5/
any help would be appreciated
... more >>
Problem with Local Flash 8 Player
Posted by Chick Newman at 1/6/2006 5:11:59 PM
I have a Flash file embedded in a html page here (
http://www.newmanveterinary.com/DentalProblems.html ) that communicates with
another page, shown in an i-frame in the same window (about 1/2 way down the
page). After putting the pages to together, everything works fine on the
internet, but... more >>
For ?
Posted by badmonkey91 at 1/6/2006 4:59:46 PM
Is there some equivlant to
For x=1 to 10
in actionscritp?... more >>
registering a class using actionscript
Posted by codescodescodes at 1/6/2006 4:47:51 PM
I'm trying to register a class to an object using actionscript and I'm not sure
how to do it. My code looks like this:
//On the timeline
var teaNames_array:Array = new Array({label:"Please select a tea"},
{label:"Green Tea", data:"greenTea"}, {label:"Black Tea", data:"blackTea"},
{lab... more >>
Actionscript 3.0?
Posted by Andrew_Roe at 1/6/2006 4:27:47 PM
Is there a way with actionscript 3.0 to create custom collections? if so how
do I utilize AS 3.0 in my flash application it seems to only support 1 and 2.
I"m still new to the whole AS thing so please excuse me if this is a dumb
question. Thanks in advance.
... more >>
Re: "Home" button
Posted by BullocksTroy at 1/6/2006 3:36:40 PM
Originally posted by: kglad
what parts work and what parts don't work?
the working button goes back to the home page and skips to the end of all the
intro movie clips, so it just jumps to a static version of the page.
the non-working button goes back to the beginning and plays all the movi... more >>
Arrays
Posted by durban393 at 1/6/2006 3:15:25 PM
Is there a way to make an array of movieclip objects?... more >>
Preloaders
Posted by daliangelo at 1/6/2006 3:09:13 PM
I am trying to make a preloader for my overall movie. It is divided into
scenes. I needed to know where to put the preloader and how to do it.
I also need a preloader for external images that are being loaded into the
movie for an image gallery.
This is the code on each thumbnail butt... more >>
Using external images with this transition
Posted by alanwallace4 at 1/6/2006 2:42:39 PM
Hi there,
Is there any way i can use external images with this transition.
Here's the code...
Stage.scaleMode = 'noScale';
var speed = .3;
var delay = 3;
var switchblur = 9;
var images = ["pic1", "pic2", "pic3"];
var index = 0;
var transbmp = new flash.display.BitmapData(480,... more >>
hitTest Trouble
Posted by sirwebster at 1/6/2006 1:02:18 PM
im making a platform game and hitTest is giving me a real headache
this code works
var player:MovieClip = _root.mc_level.mc_player;
var ground:MovieClip = _root.mc_level.mc_ground;
player.onEnterFrame = function() {
if (!ground.hitTest(this)) {
fallSpeed += 1;
} el... more >>
variable question, should be easy?
Posted by Brian at 1/6/2006 12:58:32 PM
I am having problems with a variable that comes back incorrect. I am
trying to move one image onto the stage and then move that one off and
another one(any one of a serious of image, determined by what button was
clicked) will move onto the stage. So once the new image is on the stage
it goe... more >>
Skewed Perspective Text
Posted by AwesomeDigital at 1/6/2006 12:16:15 PM
I would like to import some text from a external file then place it into my
movie with a skewed perspective.
Is it possible to break up text on the fly then skew it with actionscript?
Thanks
Mathias
... more >>
Strings & Variables in MX
Posted by badmonkey91 at 1/6/2006 12:04:03 PM
here is the line Im having trouble with
duplicateMovieClip("/Lightpole", "pole"&lpVar, lpVar)
I am trying to dynamically duplicate a movie clip object, so I can have 4 or 5
at a time, and update/remove them.
but the variable isnt doing squat, anyone know why?
... more >>
Bring internal movieclip to stage
Posted by SurfR at 1/6/2006 11:38:04 AM
How can I bring an internal movieclip to the stage by the click of a button.
I've created a movieclip but I want it to appear on the stage (with the right
coordinates) when I click on a button. 2nd question... How do I remove it from
the stage using a button?
Many thanks in advance!
Ro... more >>
Expandable menu
Posted by Tinius at 1/6/2006 11:04:31 AM
New to Flash and ActionScipts, but familiar with MM apps. But... trying to make
a menu which is expandeable (like trees in Windows) with plus/minus symbols to
click.
Found a Menu and a Tree component in flash, but how to access the "code", or
set parameters to it, set up it contents...
... more >>
xml - how to select next item in loop?
Posted by Tony Barnhill at 1/6/2006 9:42:01 AM
Hello,
Sorry to crosspost, just didn't know which group was more relevant.
I am importing an xml file into my flash and assigning the value from my =
xml to the .text value of a movie clip in flash. I then have that movie =
clip looping. My problem is, is that I want to move through the list... more >>
frames
Posted by veiky at 1/6/2006 9:34:28 AM
I have 3 scenes in my flash movie.
the bottom part is same for all the scenes.(four buttons)
Is there any concept of frames in flash.
or any other sugestion so that i dont have to waste time in doing the same
thing again...
... more >>
"Save target as..." in Flash
Posted by Francis K at 1/6/2006 8:11:16 AM
Hello! I am making a website fully in flash. I have one problem though.. I want
people to download mp3 file when a flash button is pressed. But all I can get
is when I press on the button the song starts to download immediatly to default
folder, but I want a function, something like "Save targ... more >>
New LoadVars and PHP problem
Posted by Bahaar at 1/6/2006 4:12:40 AM
Howdy all.
I've just started teaching myself PHP and getting Flash to send data to a PHP
script which will then write data to a .txt file on the server. I spent some
time here in the forums reading and even got help in getting started. Now,
I've come up with a new problem that really has... more >>
Audio Playing Problem
Posted by ylon at 1/6/2006 4:04:26 AM
I have a question regarding a script that someone helped me with on #flash on
irc.freenode.net. I am playing an audio file at the moment, but after several
seconds of audio have played the audio restarts again from the beginning. It
seems as if it doesn't finish downloading and just starts a... more >>
"Home" button
Posted by BullocksTroy at 1/6/2006 3:25:12 AM
I have several movie clips in the intro to my document - they all play in
sequence when it opens, and takes the viewer to a table of contents. I want to
have a "Home" button that returns to this table of contents, but bypasses all
the animation. all the elements in the table of contents are in... more >>
Back Button -- Top and Bottom Swapping Function
Posted by ImagicDigital at 1/6/2006 3:00:15 AM
(Sorry in advance for long post. Some code and link to test swf are below. )
Will it cause slowdown or problems with a movie playing back to load too many
SWFs or JPGs on top of each other? I am looking at doing this to solve a back
button problem I have run into with my web app.
User... more >>
can some one tell me why I'm an idiot.
Posted by jvworldwide at 1/6/2006 2:28:23 AM
Can some one help me figure out why this preloader won't work. I'm an idiot and can't figure it out.
thx.
jv
http://jvworldproductions.com//jvworld/notworking/stagebar.fla... more >>
Reverse Timeline
Posted by sai1 at 1/6/2006 1:42:16 AM
Hi,
I wanna do a reverse playback on the timeline. How do I do it? For eg, I have
a rollover effect on a button. When i clicked back, i should be able to play
reverse of the rollout effect, n finally reaching the inital screen. How do i
do that?
regards
... more >>
|