ActionScript 3.0 :: Keep An Object No Scalable?

Mar 28, 2011

Is it possible to keep an object no scalable while its parent is scalable?? I have text inside a scalable mc and the text is scaling together with the mc when the stage is scaled.

View 3 Replies


Similar Posts:


Professional :: How To Make .swf Non Scalable

Aug 1, 2010

I have been trying to search for an answer on how to make a whole .swf file unscalable but I have only found information on how to scale flash files. I did find a post that mentioned the code "Stage.scaleMode = "noScale";" but when I add that to the first frame in my timeline, nothing happens.

View 2 Replies

ActionScript 2.0 :: Make A Scalable Swf?

Feb 9, 2009

Does anyone know how I can make a scalable swf? Or one which resizes to the page it is in?

View 1 Replies

ActionScript 2.0 :: Make A Flash Movie Scalable?

Feb 5, 2009

how to make a flash movie scalable? So it can resize without pixelating etc.?

View 0 Replies

Flex :: Most Scalable Web Stack For High Performance Flash?

Jun 11, 2009

I am in the planning phase of a new multi-user client/server app using Flash via Flex and AIR. I am trying to decide which web platform/stack is the best suited for this? I have used RoR in the past, but as i understand, RoR is single-threaded, and is therefore not the ideal choice for handling potentially thousands of simultaneous requests. I have done some reading about Scala and Lift and that is an intriguing option, but i was wondering if there are other languages/frameworks out there that would work well for my project?

View 3 Replies

ActionScript 2.0 :: Easy Full Scalable Images Site?

Jan 13, 2010

[URL]I need some easy tuts on this, there are a few on here but which are good tuts?I know some items are fluid, and centered, but how do i do full browser scalable images with menu on top or below?

View 8 Replies

ActionScript 2.0 :: Scalable And At Full Screen IE Doesn't Scroll?

Jun 6, 2007

How do I accomplish the Flash scroll bar that is on the following website?[URL]..Since the site is non scalable and at full screen IE doesn't scroll. On this website they have created a scrollbar in flash aligned to the right side of the screen that accomplishes the same thing as the IE scrollbar. But it looks so much cooler.

View 3 Replies

ActionScript 2.0 :: Scalable Background Image - Centered Content

Jan 15, 2009

I recently found a great tutorial for making a scalable background image on: [URL] which has worked a treat. But my content is now positioned top left. How can I centre it without effecting the background? The full code I'm using on the first frame is below. I can centre all the content by changing Stage.align to "T", but then the background image has a nasty white space on the left hand side when the user resizes the browser.

I'm a flash newbie, can do some basics:
//set stage for FBF
Stage.align = "TL";
Stage.scaleMode = "noScale";
//define dynamic aspect ratios
picHeight = new Object ();
picHeight = pic._height / pic._width;
[Code] .....

View 6 Replies

ActionScript 2.0 :: CS3 Scalable Background Animation With Fixed Size Content

May 21, 2009

I'm trying to create a simple splash page for a site that has a scalable background animation, with a fixed size content animation that will stay centred for different sized browser windows or if the window is resized.[code]In general am I on the right track to achieve something similar to the example I posted? Is there a better method to use?

View 1 Replies

ActionScript 2.0 :: Create A Scalable Flash Movie That Doesn't Scale The Contents?

Nov 16, 2009

I've created a flash file which loads an image using loadMovie, this all works fine but what I need to be able to do is load different size images into the swf. I have tried changing the size of the swf in the embed tag and using the 'noscale' option, however the stage appears to be moved to the center (see screenshot), I need it to be at the top left.

I've also tried passing the new width and height to the swf via flashvars and then setting the size of the stage to these values, however this makes no difference to the outcome.

how I can create a flash movie that I can scale using the width and height parameters that doesn't scale the content and keeps the content in the top left corner?

View 2 Replies

ActionScript 3.0 :: Online Photography Portfolio - Scalable Full Screen Images

Jun 7, 2010

I am currently building myself an online photography portfolio. I want scalable full screen photos. The only problem here is, photos are different sizes and landscape/portrait. This is what I have so far. [URL]. If you resize the browser to a different ratio to the landscape image, you see black margins top and bottom. I want the image to always bleed.

This is what I have used:
ActionScript Code:
//resize image function setImageSize():void {
// Portrait image
if (imageLoader.height>imageLoader.width) {
imageLoader.height=stage.stageHeight-thumbBase.height;
imageLoader.scaleX=imageLoader.scaleY;
[Code] .....

For a portrait image, I want to show the margins so I am happy how it is for portrait.

View 3 Replies

Flash - Programmatically Draw A Scalable, Curved Comic-book Balloon Tail?

Aug 13, 2010

As a UI specialist, I am often asked to build tool-tip displays and other sorts of popups that display text. One of styles clients seem most keen on is text in a comic-book balloon. I would like to create this balloons programmatically (as opposed to embedding or linking to rendered graphics), because these balloons will have to change size at runtime, depending on how much text they have to hold.

Balloons are easy to draw for the most part: circles, rectangles or rounded-corner rectangles. The tough part, for me, is the tail (the little arrow-like part of the comic balloon that points towards the speaker). If you google comic balloon, you see that there are many varieties of tails. They ones clients request from me most often are curved. E.g...

[URL]

The tail will always be on the bottom of the balloon, and it will sometimes point left and sometimes point right. I have been trying to come up with tail-drawing algorithms for a while, but I'm not happy with the results. I'm basically stumbling around in the dark, changing variables, looking at the results, and using trial and error to try to move closer to the magic numbers that will work. "Work" just means a result that looks pleasing, which I realize is subjective. Most of my clients will be a happy with anything that looks reasonably good and professional.

I want this result to scale. And it would be great if it could work with as few inputs as possible, maybe just isFacingLeft, tailWidth and tailHeight (Which could maybe be a percentage of the whole balloon). Maybe an adjustable curveAmount.

If it matters, I'm using Flash/Actionscript, but any system that has some sort of turtle graphics engine should work pretty much the same way: I'm working with that standard flipped Cartesian grid (y increases downward), x and y coordinates, the ability to move a pen, draw lines and draw curves.One caveat: Flash only allows me to draw 3-point bezier curves -- start point, control point, end point.

Note: balloons won't have to scale after the are drawn.

View 1 Replies

ActionScript 3.0 :: Referencing A Dynamic/scalable "y" Position?

Oct 24, 2010

I'm including an image which will help describe my problem. I want two gradients to expand from the top and bottom of the page, to have their bottom and top edges respectively stretch and connect with an another object's top and bottom edges located in the center of the screen, scalably and dynamically.

indevelopment.outsidethemenu.com/pageLayoutHelp.jpg Since the middle area's "y" is scalable and dynamic, the "bottomContainer.y = TextArea.y + TextArea.height;" which I am using is not working, for example.

View 1 Replies

Image As Background / Resizing / Scalable Background

Jul 24, 2009

I am relatively new to Flash CS3 and i have been learning Action-script 3 over the past week. I have come quite a long way and i have made a site in flash but i just have a question.I have been using an image as my background and i am happy with the way flash automatically scales all the objects in my file but the background image does not scale. Is there a way to do this? I have found out things online which show me how to add auto-resizing to the background but this knocks off the flash auto scaling/resizing for everything else.

View 4 Replies

Actionscript 2.0 :: Group To Object When One Object Is Drag Across The Screen The Other Object Sticks With It

Mar 26, 2009

is there a way in action to group to object so when one object is drag across the screen the other object sticks with it, im using flash btw

View 6 Replies

ActionScript 3.0 :: Way To Connect Loader Object Of Photo Object With EventRatio Object?

Mar 25, 2010

So I have this Photo class than handles loading a pic, and dispatches an event when the loading is done with:[code]which is simple and works, but now I'd like to make something more advanced. I'd like to dispatch the load ratio.So far I have extended the Event class, with my own EventRatio class, and I can put properties on that class. Which is cool, but I need something more dynamic than just sending a fixed value.So, what is the best way to connect the Loader object of the Photo object, with the EventRatio object?

View 5 Replies

Flash :: Flex Dynamic Object Name And Add Object To Object?

Jun 16, 2011

I have this situation where i'm trying to save "chat logs" while people switch around views in my flex mobile application..so, my plan is i'm starting out with a main object that I plan to re-use as the main chat log object..I call it textObjso, when someone new wants to chat my plan is to make a new object with the persons username.so how if i were to get the username from something like data.username how could I translate that into the var name of the object I want to make? So in the end i end up with.[code]

View 2 Replies

ActionScript 3.0 :: Stop The Movement Of One Object When One Other Object Is Over One Third Object?

Jan 8, 2011

how i can stop the movement of one object when one other object is over one third object

View 1 Replies

ActionScript 3.0 :: [object Class] Instead Of [object MovieClip] - Delete The Targets ENTER_FRAME Event?

Mar 15, 2009

When I use MouseEvent.MOUSE_OUT the target is [object MovieClip], but when I use MouseEvent.ROLL_OUT I get [object Bildspel] - and Bildspel is my class. The thing is that when I use ROLL_OUT I'm not able to delete the targets ENTER_FRAME event.

[Code]...

View 2 Replies

ActionScript 2.0 :: Disable Clicking Through An Object So It Doesn't Effect Anything Under-neath The Object When Pressed?

Feb 5, 2012

how I can disable clicking through an object so it doesn't effect anything under-neath the object when pressed.

View 9 Replies

ActionScript 3.0 :: Does Cached A Bitmatp Improve Speed Of Vector Object Or Bitmap Object

Aug 5, 2009

does cached a bitmatp improve speed of vector object or bitmap object?

View 1 Replies

Arrays :: Declaring A Null Property Within An Object, Or Running A Function Within An Object Declaration

Feb 22, 2011

I have an object which is assigned a number of properties:

var project_array:Array = [];
var slideObject:Object = {
project_title : myXML.projects.project[i].title.toUpperCase(),

[Code].....

but I'm not quite sure where to place this. If I place it outside of the object constructor, I get "term is undefined", I guess because it doesn't know what project_clips_array is - but if I declare project_clips_array in the constructor, it appears to need to be defined, i.e. I can't create a blank property. But I can't place it in the constructor either, because it doesn't seem to allow me to run a function within an object constructor. What is the proper syntax or arrangement of code for executing this function to get the array within the object?

View 2 Replies

Actionscript 3 :: Create Event Listener To Execute A Function When Object A Collides With Object B?

Mar 26, 2011

Alright, I've looked online at a bunch of different collision tutorials but they don't explain what I'm looking for. I want object A to hit object B and then execute a function via to a Event listener.

View 1 Replies

ActionScript 3.0 :: Listening For Custom Event Dispatched From Parent Object In Child Object?

May 25, 2010

I want to listen for a custom event dispatched from the document class in a custom subclass. For example, let's say in the document class I have:

ActionScript Code:[code]....

So that the subclass will trace 'Event from document class received' when the 'customEvent' event from the document class is listened by the eventlistener. However, the output is only 'customEvent dispatched', meaning it wasn't heard in the subclass.

View 7 Replies

ActionScript 3.0 :: Detecting Stage Object Positions From Library Object Class File?

Sep 14, 2010

Ok. So heres what I am trying to do. I want one movie clip to follow another one that I move around with actions on the main timeline.The problem is that the follower clip is linked to a class file and I cannot find a way to find the players position.

[Code]...

View 8 Replies

ActionScript 2.0 :: [FMX] Advanced Hit Test When The Second Object Touches The Eactualy Object In The Movie Clip

Dec 15, 2002

I have a Movie Clip and Im trying to do a hit test on it but i want it to test when the second object touches th eactualy object in the movie clip, not just enters inside of the blue outline.

View 3 Replies

ActionScript 3.0 :: Deep Object Copy - BCopy Object Does Not Contain Body Property?

Mar 24, 2011

I found a really weird behavior when using deep copy for objects (ObjectUtil of Flex framework).Imagine we have a class B which extends class A. Class A has property body which is of type ByteArray.I create object b (instance of B). Then I make a deep copy object bCopy, BUT this bCopy object does not contain body property at all! All others properties (of scalar types) defined in Class A are copied properly.When I define property of type ByteArray directly in class B, then this property is copied properly..

View 2 Replies

Flex :: Access XML Object In Restlet 2.0 Thats Wrapped Inside A Representation Object?

Jan 7, 2010

I am developing an application with Flex for the GUI and Restlet for the webservices. I have a strange problem. I put my XML as a property on a generic object, and send it as part of a POST request. But in the Restlet webservice, this XML is irretrievable. How do I retrieve it? I tried initialising the received Representation object to a DomRepresentation, but thats not working. If I put the received Representation object into a Form object, then getFirstValue is returning that XML as a string! I noticed that the contentType of the HTTPService was application/www-form-encoded so I set it to application/xml and its not helping either. I use restlet 2.0m6 and here is the code snippet that I use -

[Code]...

View 1 Replies

Flash :: Handle A Time Object From Php In Flex (parse It To A Date Object)

Aug 19, 2010

I've got a php backend which delivers a time (e.g. '07:00:00'). This time is recognized as a string but I need it as a Date. So what I need is: Convert a string '07:00:00' to a Flex Date object. Is there a way to do this (without using regular expressions)?

View 2 Replies

Actionscript :: Flash - Make An Object Snap To Another Object Then Follow Its Path?

Apr 15, 2011

I am currently trying to create an app using flash AIR.I would like to find some more information on how to make an object snap to another ojbect then follow its path, eg. a person object is already on the stage, then drag an arrow to the object which snaps to it, then on play button it follows the arrow path. all in pure actionscript, no guide layers.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved