all groups > flash actionscript > february 2006 > threads for saturday february 11
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
resize rectangle of BitmapData
Posted by abeall at 2/11/2006 11:48:03 PM
I have to admit I'm finding the BitmapData class, Transform class, Matrix
class, all very hard to put together.
var bmp = new BitmapData(55, 55, true, 0);
//so now I have a 55x55 bitmap. great.
In addition to not having any clue how to rotate, scale, or position a
BitmapData object, ho... more >>
rotate a BitmapData object
Posted by abeall at 2/11/2006 10:00:25 PM
I understand that the Matrix can be used to apply a rotated transformation with
the BitmapData.draw() method, but how do you rotate an already drawn bitmap? I
can't seem to figure it out from the F1 docs... the BitmapData class has no
method to do any transformations, so I go over to the Matix... more >>
Help with getURL please
Posted by Bob Pierce at 2/11/2006 5:57:29 PM
...or maybe getURL is not the right action. I want to replace the current page
which contains my Flash app. with a new HTML page. I have a button with the
action getURL("www.newsite.com/","_self"). Tested in Flash this opens my
browser and loads the new site. But on the testing or remote serve... more >>
so simple i can't possibly understand it!
Posted by doom-a-tron at 2/11/2006 5:56:39 PM
if anyone has some suggestions for this simple little doozy, i'll buy them a
drink:
after scripting a _btn to make an _mc become visible and play, i need another
_btn within the _mc to do the same to another _mc. i know this must be
ridiculously simple, but i tried this:
first_mc._vis... more >>
Quick Question!
Posted by GhettoFabFlah at 2/11/2006 5:18:35 PM
Hey this will be really quick. For some reason im totally blanking on the actionscript that creates boundries for a movieclip. does anyone remeber?... more >>
RadioButton vanishes on checked unless has focus
Posted by adcflash at 2/11/2006 4:28:09 PM
I am using createClassObject to dynamically add RadioButton instances to my
movie. Each set of radio buttons is assigned to a group. This seems to work
perfectly well in that they all appear. I can move my mouse across the labels
and see the radio button circle shade green. However, when I cli... more >>
Help with moving a clip based on Date
Posted by flashForum at 2/11/2006 3:53:14 PM
Hello all,
I have a clip that is masked and it is going to be a week to week calendar. I
foresee a slight issue in regards to the published project being out of date
once the published week is in the past. How do I move the clip based on the
date so that the viewer sees the current week ... more >>
textfield
Posted by n-Qube at 2/11/2006 3:43:09 PM
i have two movies on the stage, the first gallery_mc contains a gallery of
pictures which have been converted into buttons,
the second movie order_mc contains a nested movie details_mc.
details_mc contains a dynamic textfield which have instance name imageId_txt .
I want help on how i can ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
help a blundering beginner?
Posted by doom-a-tron at 2/11/2006 2:52:56 PM
i have to plead complete ignorance and, perhaps, stupidity. but can anyone tell
me how, in the relationship between a button and a movie-clip, i can keep a
hidden _mc paused at frame 1 until the button reveals and plays it? i can do
the animations easily enough, and do the basic action script... more >>
Change property of a movie clip
Posted by makate at 2/11/2006 1:34:03 PM
:confused; how can i change the _y and _x properties of a movie clip during runtime. I want the movie to change position as if it has been tweened on the Timeline.... more >>
Actionscript to close a browser window
Posted by More2Do at 2/11/2006 4:34:39 AM
Greetings,
I'm a beginner at Actionscripting, but I need to create a script that will
allow a person to "close out" of a browser window. I created a page which
opens to a Blank Target in the browser and added a button ("Close Window") to
that page. Please see link:
http://www.hofmannhom... more >>
Class Reference
Posted by Michael Gioffredi at 2/11/2006 4:20:30 AM
I would like to be able to refer to a class with a string, but I can?t get it
to work with a variable.
For example, the following works:
var easing = mx.transitions.easing;
But this does not:
var string:String = "Bounce";
var easing = mx.transitions.easing;
What should I do... more >>
Help with Table Component
Posted by ][odine at 2/11/2006 4:03:08 AM
Hello, basically let me explain what the heck i want it to do. I NEED a tree
navigation on the left side of the screen, and when i select a heading on the
tree i need it to load a corosponding SWF into a movieclip holder on the right
side of the screen. Not only that, but i need the menu ite... more >>
A thousand movieclips!
Posted by dougco2000 at 2/11/2006 3:05:07 AM
Hi all,
I am building my own graphing functions since as of a few months ago the
graphing plugins for Flash 8 did not exist or work properly.
In my graphs, I could have 100 lines going across 50 (or more) time points,
which adds up to over 5,000 points on the graph. I currently show the... more >>
problems with slideshow
Posted by Christina von Messling at 2/11/2006 2:44:59 AM
Hi there,
I am a total beginner in flash and am building my first slideshow. Somehow my
slideshow doesn't advance to the next image when I click on the next button, it
reloads the same image. Here is the code I am using:
var slideInfoPortraitsLV:LoadVars = new LoadVars ();
slideInfoPor... more >>
customizing images
Posted by codescodescodes at 2/11/2006 2:44:04 AM
I have an image of a pen that has a white background. I want to get rid of the
white background and just have the pen by itself, because if I import the image
with the background and I convert it to a movie clip, it will still have the
white part around it. How do I get just the pen part. I... more >>
Converting from flash 5 AS v1.0 to flash 7.2 AS ver 2.0
Posted by LSNsaltlamp at 2/11/2006 1:37:59 AM
I have a preloader/progress bar script in an old flash 5 file that I want to
use in a new file that I've made in flash 7. The old AS is:
onClipEvent (enterFrame) {
if (_parent.doneLoading == 0) {
total = _parent._parent.getBytesTotal();
isloaded = _parent._parent.getBytesLoaded();
... more >>
MediaDisplay Filesize
Posted by stillcrazyafteryears at 2/11/2006 12:39:32 AM
I would like to use the MediaDisplay component only to play mp3 files, there
fore don't need any of the functionality of the flv playback or interface. Is
there anyway to lower the import filesize of this component and tailor it to my
needs? currently when I import it it adds 70k to my movie w... more >>
Easy Question for timeline control
Posted by guedado at 2/11/2006 12:07:46 AM
I can't believe I'm asking this because I know it's so simple but I could swear
that I'm doing it right. :sigh: lol
I'm just trying to make a circle move from point A to point B then back to A.
Nothing fancy. Main timeline, actions in the first frame, own layer.
so layer 2, frame 1, empt... more >>
Expanding Folders...
Posted by Jadeivy at 2/11/2006 12:00:00 AM
I'm stuck on a idea, that I just don't know how to program.
I have 5 folders with the folder name next to them on the right side.
There are sub folders as well (4), and 1 document icon sub to these.
Looks something like below:
<folder image> Folder Name
-----<subfolder image> Folder ... more >>
why Remove???
Posted by jonnybennett at 2/11/2006 12:00:00 AM
On frame 1, I have this code.
if(!alreadyLogged){
attachMovie('loggedText','logged',nIndex++);
logged._x=300;
logged._y=600;
logged.logged.text='cat';}
When a user clicks on a button to move to a different frame it sets
alreadyLogged=1;
On the frame they move to eg frame2 I set
... more >>
Flash Pro 8 and Pocket PC
Posted by virtualgussie at 2/11/2006 12:00:00 AM
Hi,
I have been trying to get answers to a few questions and can't seem to get any
concrete answers from anywhere and it is extremely frustrating. I have emailed
a few addresses at macromedia and have not had any reply either. Hopefully
this forum will help me somehow. If anyone could ans... more >>
tween class
Posted by dirkness at 2/11/2006 12:00:00 AM
hi
I'm trying to achieve a simplified version of the move to screen area and zoom
nav similiar to: http://www.leoburnett.ca.
I've read and completed the macromedia tweening tutorials
(http://www.macromedia.com/devnet/fla.../tweening.html) and gained overview of
tween class etc (http://... more >>
Flash dimensional limits
Posted by skullnz at 2/11/2006 12:00:00 AM
Hi there!
I'm setting up a scrolling gameworld that takes up a reasonable amount of
space. I started moving objects to the extreme ends ofe the stage to help 'open
out' the working area, and i noticed at about 3000 pixels in either direction
it just stops. A rough estimate tells me I want ... more >>
loading random swfs without repetition
Posted by jezzthisisfull at 2/11/2006 12:00:00 AM
Hi, how can a swf be randomly selected from a group of say 20 possible swfs,
played in a movie clip target, then, when it is finished playing load another
swf from the same group of 20 without repeating any of the 20 possible swfs
before all 20 have been played -- each swf calling up randomly ... more >>
Creating custom class
Posted by defborn at 2/11/2006 12:00:00 AM
2 questions in 1 actually... I have to make this application, some sort of
graphics application, and for that I want to create a slider control. I wrote a
class Slider.as, and the drawing of the control goes just fine. But I have 2
issues:
1) in my constructor I have a parameter "createdBy... more >>
Tween Class and CPU Lag
Posted by TeriyakiBoyJC at 2/11/2006 12:00:00 AM
Has anyone else encountered lagging when using the tween class?
Whenever a tween is initiated in my actionscript, my CPU goes to 100% until the tween is complete.... more >>
|