Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Help Low Quality (specific Object On Stage)



hi everybody!
What i need help in, is to set a .png that I have on stage and I want only that .png set as low quality, if anyone could help I'll appeciate it.



Ultrashock Forums > Flash > Flash Newbie
Posted on: 2005-08-11


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Send An Object To A Specific Location On Main Stage?
im still pretty new to the terminology for this program, so my attempts to search for this topic have been unsuccessful.

I have a movie clip within another movie clip and I want one of the objects in the embedded movie clip to end at a particular spot on the main stage. Is this possible?

thank you so much in advance.

Setting The Quality Of A Specific Movieclip - Can It Be Done?
can you set the quality of a specific movie clip without it effecting the rest of the movie, I have tried:

myMovieClip._highquality=0;

to set a particular movie clip in my site to play at low quality, but it just sets everything to low quality!

can it be done and if so how?

Action Script To Make A Specific Movie Clip Low Quality
I need certain a movie clip/clips to run in low quality, but I dont want the rest of the animation to be in low quality. Is it even possible

Parent And Child Stage Quality
Is it possible to have a parent movieclip using the default high stage quality for rendering yet have a child movieclip using a different stage quality like medium or low?

cheers

Position Object By Center Of Other Object And Stage Left...?
lol! :lol:

what i mean is i have an object (mc = main_logo) that centers itself upon load:

main_logo._x = Stage.width / 2;
main_logo._y = Stage.height / 2;

and i want another object (mc = helmet) to always load up 2/3rds to the left (x axis) of main_logo's center (counting left to right, 2/3rds between main_logos center and stage left border) and 200 pixels above (y axis) main_logo's center.

i know i keep asking these things and i'm not trying to have you all do every little thing for me, i am trying to learn this! it's just that my brain operates differently and i have to assimalate information by what i'm trying to accomplish...

thanks!

Image Quality Difference Between Stage And Test Movie
I've imported a .png format logo which looks fine on the stage but becomes grainy and distorted in the test movie. Why does this happen and what can I do? I've tried changing the quality settings of the movie to best but it has no impact. Thanks.

Get Clip At Specific Point On Stage
Hi!

is there a nice (flash 5 compatible) way to find out, which movieclip lies under a certain point. This should be a same mechanism as the _droptarget property during drag'n'drop. Cause i also use drag and drop i don't wanna use this work around. Is there another idea? i wann find out, if the mouse cursor points to a clip and which this is.

regards,
marc

Resize Stage At Specific Frame
Is it possible through Actionscript to resize the stage at a specific frame? For example, I want the stage to have a height of 500 on the first 4 frames, but I'd like the stage to increase to 1200 on the 5th frame.

Here's the project I'm doing:
-Basically, its a questionairre. I'm asking the user to input data in scroll boxes in the first 4 frames. Then in the last frame I want to output what they entered so they can print it out.

Is this possible? Thanks
-Kim

Fade Out Within A Specific Area Of The Stage
hi guys i've been tinkering AS 3 for a quite some time and i just got stuck in making this kind of effect.

here is what i have so far


ActionScript Code:
import gs.TweenLite;
import gs.easing.*;

var aSideNumN:Array = new Array(num01N, num02N, num03N, num04N, num05N, num06N, num07N, num08N, num09N, num10N, num11N);
var aSideNumP:Array = new Array(num00, num01P, num02P, num03P, num04P, num05P, num06P, num07P, num08P, num09P, num10P, num11P);

stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveY);

function mouseMoveY(event:MouseEvent):void {
    trace(mouseY);// check mouse X location

    //positive numbers
    var Pcount:Number = aSideNumP.length;
    for (var p:Number = 0; p<Pcount; p++) {
        TweenLite.to(aSideNumP[p], 1, {y:mouseY - p*70, ease:Back.easeOut});
    }
    //negative numbers
    var Ncount:Number = aSideNumN.length;
    for (var n:Number = 0; n<Ncount; n++) {
        TweenLite.to(aSideNumN[n], 1, {y:mouseY + n*70+70, ease:Back.easeOut});
    }
}

i made a group of movie clips follow my mouse's Y coordinate. now i want my movie clips to fade out their Y coordinates is below 300 and if their Y coordinates is above 600. what is a good approach is making this kind of effect in AS 3?

Draw On Specific Place Of Stage
Hi everyone
I used below scripts for drawing on stage. but I want draw on specific place of stage not all of them.
How can I define that zone ?
Thanks for your time!


ActionScript Code:
this.createEmptyMovieClip("drawing_mc",this.getNextHighestDepth());

this.onMouseDown = function() {
drawing_mc.lineStyle(5,0x000000);
drawing_mc.moveTo(_xmouse,_ymouse);
onMouseMove = function() {
drawing_mc.lineTo(_xmouse,_ymouse);
}
}

this.onMouseUp = function() {
onMouseMove = noLine;
}

Turn Off Specific Mp3 When Certain Mclip Is On Stage
Hi,

I have the following actionscript to turn off all the sound , but I only want to turn off one mp3 and leave the other sounds playing:

onClipEvent (load) {
_root.soundstatus="off";


}

How can I modify this to only turn off 'music.mp3'?

Cheers

Image Quality Great On Stage,poor In Test Movie
Okay, now at my wits end trying to solve this.

I have some images that were imported in .png format. They look great on the stage, but when I go to test my movie, it looks like the images were heavily compressed.

Am I missing a setting somewhere?

Attaching A Clip To A Specific Position On Stage
I am attempting to attach a MC to a specific position on the stage(flash 5 )after the mouse is pressed. the background is a button and I can attatch the clip to the center(a BG layer is a MC) but not to the X-Y position where the mouse is last clicked. Can anyone tell me how to code this. For eg I have a gun that is a custom cursor and when it clicks anywhere on the background(button) it fires the sound and attatches a bullet hole MC to a MC that is the same size as the backgound,behind the BG button. It does this, now but smack in the middle by default? any suggestions?

Swap Cursor Over Specific Area On Stage?
Can anyone tell me how to swap the cursor with a different image over a "specific area" within the stage.
I found the tech notes on macromedia.com to swap the cursor within the "whole stage", but nothing that tells me how to do it in just a specific area. I want to replace the cursor with an image of a magnifying glass over a specific image, and click to enlarge it the image.... Thanks in advance...

rickcornett.com

Can Actionscript Dynamically Put A SWF On The Stage In A Specific Spot?
Hey everyone. I have not found a good way around this problem.

I want to do the following

Dynamically load another swf ( which is smaller than the main stage ) into a specific area on my stage and play it only once it has downloaded. I want to pre-load this swf into the area on my stage, once it has loaded I want to run part of my main timeline to be some type of transition and then play the loaded movie. ( Idealy I want to pre-load it into a specific frame if possible )

I cannot find a way to do what I want. ( I suffer from newbiness )

Do I have to do the following, on button click run main timeline for exit transition, load movie that has its own built in pre-loader into my desired location?

However, if I run this code
_root.CreateEmptyMovieClip(empty1,10);
//some type of size, positioning code required.
_root.loadmovie("load1.swf",empty);
it totally overwrites my entire stage.

I have not found a way to move and size my empty movie clip called "empty1" once I create it

any ideas would be a great help.

How Do I Load A Movie On A Specific Part Of The Stage?
Hey,
Im trying to load a symbol ( movie clip ) on a certain place on the stage. Whats the actionscript code for this?

Loading External Swf's To Specific Xy Position On Stage Help
How do i load external swf's to specific xy position on stage? need example use with on release:


mike, thanks, but it does't work . it does load it in a separate window when i use

on (release) {
loadMovienum("cooling.swf", "_root.holder_mc")
_root.holder_mc._x = 125;
_root.holder_mc._y = 50;
}



i can't get it to work with

on (release) {
loadMovie("cooling.swf", "_root.holder_mc")
_root.holder_mc._x = 125;
_root.holder_mc._y = 50;
}

Print A Specific Area Of An MC On The Stage - IFBIN Example
Hi,

First time to use the print command in flash, I would like to know how I can print a specific mc that is alwayes centered on my stage. I am using the following modified example from IFBIN to print as a Bitmap which doesn't do it ofcourse, I need to modify it properlly so it works right, but the print area thing in flash is driving me crazy.

The mc is about 800px X 518px centered on the stage, if I tell it to print, it tries to print the whole stage starting from the far top left corner on my screen and crops the rest. I can't get it to print only the area of that mc!.

Here is what I am playing around with:-


Code:
function PrintScreenShot (target:MovieClip)
{
_screenshot = new BitmapData ( target._width , target._height , true , 0xFFFFFF );
//_screenshot = new BitmapData ( Stage.width , Stage.height , _bTransparent , _bgColor );

// Attach a new movieclip named screenshot_mc to _level0 at next highest depth
_screenshot_mc = _level0.createEmptyMovieClip ( "screenshot_mc" , _level0.getNextHighestDepth () );

// Attach our bitmap to the screenshot
_screenshot_mc.attachBitmap ( _screenshot , 1 );

// Draw level0 into our bitmap - this will capture all the action in our movie
_screenshot.draw ( _level0 );

// Create a new printjob
_printJob = new PrintJob ();

//trace(target._x + " " + target._y + xw + " " + yh);

/*var topLeft = 0;
var topRight= _screenshot_mc._width;
var bottomLeft= 0;
var bottomRight= _screenshot_mc._height;*/

var topLeft = target._x;
var topRight= _screenshot_mc._width;
var bottomLeft= target._y;
var bottomRight= _screenshot_mc._height;

// Fire off the print job and test for success
if ( _printJob.start () )
{
var xw = _screenshot_mc._width;
var yh = _screenshot_mc._height;

//if ( _printJob.addPage( _screenshot_mc , { xMin:topLeft , xMax:topRight , yMin:bottomLeft , yMax:bottomRight } , { printAsBitmap:true } ) )

if ( _printJob.addPage( _screenshot_mc , { printAsBitmap:true } ) )
{
_printJob.send ();
}
}

// Delete our print job when finished
delete _printJob;

// Get rid our our screenshot movieclip
_level0.removeMovieClip( "screenshot_mc" );

// Free up the memory used for the bitmap so we can do it again
_screenshot.dispose ();
}
any help is much appreciated.

Thank you

Adding My .as Files To Specific Areas On My Stage
I'm fairly new to ActionScript 3.0 and I have been learning from books and online tutorials. I feel like I am getting the hang of the .as files and have made a few 3D objects that I would like to display on my time line/in my final movie. Here's an example of what I mean:

I made Cabinet3D.as, which uses Triangle.as, Points3D.as and Light.as to build and "light" a 3D video game cabinet. If I add Cabinet3D to the Document class box, it works just like I want it to, but now I want to add 3 of these cabinets to the stage, in 3 specific spots, and have them as a background as users interact with the rest of the site.

How do I get them on to the stage, specifically where I want them?

I uploaded .fla files, but they're really .as files, if they help. Thanks in advance for any help.

Problem With Quality Of Exported Object
Why is the cicle on the stage displayed nice and after export in SWF so unsightly?

Thank you

Different Quality Setting For Different Display Object?
Can I set low for some object and high for others? Or is stage.quality the only one that can be changed? My objects are externally loaded swfs..

Moving An Object Thats Off The Stage Onto The Stage
For a Flash class thats coming up we need to do a little game. Now my idea is to make a GTA 1 style game. We have the car movements down but what i'm having trouble with is making the car stay centered and moving objects that arnt currently onto the screen onto the screen. EG Car is in the center (Always stays in the center) Car moves forward, the background (Road, buildings etc...)Move down the screen and new objects apear on top the screen and move downwards or right, left upwards depending on the direction the car is moving. Any help would be greatly appericated.

Moving An MC To A Specific Stage X,Y Point By The Click Of A Button
Hi there
Does anyone know how to move an MC to a specific point on on the stage?

For example I have a draggable MC sat on a stage (760 by 540)
what I want to happen is when a button is clicked the dragable MC moves automatically (by sliding - not jumping - just so that it is smoother) to say stage value: X:150, Y:200

BTW - MC is called box (not that it makes much difference)
Please note that it is important that the MC slides to the new point, rather than just reappearing at the specified XY location

Cheers dudes
Breaker

A Question About Loading Swf Files Into A Specific Area On The Stage
i want to create a flash presentation for university.

i have a lot of imformation.

Images
movies.
text
.........

i want to create 3 to four sperate swf files with imformation on them, like images. i want to then load the swf files into a main menu screen (acting as a mother to all).

how can i load swf files when told into the right hand corner of my main flash file.

if this isnt clear plz ask.

Landscape Printing Of A Specific Subarea Of The Stage Using PrintJob
Hi all,

does anyone know how to set a specific area of a .swf (for instance, the top left 400 pixels) to print in landscape mode?

I need to allow users of my application the ability to select whether they want to print in landscape or portrait mode, and I need the area they elect to print to be sized to fit the page.

Thanks ;-)

Looping Specific Object
I have this flash movie, where i have a image in the background, and i edited it seperately as a symbol to do an animation. now i want it to keep loopnig when the movie has reached the end of the timeline.

not the WHOLE movie looping, just the back photo. i have attached it. could someone helped?

I tried putting a GOTO FRAME 1 on the sumbol it self but it doesnt work.

please help!

OnMouseListener Over Specific Object ?
I have a problem with this code. Is it possible to get it to work only when a mouse cursor is over some object (e.g. onRollOver)?


Code:
var mouseListener:Object = new Object();
mouseListener.onMouseDown = function() {
trace("uu");
};
Mouse.addListener(mouseListener);

How To Load A Movie Clip When An Picture Is Moved In A Specific Place On The Stage?
Hi!

I have an image that I can move on the screen and I want it to fade out and also play a movie clip when it gets in the point I want.

Next is the code I used n some ifs but they don't work. I tryed through them to load the movie, but no nada! Nothing happens! Does anyone knows how to do this?

___________________________________________
The code (img is a movie clip containing the image):

with (img) {
initx = _x;
inity = _y;
top = _y-600;
bottom = _y+600;
left = _x-600;
right = _x+600;
}


img.onPress = function() {
startDrag(img, false, left, top, right, bottom);
if (img._x==-117 & img._y==-104) {
this.enter_mc.gotoAndStop("on");
}
}

img.onRelease = function() {
stopDrag();
if (img._x==-117 & img._y==-104) {
this.enter_mc.gotoAndPlay("on");
}
}

Drag Object At Specific Angle
I need to drag an object at a specific angle, right now the object just moves freely on the screen. I am assuming i would need to use some Math functions to do this but i just can not grasp the concepts.

I have reviewed code on constraining and object to the radius of a circle but i have not been able to understand how to modify the code to work for a specific angle.

TIA

Brad

Moving An Object To A Specific Point
Hello, I thought this would be a simple thing to do but I was wrong :-(. I would like to move a movie clip one from coordinates to another using ActionScript, at a constant speed. Example (0,0) ----> (300,250) at a speed variable that i would be able to set. I can do this by using motion tweens but I MUST use actionscript.

Thanks in advance :-)


/edit BTW, i have searched the forum but i keep finding threads about easing an object to a specific point, and I cant figure out how to do it at a constant speed. Thanks.

[F8] How Do I Point To A Specific Object - Syntax?
Question: What is the correct syntax to append the value of a variable to the instance name in a path (i.e. _root.instanceName+variable._x)?

I have a series of movie clips, instances named "Square1", "Square2" etc. I want to do the same thing to all of them in a row and instead of typing in _root.square1.whatever over and over again I wanted to cycle through them in a for loop like this:

Code:
for (i=1; i<total; i++){
//this returns an error
_root.square+i+.product+i+._x = 40;
//so does this
target = "_root.square"+i+".product"+i;
target._x = 40;
}
I know the + is used for a string, but I don't know how to do this. I've also tried _root.square[i]._x but that didn't seem to work either.

Create A Variable On A Specific Object
I would to know the state of my checkbox

here is the code

Code:
on(release){
if(this._name[checkBoxState] == undefined || this._name[checkBoxState] == false){
this._name[checkBoxState] = true;
this.gotoAndStop(2);
}
else{
this._name[checkBoxState] = false;
this.gotoAndStop(1);
}
trace(this._name[checkBoxState]);
}
I would to merge the variable on the name of the button because I will have more than 1 checkbox on the screen. Is there a way of doinf it ?

Access Specific Object In Loop
Alright, let's say I want to access a specific object in a loop.

For example let's say I create 10 sprites dynamically with a loop and then I want to access the 3rd sprite when I'm clicking a button which isn't the sprite. Let's say I have a button which will is supposed to change the 3rd sprite's alpha when I click it. How would I do that?

Thanks once again

Move An Object From One Specific Place To Another
hello, i have to use flash for an assignment. basically, I am using flash cs3 but with actionscript 2

ok, all I want to be able to do it move an object from one specific place to another.

http://img515.imageshack.us/img515/2442/mmc1un8.th.jpg

i want to move the item (curtain) that is selected, to the left to reveal the movie screen. im going to do the same for the right half of the curtain.

thanks!

Specific Flash Scaling + SWF Object
Hello,

We're having trouble using the SWFobject ( http://blog.deconcept.com/swfobject/ ), combined with some extra's:
- The flash movie has some specific scaling behavior for the width and a fixed height (see specs below).
- The "active content"-workaround javascript for Internet Explorer (Eolas patent)

Below you can compare: (Note that the grey areas are HTML, the red and green area's are flash)

1) Example of how flash should scale with the page, running the default flash script of Adobe (AC_RunActiveContent.js), without plug-in detection. This works good:
http://www.thats-id.nl/test_flash_100_percent_width/test_working.html

2) Example of our final test with the SWFobject, that doesn't behave how it should. Notice that when scaling the browser smaller then the width of the movie it sticks to the left side of the page!
http://www.thats-id.nl/test_flash_100_percent_width/test_notworking.html

Download all source files (ZIP) >
http://www.thats-id.nl/test_flash_100_percent_width/flash_100_percent_width.zip

Specs of Flash:

- Uses the "expressinstall.as" [of deconcept] in the usual way (script in first movie-frame).

- There are two movieclips that stretch to to 100% to fill up the complete width of the movie. 1) the clip called "vulwit" and 2) the clip called "achtergrond". For various reasons the "achtergrond"-clip needs to be inside flash, instead of in the object-tag background. I think these clips are part of the problem, because flashmovies with basic 100%-scaling behavior behave normally!

specs of Html / Javascripts:

- The object/embed code first calls the javascript for the well-known active content workaround, in this case "embedflash.js".

- We modified that script a bit for reading flashfiles from the database. That's why the file-extension is not used.

- At the bottom of "embedflash.js", the "swfobject.js" is called. See the code beneath the comment "call SWFobject"

- In the object/embed every width value is set to 100%

Looks like the combination of our flash scaling with the SWFobject conflicts.
I hope there is a solution to this problem!

Kind regards,
Jorn

Volume Control - Specific Object
Hi, I know there are many threads with subjects about volume but I couldn't find the answer to my problem.

ok, so
In a movie a have a sound object, that i make it through (for example)


Code:
musica = new Sound();
musica.attachSound("fondo");
I have many other sounds in the movie but this object is for a loop... The problem is that when I set the volume for that object, through:

Code:
_root.musica.setVolume(0);
or whatever value, all the other sounds are set to that volume too. I just want to mute the loop but also the buttons sounds are mutted... what can I do??

help!!

Volume Control - Specific Object
Hi, I know there are many threads with subjects about volume but I couldn't find the answer to my problem.

ok, so
In a movie a have a sound object, that i make it through (for example)


Code:
musica = new Sound();
musica.attachSound("fondo");
I have many other sounds in the movie but this object is for a loop... The problem is that when I set the volume for that object, through:

Code:
_root.musica.setVolume(0);
or whatever value, all the other sounds are set to that volume too. I just want to mute the loop but also the buttons sounds are mutted... what can I do??

help!!

Embed HTML Object Onto A Specific Frame
Hello,

I have a Flash website that has four main sections. I am trying to embed the following "web button" on my Contact Page (which is found on the main timeline, in its own frame):

<embed src="http://embed.grandcentral.com/webcall/fc22ef6d5191deb8985deab0f3ea9b47" width="227" height="93" wmode="transparent"/>

Is there anyway to take this HTML code and add to the specific frame which refers to the Contact Page? I've searched around and googled, but haven't found anything.

If there's no way around this, any ideas on tweaking the main website so that I can put this HTML code into the Contact Page?

Thanks in advance!

How Do You Call An Object That Only Appears In Specific Frames?
I am practicing with my actionscript and encountered a problem.. Previously, my main movieclip has only 1 frame. I have a dynamic textfield (myText_txt) already in the stage in frame 1.

in my actions page, i have myText_txt.text = "hello".

so when i play my movie, hello appears in my textfield.


Then, i decided to move the textfield from frame 1 into frame 2. Suddenly, flash cant detect myText_txt anymore... Cannot access a property or method of a null object reference.

my actions page looks something like this now:

function initialize():void
{
this.stop();
this.gotoAndStop(2);
myFunction();
}

function myFunction():void
{
myText_txt.text = "hello"
}

initialize();




Why is this? i extended my very first layer which is my action layer all the way to layer 10... dunno if this is required though. But still doesnt work. Why can't flash detect my myText_txt? Oh, in the new frame 1, myText_txt is not yet in the stage.

Setting A Property For A Specific Type Of Object
I have about 40 textinput components on stage and I want them all to have their enabled property set to false when my message box movie clip becomes visible.

Insted of typing 40 lines of the same code setting each instance of the textinput component to .enabled = false, could I just loop round each textinput component and set it to .enabled = false?

How would I do this?

I know in VB I can use a FOR EACH satement but how would I do it in flash?

persudo code>

if(msgbox._visible = true){
FOREACH (instance OF textinput) {
.enabled = false
}
}

How? Tween User Manipulated Object To Specific Area.
I have a mc(movieclip) that is able to be dragged by the user around the stage(startdrag, stopDrag). When the user finishes manipulating this mc, they click a button and the mc needs to animate to a specific place on the stage (this button also triggers the movie to continue playing at a specific frame further down the timeline). Thanks for the help.

Flash Newbe Help:- User Specific Shared Object
Hi,
I am looking to create a shared object that is unique to each user but am unsure how to get this working.

e.g.
I have 2 users User A and User B.
When User A runs the course from CD i want to create a shared object when they input their information (using information from certain input text boxes) called userA_so.
If User B then runs the course I want to create a sencond shared object called userB_so
and so on for further users.

EventListener Function Specific To Generated Display Object Container
This has to be simple, if only I knew how. I'm an AS3 newbie, and am having difficulty setting up multiple specific EventListeners within a code generated display object container.

I am generating a 'page' (Sprite) with a heap of 'cards' (Sprites) on it. Each of those cards, in turn, contains a selection of text boxes and other objects generated from database output using a 'for' loop.
My hope is to attach an EventListener to each 'card' so that a MouseEvent will let me manipulate the data that lead to the content of that actual card (the i-th iteration of my for loop). I've been playing with everything I can think of (limited repertoire of thoughts though) and the best I've managed is for my EventListener to access the final set of data, whichever 'card' I click on.

I've summarised and attached my code for the function, and would appreciate any advice (however basic) on how to get back to the i-set of data from the EventListener attached to the i-th card. I can handle the PHP and MySQL side of things but am fumbling my way into the OOP of AS3.

Cheers
Dougal










Attach Code

function reviewPageMode(n, reviewRequirements, cardsRequired)
{

//make the reviewPage display object container
var reviewPage:Sprite = new Sprite();
reviewPage.buttonMode = false;
addChild(reviewPage);

// sort out all the variables

var commentBox:TextField = new TextField();
reviewPage.addChild(commentBox);

// build the cards and text boxes and add them to the reviewPage
for (var i:int = 1; i < (cardsRequired+1); i++)
{
// setup the locations for all the objects

var displayCard:Sprite = new Sprite();
displayCard.buttonMode = true;
displayCard.opaqueBackground = 0xFFFFFF;
displayCard.addEventListener(MouseEvent.CLICK, accessThisData, false, 0, true);
reviewPage.addChild(displayCard);

function accessThisData(evt:MouseEvent):void
{
// I want to be able to do stuff to the data that was used
// in generating the i set of displayCards and textFields
}

var firstTextBox:TextField = new TextField();
displayCard.addChild(firstTextBox);

var secondTextBox:TextField = new TextField();
displayCard.addChild(secondTextBox);

// etc etc etc
}
}

If An Object Is Off Stage...
All i am trying to do is add a simple event that makes "tri" invisible when it is off stage. I attmpted the following script...


ActionScript Code:
if (tri.x==<0){
    trace("Off Screen")
}

...and it throws up a load of errors. I thought this is all that it would take. Also I was going to simply make "tri" alpha=0 when off the stage, is there a better way? (bearing in mind that it will return to the stage. It is a elastic tween event that goes over the edges for a split second)

Thanks guys

Stage Object
Need a recomendation for Stage object.

What's the best way to use the stage object feature? Should I have a footer.swf that loads my main.swf, which loads all my other swfs? I'm trying to use a footer, I'd ike to align some other features, like maybe something "TL", "TR", "BL", "BR".

Stage Object
Hey all,

I'm using the scrollbar class from the as3 tutorial, except that I'm doing it all with code and it's called about 4 or 5 classes deep. My question is, how do I set a stage.addEventListener from inside the class? I know you can't do it that way, but there must be another way to register a MOUSE_OFF while off the scrollbar thumb.

TIA

c

Delete Stage Object?
ive trieddelete and remocve movie ect...
but tose only work if yor deleting a movie that has been placed myduplicat movieclip or attach movie.
is there a way to delete an already placed object from the stage using action script?

2 Stage Object Problems
Hey everybody,

First, I have this code where w and h are textfields.
When I resize the flash (published as an exe) the flash never calls this function so w and h doesn't changes at all.

Stage.onResize = function () {
w.text = Stage.width
h.text = Stage.height
}

The Second problem, my flash movie is published as exe inside a CD. My flash must realize when the user restores the application size from the fullscreen mode, but Stage.width and height tells me the size of the Stage as I defined in Flash, but doesnt change when I am in fullscreen mode.

I know my englsih is just cruel, Im sorry about this. If someone understand my problems with the Stage.Object and knows the solution please let me know!

thanks a lot!

Check If An Object Is On The Stage
Hey,
i need to check if the object is on the stage. I need to do something like this:


Code:
for (var i in this) {
if (this[i] instanceof TextField) {
this[i].text = "show this text";
}
}
Thanks

Copyright © 2005-08 www.BigResource.com, All rights reserved