all groups > flash actionscript > february 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
Unload all swf's in levels, except level 0?
Posted by twistedpancreas at 2/28/2006 11:41:06 PM
I have a main swf opening other swf's in other levels.
In one of those other 'top' levels is a button which should be able to close
all levels except level 0.
i know there is this code:
on (release) {
unloadMovie(0);
}
problem is this unloads level 0 as well. Basically i just ... more >>
duplicate a movie clip for a image scroller
Posted by andy ga at 2/28/2006 9:41:49 PM
i have an image scroller that moves left or right depending on the position of
the mouse.
the image scroller is a movie clip with the instance name "photo".
once the scroller reaches the left or right edge of the movie clip . . . it
stops scrolling . . . obviously.
i need to figure o... more >>
Please help me, i'm new!
Posted by mozinga at 2/28/2006 9:34:24 PM
Hi,
I'm a newbie to flash and i am trying to create a button in flash for a menu,
the button works fine until i click it., i am trying to link it to another
scene but when it is clicked it just plays back the scene its on, here is the
actionscript i am using:
on (release) {
gotoAndPl... more >>
Tween Class, onEnterFrame
Posted by phonemymum at 2/28/2006 9:30:36 PM
Hi I'm just trying to make my box grow with onEnterFrame - I can't figure out
why this bit of code will not work:
import mx.transitions.Tween;
import mx.transitions.easing.*;
box_mc.onEnterFrame = function() {
var t1:Tween = new Tween(this."_xscale",Strong.easeOut,100,540,1,true);
va... more >>
Dynamic Flash
Posted by fatjedi at 2/28/2006 8:58:35 PM
Well last time i uses flash generator to create a dynamic photo gallery but the
lastest flash does support generator, is there ways can I create a dynamic
photo gallery, retrieving directly from the database..
... more >>
Help with Actionscript Web form Problem
Posted by xpgurliexo at 2/28/2006 8:04:31 PM
Hi - I was wondering if anyone could help me
Basically I have different components within a flash file, and i either jump
to different scenes or frames for the 'next question' of the web form.
however, when going back to the previous questions, the components aren't
cached or 'remembered'... more >>
TextInput inside Class
Posted by l810c at 2/28/2006 7:43:54 PM
I've seen this asked a couple dozen times in various places, but have never
seen an answer.
I start the app, then click a button that calls my premade form with this:
createEmptyMovieClip("register1_mc", 20002);
register1_mc.attachMovie("register_mc", "register2_mc", level, {_x:150,
... more >>
Changing layer(?) onRollOver
Posted by TiJayOldroyd at 2/28/2006 7:13:09 PM
I have 6 images, that scatter around the flash screen when clicked (Designing
for a photo album) and onRollOver expands the image 10px on each site. A few
of them overlap, however, and instead of going through and adjusting those
images on the thousand some frames, I want to make the image to... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Re: Randomize xpos and ypos
Posted by blemmo at 2/28/2006 6:08:42 PM
Hm, this code should work fine... did you place it on a frame and named the MC
instance right?
I used Math.random(), because random() is deprecated and may not work in
future versions. The randRange(min, max) function is from the Flash Help and
not really complicated... it just makes sure ... more >>
Weird textfield issue with html
Posted by NO[at]SPAM ndrewEmba$$y at 2/28/2006 5:12:09 PM
So, I'm passing different variables into an html-enabled text field for
content, and whenever one of the content blocks has a <li> in it, when I swap
out the content, it automatically makes the rest of the content block's <p>'s
into list items as well.
I'm thinking of workarounds (destroy ... more >>
EXPANDING XML TREE MENU
Posted by fatguy13 at 2/28/2006 4:50:02 PM
Can any one give me a hand with this... I am working on editing this xml menu
that uses the xml data component in flash mx pro. I have figured out
everything except making my buttons active... They select fine but if I use a
URL tag it does not go to that link or open a pdf file on our intrne... more >>
Add MC & Variable name
Posted by TheScarecrow at 2/28/2006 4:24:20 PM
if I have a movie say check 1, check2 , check3... and for those movies to play
I want to take the movie name Check and add the varialbe to get the right name.
something like this
_root.check.gotoAndPlay(2); which translates to _root.check2.gotoAndPlay(2);
Is this possible??
... more >>
Save as
Posted by ggogis at 2/28/2006 4:19:48 PM
is there a way to save a part of the flash movie (the user while on the web) as an image (jpg or bmp) - if so, can you specify the area or MC(s) you want to be a part of it?
thanks!!!!!... more >>
Print
Posted by ggogis at 2/28/2006 4:14:11 PM
the following code is what i am using:
on (release) {
printAsBitmapNum(0, "bframe");
}
and it prints every frame of my movie. how can i make it print just a certain
section of just one frame?
thanks!!!!
... more >>
Browser Button Question....
Posted by mruf at 2/28/2006 3:48:32 PM
I scripted a back and forward flash browser button..they work
fine...EXCEPT>..>>.when I use them on my website I have to click 2x to get the
buttons to move back or forward...ahhh!....here is the script I
used....below....any suggestions?? Do I need a script to open the Flash page
first?
... more >>
eval(), this[]
Posted by mr.eddy at 2/28/2006 3:30:36 PM
I have an array of MCs. Inside each MC there are five MCs named "image1"
through "image4". Now what I want to do is go through the array and the inner
MCs and change one of their inner MCs _alpha property.. Should this not work:
this.image"+j+".innerclip"]._alpha = x;
Thanks..
... more >>
As easy as getURL
Posted by has981 at 2/28/2006 3:25:46 PM
Hello ppl,
I have a button on the stage, it has the following code:
on(press){
getURL("http://www.google.com");
}
I published this file (flash player 7) and I use IE 6 to run the produced html
file.
the problem is that nothing happens when I press on the button.
I also tried ... more >>
lproblem loading variables into masked layers
Posted by kamunki at 2/28/2006 3:08:17 PM
--------------------------------------------------------------------------------
hi there folks
i'm baffled by the following quirk:
i cannot load text into dynamic text varibles if they are in a masked layer
but the same code works fine if they are in the same place but not in a maske... more >>
cgi-sys entropy search engine
Posted by flashedmacro at 2/28/2006 4:49:28 AM
Hello all,
After doing many searches on the internet I have found myself on these
forums looking for a solution, if it is at all possible. I have a website I am
designing for a friend and there is a flash header on the site. The flash
header has a search box and a button. I have made i... more >>
How To Nest a ScrollPane inside a Window
Posted by JuliaO at 2/28/2006 3:19:59 AM
I'm hopeful that someone can enlighten me as to how you can nest a scrollpane
within a window component (the content of the scrollpane needs to update
dynamically).
I've got a scrollpane instance working. Since the Window component requires a
content path to an item in the library, I made ... more >>
About the tab order
Posted by ?? at 2/28/2006 2:04:08 AM
I want to know I mark the tab order in both AS and plan ,which one will be accept?... more >>
Tab from text field to text field
Posted by finalcutexpress at 2/28/2006 1:56:36 AM
I have a movie with three input text fields: name_ti, zip_ti, email_ti. I want
the user to be able to tab between the fields using the TAB key. When the
viewer visits initially, I've set focus on name_ti using
Selection.setFocus(name_ti);
After the user enters info in name_ti, I want the... more >>
Action Script Buttons
Posted by EBTurner at 2/28/2006 1:14:23 AM
Hey everyone ;)
I know basic flash... and i'm trying to challange myself now by re-creating my
web site in flash. Now im VERY stuck on the action script and how to get the
buttons to work!
So far, I have made my text into a button, and tried the "goto and play"
action and directed i... more >>
new browser window AS
Posted by hoss9009 at 2/28/2006 12:53:10 AM
is there a way w/ action script to creat a new browser without using javascript? even w/ all the functions "yes" or "no" of dim's and toolbar's?... more >>
Removing circles
Posted by psykopath at 2/28/2006 12:46:49 AM
Is there a way to use the Drawing API to erase certain areas of a shape? If
there is does it make a difference if the shape is made with the drawing tools,
or Drawing API?
Im trying to use this for destructible terrain in a game, and I've tried using
masks, but it still requires parts of ... more >>
Text Fields and PHP
Posted by MixedUpMusicInc at 2/28/2006 12:00:00 AM
I have a three text field comment section on my contact page of my site.
I have written the action script for it and it all checks out fine. but
nothing happens when I enter in text and then submit it.
here is the script I have for the form and button
var gatherForm:LoadVars = new LoadVa... more >>
bizarre xml's 'onLoad' bug
Posted by eRez at 2/28/2006 12:00:00 AM
hi,
i have a xml object into which i load external xml file using 'load' command
and parse it once its loaded using 'onLoad' event.
until yesterday it worked perfectly, but i probably made some change (i wish
i knew what it was...) which caused the 'onLoad' event never to take place.
to make su... more >>
Dynamic Text does not show up in main .swf
Posted by wmiller453 at 2/28/2006 12:00:00 AM
:| Ok, here goes... I have a sub-movie that contains a dynamic text field and
associated variable name. If I go to "test scene" the text displays but when
I go to "test movie" the text box is there but the the text from my text file
doesn't display. The code below is embedded in the sub-mov... more >>
Getting Focus On Text Field
Posted by FlashAmit at 2/28/2006 12:00:00 AM
I am making a product for physically disabled peoples. In this user types
frequently in text fields. Each time user presses a key that is echoed.The
problem occurs when user's focus is not at the textfield. Now keys are
continously echoed but since focus is not at the field so nothing is typed... more >>
MediaController not playing when told
Posted by Enroid at 2/28/2006 12:00:00 AM
I have a MediaDisplay with an MP3 all ready to go. I also have a
MediaController linked to the displayer. I then have a button with this coding
on it:
on (press) {
_root.mediacontroller.activePlayControl = "play";
}
I click the button, and predictably, the MediaDisplay which the con... more >>
filters
Posted by alien4m_mars at 2/28/2006 12:00:00 AM
hi, how do i use filters througth actionscript...
say i have a movieClip mcBall
how do i apply blur filter to mcBall
can anyone help
thanks
is it possible to apply filters to empty movieClips???
... more >>
Exporting a movieclip as .jpg or similar?
Posted by Tomzen at 2/28/2006 12:00:00 AM
(posted in the General forum as well, but noone ever answered)
I'm currently planning and estimating a project, and i've bumped into the
following problem:
I need to export a movieclip containing shapes and bitmaps (with various
alphas, rotations etc) as a bitmap file, f.ex. the jpg form... more >>
Image Scroller script
Posted by Stan Sainte-Rose at 2/28/2006 12:00:00 AM
Hi,
I m looking for an horizontal images scroller script.
I need to display 5 little pictures (like a thumbnail) and add the scroll
functions (right to left and left to right)
if I have more than 5 pictures.
The picture path comes from an xml file (I don't have problem to parse the
xml fil... more >>
movieClip.useHandCursor
Posted by ad1tya at 2/28/2006 12:00:00 AM
Hi all,
I want to create a movie clip (not a button), and on mouse over, the cursor
should change to 'hand'
on Frame0, I created a movieClip with instance name 'mymc'.
and create the following action :
stop();
_root.mymc.useHandCursor = true;
but its seems the action did not worked... more >>
how to control an imported GIF animation
Posted by RJstarter at 2/28/2006 12:00:00 AM
Hi,
i am new to Flash, and have a simple question here:
I want to control an imported GIFanimation, such as playing it once a button
is clicked. So I used "File/Import/Import to library" and make the linkage for
the default movie clip imported.
For some reason, when "test movie",... more >>
accessing library items from AS
Posted by FlashForumName at 2/27/2006 9:57:07 PM
How would I access a library item (movieClip) using actionscript to say change
the size. For example, I have a movieClip named zoomer1 with the linkage of
zoom. Is there any way I can access this with actionscript to change the size
and such?
... more >>
linking from scene to scene
Posted by jezz34 at 2/27/2006 9:54:45 PM
i have a navigation bar with 6 buttons and i want to link to 6 separate movie
clips..
im using the following action script
on (release) {
_root.gotoAndPlay("frame2");
}
for some reason when i click any of the buttons it always displays the first
movieclip ... all buttons are name... more >>
Action Script for Browser Button Problem
Posted by m_flash at 2/27/2006 9:48:20 PM
I scripted a back and forward flash browser button..they work
fine...EXCEPT>..>>.when I use them on my website I have to click 2x to get the
buttons to move back or forward...ahhh!....here is the script I
used....below....any suggestions?? Is there another script that works better?
on (r... more >>
Posting variable to a different server
Posted by Elena Blanco at 2/27/2006 8:49:10 PM
I am using the following code:
__email.sendAndLoad(__spamURL, __email, "POST");
to post form values to a php page that lives on a different server (and url)
that the swf that is sending the values.
If I publish the swf locally the values are sent (and then stored properly by
the php co... more >>
Flash button
Posted by d09 at 2/27/2006 8:48:18 PM
I want to create a Flash buttons with a "rollover effect" and a "rollout
effect". I a already want to use this button to call others frame in the same
document.
How I can't realize that with a MovieClip in a button symbol and still be able
to call a frame in the same document.
Thank yo... more >>
Holding Mouse button down
Posted by FrogCdrom at 2/27/2006 8:36:37 PM
Hi all,
Im completely new to Flash and am struggling to get a simple thing working:
I have a "MovieClip" (called "gadget") within my scene which is made up of two
"Buttons" (but_burn and but_sandbag)
I need to know when the user is holding the left mouse button down within the
"but_bur... more >>
Common event handler for multiple objects
Posted by ashim2 at 2/27/2006 8:28:52 PM
I used an oval shape and convetered that to a button symbol.
I have 10 instances of that and all do the same job (put its caption on a text
field) onclick. The following code does not work
var obj = new Object();
obj.onRelease = function(evt)
{
trace(evt.target);
}
bu1.addEv... more >>
What am I doing wrong? swapDepths?
Posted by Brian at 2/27/2006 7:58:15 PM
I have two MCs that I create like this:
topLoad = this.createEmptyMovieClip("mainContent_top", 50);
bottomLoad = this.createEmptyMovieClip("mainContent_bottom", 49);
I want to use these to load movies into and I want the next/newest
movie, to be loaded into the topLoad. So what I want to do i... more >>
import swf and tabindex
Posted by socodevil at 2/27/2006 7:42:26 PM
i have two swfs that i am importing into levels on a maintime. i can get the
tabindex to work for each individual swf when not loaded into the maintime
line. once it is in the timeline it does not work.
I have top.swf loading into level2 that has tabindex 1-10. i then have
intro.swf loading... more >>
customise right click
Posted by bB_ at 2/27/2006 7:34:56 PM
i'm trying to customise the right click menu in my flash website but I'm having difficulty.... i've tried several tutorials but can't get any of them to work...can anyone help me out!
thanks
bB_... more >>
how triggers function when mouse down into scrollpane?
Posted by hakanh at 2/27/2006 6:42:08 PM
Hi everybody! scrollpane is into a movieclip. how i understand when user click
mouse while it's over scrollpane.
(Scrollpane includus many form elements such as input , combobox and datagrid.)
Help please
... more >>
basic programming questions
Posted by stephan.k at 2/27/2006 6:30:55 PM
Hi Everyone
I have a basic programming question. How do I exit a for loop while it is in
process?
for(i=0;i<1000;i++){
if(drawingOn){
do things here...
}else{
don't continue the loop...
}
}
What is the right way of doing this? Should I use a while loop... more >>
Different text styles in Dynamic Text Field
Posted by archibald2 at 2/27/2006 6:09:31 PM
I have created a Dynamic text field that scrolls using the UIScrollBar
component. The dynamic text field uses two fonts that are imported from an
external library. In this external library I made the fonts symbols to reduce
file size. The two font symbols are the same typeface, but one is bold... more >>
How to make a button toggle
Posted by SherwoodClark at 2/27/2006 5:47:52 PM
If I create a 3 frame symbol as a button (i.e. frame1=up; frame2 = over; frame
3 = down), how can I make this button go into toggle mode where it stays down
when clicked the first time and then goes up when clicked the second time.
There is a "toggle" property on the SimpleButton Class. But,... more >>
Flash authentication portal: weird issue!
Posted by Peter Foo at 2/27/2006 5:43:38 PM
Hi,
I've made an authentication portal for my team using Flash.
After the user enters in his userid and password, he should be brought to the
main menu.
What's happening in the code is this:
On the second frame of the Flash movie, I'm checking for two session variables
(userId an... more >>
|