all groups > flash actionscript > april 2006 > threads for friday april 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
loading one movie clip at a time. please help
Posted by Lulu1612 at 4/14/2006 11:43:38 PM
Hello, if anyone can please help me I would really appreciate it.
I have a template that I am trying to change around. I have 5 navigation tabs
on top and in each one I want a different movie clip to play as I click on the
navigation bar. How can i do that? I have the first one ok but when I... more >>
gotoAndStop problems
Posted by DarkVortex at 4/14/2006 11:18:43 PM
im having some problems with the gotoAndStop command. could you check this code
to see if it's right?
on (release) {
root.gotoAndStop("level2");
}
if i just do gotoAndStop("level2"); it tries to go to "level2" frame inside
that symbol. Please HELP!
... more >>
Arrays
Posted by silvermole at 4/14/2006 8:23:57 PM
Is it possible to load standard looking AS arrays from txt files without
having to use .split functions etc. Also, if arrays are loaded into a swf from
extrenal file will these values be retaied and show in a decompiled swf. The
idea was to use arrays to hold username and passwords, but this... more >>
On Rollover Proloble
Posted by Devolved40 at 4/14/2006 7:51:08 PM
I have a huge problem on my hands which is kind of annoing. The website in
progress is http://www.fusion-com.tv/hometown/
I have 4 navigation buttons and a movie clip wich is riggered by those buttons
with
On (rollover) {
tellTarget ("blah") {
gotoAndPlay (blah) ;
}
On (ro... more >>
continuous movement in a movie
Posted by batgirl_Sa at 4/14/2006 7:34:11 PM
skip the intro and go to the actuall website on this site... and look
1) see how the squares flip over
1) see the continuous the movement of the squares which are actually the
menu....
http://www.buttr.com/
anyonw know how to do this or give me some hints how to start???
I ... more >>
tint
Posted by jonnybennett at 4/14/2006 6:37:06 PM
Hello I was wandering if there was a simple way to set a tint for a movie
clip... I found the following code, but I can't get it to work....
stop();
myColor = new Color(myClip);
//set myClip's tint to be 50% red
myColor.setTint(255,0,0, 50);
... anyone know? if this works?
Thanks J... more >>
loading swf
Posted by alien4m_mars at 4/14/2006 5:37:31 PM
hi i have 2 swf intro.swf and main.swf, i want to load the main.swf in the background while the into plays, so that its already in the cache and doesnt need loading again.....please help!!!
thanks... more >>
Re: .as files and variables
Posted by maguskrool at 4/14/2006 4:22:11 PM
Sorry, I should have explained myself better. I created an .as file called
MySuperClass.as with:
class MySuperClass {
var nTemp:Number = 100;
}
Then, when, say, item6.swf is loaded, it'll do:
var c1:MySuperClass = new MySuperClass();
if (c1.nTemp > 0) {
c1.nTemp = 350;
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
counting characters in variable
Posted by organicdigital at 4/14/2006 4:16:43 PM
what i am trying to do is return a number of characters in a variable.
like
myVar = whatchmadoodle
i would need it to return the number of letters in "whatchamadoodle"
anybody got any ideas?
... more >>
Creating navigation using forms
Posted by Godwin at 4/14/2006 4:03:40 PM
Hi
Can anyone tell me what actionscript to have if I want to create navigation
using form in flash. I am being told that not to use the on Reveal event to
change visibility of forms.... can anyone shed some light
Godwin
... more >>
Javascript
Posted by Star Tail Pro at 4/14/2006 3:52:35 PM
What is the easiet wasy to access javascript when the swf not is in am pop up... more >>
Help with Reloading problematic
Posted by Verstile at 4/14/2006 3:39:10 PM
Hi all,
I have A menu in SWF. It opens the page but resets the swf file. So the button
is not "selected anymore"
My buttons use the same script and are just _MC instances, The go to the page
by getUrl(...), yeah well if u need code plese ask
This is anoying. I is possible to set a va... more >>
XML loading text help
Posted by Armo_Director_user at 4/14/2006 3:36:19 PM
I am loading image paths from an XML array into flash. I also want to be able
to bring captions that correspond to the images and display them in a text
field. I have the code to load the images into an array from the XML, can
anyone help me to work the code for the captions. I have attached t... more >>
Difficulty with BitmapData API / Webcam Tutorial -- Snapshot not copying?
Posted by opticaldrift at 4/14/2006 3:33:07 PM
I've been working with the tutorial and example here:
http://www.macromedia.com/devnet/flash/articles/webcam_motion.html
Code download at:
http://download.macromedia.com/pub/developer/webcam_old_new.zip
It's a great tutorial, but the sample code isn't working properly for me, in
th... more >>
Print and _xscale
Posted by jeffdenman at 4/14/2006 3:25:15 PM
I use the following code to print a series of pages that are dynamically
created from user input (run when user clicks "print" button.
The printout is fine, but the window is zoomed in way too far. Adjusting the
_xscale and _yscale to 10 instead of 100 and I can see the movieclip (like it
... more >>
hitTest issues
Posted by michael novia at 4/14/2006 2:43:52 PM
Ive started writing the 'hitTest' code for the game, i wasnt sure how, since i
hadnt' tried it before- but after a short tutorial it's simple enough. However,
i am running into problems.
Currently, my stage is set up with a ship, that fires bullets, at the top of
the stage, i have a long m... more >>
PreLoader is Working Intermittantly
Posted by Kevin Favro at 4/14/2006 2:38:31 PM
Hello,
My work in progress is here: http://servinitup.net/bull/master.swf
Click on a button at the bottom, a preLoader shoud do it's think, and then a
movie loads into _level5.
Click all three buttons, preLoader works fine. Now go back to the first, and
nothing works! the movie loads,
... more >>
Random time events
Posted by michael novia at 4/14/2006 1:46:00 PM
Hello!
Im building a small action shooter for a client(this is a fun client, for
once..) Im having trouble figure out how to randomly 'drop item's from the top
of the screen. The levels last for two minuets, so within that period, i would
like to drop a few items.
I am not sure where ... more >>
Speed line
Posted by spinmar at 4/14/2006 12:59:55 PM
Hi all,
I read some messagges on yhis forum about how to discover download speed
client.
Well it's quite clear to me...
So using a movieclip and loadmovie, with methods getBytesLoaded and
getBytesTotal and getTimer I can discover download speed.
But what is not clear to me is how to disc... more >>
Drag and Drop
Posted by bodysnogger at 4/14/2006 12:54:45 PM
Hi I need help with getting the drag and drop action script to start a new
scene when the dragged movieclip is dropped onto its dropzone.
I have tried all sorts of action script in the movie clip but still have had
no results what so ever.
Can anyone help?
... more >>
LoadVars quick question
Posted by sneskid at 4/14/2006 4:37:04 AM
Once LoadVars starts receiving data back from a script (for example a PHP
script) is there a way to start reading what has been received thus far?
Basically I'd like to be able to use LoadVars and a PHP script together and
continuously recieve data as needed.
The PHP script can run a loop ... more >>
GotoandPlay, then gotoAndPlay again?
Posted by EBagg at 4/14/2006 4:20:57 AM
I have a job where there are menu rolldowns, i want the user to be able to
click a button, a smaller menu roll down, then when they click another option,
it rolls back up (first goto action) and then goes to the sequence for the new
selection (second goto action). Is it possible to string two ... more >>
Need FLV to stop playing
Posted by smillerd at 4/14/2006 3:25:42 AM
Greetings,
I have a SWF that had the choice of playing two videos (FLV) when a button is
clicked on. I now need to use LoadMovieNum to load another SWF on top of the
SWF that play the FLV.
How do I make that FLV stop playing when I use the LoadMovieNum?
Thanks for any help. (I am ... more >>
Flash security model; completely confused
Posted by abeall at 4/14/2006 3:22:23 AM
Really, does anybody understand it? Every article I read that allows comments,
litterelly each comment is one person saying how the the previous person(s)
are wrong in there interpretation of the security model.
Flash 8 has been out for awhile now, and I've fully read dozens of articles
a... more >>
Problem with unload movie
Posted by chess4thestupid at 4/14/2006 3:01:02 AM
Hey,
In my flash movie I am loading a video player into level2... but when I click
the button that unloads the movie from level 2... the sound continues to play
even though that level has been unloaded... I tried using the stopAllSounds
command... but I'm not sure how to tell it to target ... more >>
trying to understanding how functions work
Posted by k-doggie at 4/14/2006 2:49:22 AM
why doesn't this process work? how can i get it to work?
Thanks
function firststep(sendit:Number){
var nextthing:Number = sendit + 4;
}
var comeback:Number = firststep(5);
trace(comeback);
... more >>
Whats up all!
Posted by L_ogistics at 4/14/2006 1:58:02 AM
I am using some code to creat the page turning effect, which works quite nicely
to turn pages. But it only turns pages from right to left and I would like the
option of going left to right.
The code or file i used is from:
http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.... more >>
Cannot run FLV files.
Posted by kwaik at 4/14/2006 1:28:42 AM
I using netstream class to playing external FLV files. if i put into a folder name contain japanese text, it wouldn't work anymore. y?... more >>
movie clips as buttons, can someone explain to me?
Posted by flash_noobey at 4/14/2006 12:22:00 AM
Hi,
So basically I had 2 classic buttons
one to call a movie clip by rolling over, like that
on (rollOver) {
essaideupdate1.gotoAndPlay(2);
}
on (rollOut) {
essaideupdate1.gotoAndPlay(7);
}
Another one to call a sound object, like that
on (release) {
stopAllSounds();
mons... more >>
Help with condition statement please
Posted by Nevermynd at 4/14/2006 12:00:00 AM
I am sending commands to the root timeline from within a movie clip on the root
timeline.
What I want it to do is when the movie clip is clicked (released) the root
timeline begins playing (from where it was previously stopped) then, when the
root timeline gets to frame 120, I want the playh... more >>
Re: Printing with Flash Player 8
Posted by LB Back at 4/14/2006 12:00:00 AM
You can set a bounding box which determines which area will be printed, see Help.... more >>
Simple text roll over
Posted by meetn2veg at 4/14/2006 12:00:00 AM
:confused; Simple? Only 1 week into Flash 8 and I'm still stuck! I have a
menu made up of normal text - ie: NOT buttons! There's also a text area which
I'd like to fill dynamically with a brief description of what to expect once
the menu item has been clicked. Basically, I'm trying to rep... more >>
timer
Posted by lucashii at 4/14/2006 12:00:00 AM
i am want to build a timer whereby when the flash page is loaded,after 2 mins
it will execute a function but from wat i learn timer could only be executed
against a movie clip?~any help would be appreciated~~Thanks~
... more >>
Stop a flash banner from reloading
Posted by Verstile at 4/14/2006 12:00:00 AM
The flash banner functions as a menu. when i click on one button it has a
current state and opens the correct page in same window. however when the page
loads the flash menu is back to its original state. Can i solv this in flash?
Can i prevent the flash menu from reloading?
thanx regard... more >>
Apply "next" ActionScript to "prev" button!
Posted by AESS1981 at 4/14/2006 12:00:00 AM
This is the Actionscript for my "next" button - it loads the next .swf in the
array. I want to apply this in reverse for my "previous" button.
How do I do this - I am going round in circles! Thanks
var nextNews1: Number = 1;
function loadNews1(mc:MovieClip){
if( nextNews1 < news.leng... more >>
how to reload data from xml file
Posted by alokjain_lucky at 4/14/2006 12:00:00 AM
I created a flash file that reads data from xml file and display it into
datagrid component. when i run the flash file it load all data form the xml
file.
but how can i refresh or reload this data when i make some changes in xml file
externally using asp.net ?
... more >>
Shape Tweening
Posted by Damnnationx at 4/14/2006 12:00:00 AM
Ok so ive got my self some nice graphics in text all i have done is got my self
a nice button which i have entered a nice unique piece of text called LOL yes
thats right HOME how original :P ok well what i have done is aplied a bevel
and glow to it using the filters. Problem is in the tweeni... more >>
How to actionscript amount of time for animation?
Posted by EBagg at 4/14/2006 12:00:00 AM
I have a button I want to move down when clicked on. I know how to use the _y
actionscript, but how do I add the amount of time it takes to get from the
original position to the new _y position? I'd like a smooth animation, rather
than it just popping into a different spot instantly.
... more >>
|