ActionScript 2.0 :: Scalleable Stage W/ Graphics At 100%

May 16, 2003

does anyone knows how to make a scalleable swf without having to scale the graphics aswell?

View 4 Replies


Similar Posts:


ActionScript 3.0 :: Graphics Fly Off Stage?

Jun 1, 2010

I have an .as class file which creates a circle at the mouseX and Y, another .as file that acts as a getter/setter for my array and a .flv file to run to script. It's sposed to create a circle at the mouse coordinates and expand. the problem is, it creates the circle which expands but depending on how far away you click from the top left, the circles fly right off the stage towards the bottom right.
 
I traced the x and y coordinates of the circles but their coords aren't changing. heres the code
 
///// AS File /////
package com.tools.circleDraw {
import flash.display.Sprite;
import flash.display.Graphics;

[code]....

View 1 Replies

ActionScript 3.0 :: How To Optimize Graphics On Stage

Jan 3, 2010

I build games, which tend to run slowly when there are more than a dozen or so graphics being moved about the stage. I feel that my code is clean (I have researched code optimization) but not sure how I can make improvements with graphics. Currently, all graphics are created in Photoshop and imported to Flash as .png (I need semi-transparency, hence the .png format). I then set the image quality to low inside the library.

Every image usually resides within its' own sprite or movieClip. My games seem to slow down a fair deal when an image is introduced (such as a semi-transparent cloud drifting across the screen). Is there a special way to handle images when performance is an issue? I've only heard of stuff like cacheAsBitmap and other such fancy terms.

View 4 Replies

ActionScript 3.0 :: Cannot Display Graphics On Stage?

Jul 9, 2010

Regarding the code below, when Document class is "Main" [the intended default condition] I do not get the graphics declared in class Thing (ie., in object myThing:Thing) put on stage. Why??? Whereas when I define Document class as Thing, then yes theses graphics do appear on stage. So the syntax itself is OK

[Code]...

View 0 Replies

ActionScript 3.0 :: Why Does Exe Display Graphics Outside The Movie Stage

Mar 8, 2010

I have created an animation where a motion tween takes a graphic out of the stage, but this is replicated in my projector. s

View 4 Replies

Make Graphics Outside Of Stage Appear In Final Swf File Online

Jul 7, 2009

I have a client who wants some graphics to appear "coming onto the screen from the sides." They are flames, to be exact. She does not want them to just come in inside the "box" (stage). She wants them to appear coming in from the sides of the browser window. Is there a way to do this? That is, can you make graphics or movie clips that start off outside of the frame appear in the browser when the swf file is saved?

View 2 Replies

Actionscript 3.0 :: Add Graphics To Stage Using AddChild Inside Class

Feb 6, 2009

I'm have trouble attaching graphics to the stage from a class. I can do it on the timeline but the code doesn't work in a package.[code]this doesn't seem to work even if I import the picture in the package.[code]

View 1 Replies

ActionScript 2.0 :: LoadMovie Clip--graphics Outside Stage Visible?

Mar 20, 2006

I have searched this forum and can't seem to find an answer. I'm loading an external movieclip inside an empty movie clip. But when the clip loads, I can see all my graphics that i have placed outside the stage area, that i want animating in.

I understand I can use a mask, but i feel like the mask is slowing my animation down because of how big it is. There must be another way.

View 6 Replies

ActionScript 2.0 :: Attach Graphics Instead Of MC Cause A Graphics File Size Is Relatively Small Than That Of A Graphic?

Apr 9, 2005

I was wondering about MC and hey can help to lag a game out. I set up an advanced class system so i don't have to use MC to simulate walls, all i use isthe x,y,width and height. Well anyway since i don't need MC anymore I was wondering if there is a way to attach Graphics instead of MC cause a Graphics file size is relatively small than that of a graphic, I think. If anyone could tell me thats true and show me a way to attach graphics that would be nice. I haven't tried it yet but maybe if I exported the graphic from the library imihgt be able to call its name, but it doesn't have an instance name so im stuck.

View 2 Replies

ActionScript 3.0 :: 1119: Access Of Possibly Undefined Property Graphics Through A Reference With Static Type Flash.display:Graphics.

Oct 8, 2009

i am trying to receive in my function as a parameter either a shape or a sprite and then access their graphics property, but this gives me an error:

Code:
public static function makeRect( obj:DisplayObject, ...
var g:Graphics;
if(obj is Sprite){

[code]...

//1119: Access of possibly undefined property graphics through a reference with static type flash.display:Graphics.

View 1 Replies

ActionScript 3.0 :: Divinding Vector Graphics Into Vector Graphics

Jul 28, 2009

I have a large vector drawing (imagine 5000x5000) that i want to break up into separate pieces. I know that I can convert this vector drawing into a bitmap and then use the copyPixels method to create many separate bitmaps of the different regions of the original vector drawing, but is there any way to subdivide it into movieclips that just contain vector graphics instead of a bitmap?The reason im dividing a big chunk of vector graphics into smaller pieces is for performance reasons, so flash would only render a small part of this big chunk at a time (only certain regions/voxels/subdivisions are rendered at a time). But bitmaps apparently take up a lot of memory and the system im using would take much less memory if these subdivisions could be preserved in their original vector graphics form.

I imagine I could use masks somehow to achieve this effect (for each subdivision, duplicate the huge image and mask only the region that the subdivision represents), but I dont know the performance costs of masking or if this will create other problems.So is there anyway to split up a movieclip of vector graphics into smaller movieclips of vector graphics the same way copyPixels can with bitmaps?

View 1 Replies

Some Graphics Not Displaying In Swf

Feb 6, 2010

I have started to put together a flash piece. When I preview it, it displays as it should, however if I export the movie and then view the swf it doesn't display the animations from within one of the folders. I have made sure that the layers aren't hidden.

View 10 Replies

All Buttons Become Graphics

Jul 29, 2011

I'm trying to solve this problem since 1 week ago. But still no luck. I'm using flash cs4. I have a prealoder which is done on action script 3. but the problem is when I added my swf movie it becomes just a plain graphic. All buttons converting in to graphic. I imported swf in to library first and drag and drop the swf movie from there to stage.

View 9 Replies

Put Some Graphics On Front Of Card?

Dec 3, 2009

I just made my first flash game. A memory game, But I cant figure out how to put some graphics on the front of the card. And make it take the pictures from a image folder. and make it look ok ?

View 1 Replies

ActionScript 3.0 :: Combining Two Graphics Or More Into One

Sep 13, 2009

Using AS3 code, is it possible to combine 2 graphics or more into one?
Example : combining a rectangle and a triangle to make a nice arrow?

View 5 Replies

Professional :: Extract Graphics From Fla

Jul 29, 2010

I have a load of FLA files with large libraries of vector graphics. Is there a way of forcing Flash to create an export(jpg or swf)of all the graphics in a library without having to manually drag them onto the stage or into a scene before publishing or exporting them? I'm thinking there might be an SDK or utility or something that can read fla files and export everything programmatically.

View 3 Replies

Professional :: CS5.5 IOS App Graphics Quality

Feb 9, 2012

I am designing my whole app in photoshop and currently in the process of moving all of the images to flash to add interactivity. The promblem is, when we put the app on the iphone the quality of the graphic is lowered for some reason. When I am building in photoshop my settings: 640px by 960px 72 ppi Saving out as a .jpg When I send the jpg as a picture to my iphone 4 and view it in my "Photos" app, it looks great, but on the test app it loses quality. Does anyone have anyone have any idea whats going on here?

View 16 Replies

C# :: Vector Graphics Libraries Available In AS

Nov 16, 2010

I'm looking to build a website that has a flash interface and allows visitors to upload vector art in a number of file formats such as SVG, EPS and AI.

I have two rather large problems...
1) I need to load the original vector art, probably convert it to FLV and display it in my flash application.
2) After the user potentially loads a number of images, adds some text, rotates or transforms some elements, I need to save the resulting composition into a vector art format that I can print.

I'm not much of an AS developer...my experience is mostly in .NET/C# & C++. I'm looking for a good library or API that provides the functionality I will need to convert different image formats and save the results. How much of this can be done using Flash / AS...? How much in C#...?

View 1 Replies

Flex :: No Graphics Environment Available

May 7, 2011

I am getting below error when I try to use hudson and maven [code]...

View 1 Replies

Graphics - How To Make SWF Display Exactly What PSD Does

Jul 4, 2011

I have two layers in Photoshop: 1 -- a texture, 2 -- a semi-transparent image that overlaps texture. The combination of the two looks nice in Photoshop. I export them separately from Photoshop saving them as 24 bit PNG with transparency and colors converted to sRGB. (Working color space of PS is sRGB.) The result of importing them into flash makes me cry (see images below, note what areas around crosses look like).

I tried both loading PNGs dynamically and directly importing them into fla (compression type: lossles, allow smoothing: false). Looks like semi-transparent areas are saved inaccurately on export. What's more puzzling to me is why the results differ between dynamic loading and direct importing. Here is that psd I'm stuck upon. Inside the zip you'll find transparency.psd, which has only two layers. I still have no luck in placing them into fla: transparent areas get dirty. [URL]

View 4 Replies

Flex :: Containing Graphics In A Container?

Oct 31, 2011

I'm using flex and drawing a circle using the Spark Ellipse primitive. I am setting the x,y coordinates of the circle myself. I am drawing them within a TitleWindow component. Is it possible to force the circle to not be allowed if I specify a coordinate that is outside the TitleWindow? Or do I have to check the coordinates manually myself?

View 1 Replies

IDE :: Optimization Of Complex Graphics?

Jul 28, 2009

making a flash game that has a lot of rather complex illustrator graphics. In the game you walk down a street, so all the graphics has to be moved every frame. In some levels where there are a lot of objects in the street the game starts to lag. after importing it to flash and making a mc of it, break it apart to save flash from drawing all the shapes that aren visible anyway?

View 2 Replies

ActionScript 2.0 :: CS3 Importing Graphics As Movieclips

Mar 30, 2009

I have created an animation that randomly puts graphics on the screen (they come in from 0 - 100 alpha). It works great with an array of just a few movieclips. Now I want to import several hundred images from an external list but how do I convert them to movieclips on import? Or can I import them into a movie clip and have a script do the tween?

What are people doing about the lack of manuals with CS4? I can't figure anything out anymore. [URL]

View 1 Replies

CS3 Importing Vector Graphics From Illustrator?

Apr 9, 2009

I've checked on the web, but I can't find an article/explanation on how to import vector graphics from illustrator into Flash.If this isn't possible, how do you go about dynamically importing it (not in the swf)?

View 1 Replies

Effectively Separate Content From Graphics?

Oct 14, 2009

I would like to completely separate the content (text,photo gallery,video files, etc) from the web graphics (interface).  What is the best way of accomplishing this?  The main reason for doing this is so that the client can quickly update the content as if he/she was editing a text document.  I want to avoid having to open the flash files in order to change content.

View 2 Replies

ActionScript 3.0 :: Extract Graphics From Loaded Swf?

Oct 30, 2009

I have swf which consist of many vector graphics.[URL]..If I import the swf to the stage, than I can manipulate this graphics. But this is not enough for me. I need to manipulate from Action Script.
 
I need to change the colors of this piceses from AS. I tried to use function getObjectsUnderPoint(new Point(mouseX, mouseY))  but it doesn't work. This function doesn't see shapes, graphics or something else.

View 3 Replies

Graphics Tablet Does Not Work In Flash CS4?

Nov 25, 2009

In Flash the cursor won't move if I use my tablet, but it moves if I use the mouse.. the tablet works outside of flash, like in paint. I use Windows 7 if thats the problem. Yes, I do have the latest drivers for Windows 7.

View 1 Replies

ActionScript 1/2 :: Display Graphics In A List?

May 26, 2010

The documentation for the List component at[URL].. states "A list can also display graphics, including other components," but nowhere can I find an example of HOW to make this happen.  Can anyone please point me to a working example, I really need to be able to leverage this functionality, but I cannot for the life of me find anywhere it's being done.

View 4 Replies

Professional :: Adding Graphics To Cards?

Jul 21, 2010

I'm creating a card game where the cards flip and are draggable. At the moment, I'm trying to add graphics to my cards using the addChild method, but I'm not having any luck. My cards flip and drag around properly, but I can't seem to get graphics on them. I have the graphics linked for use in action script. I have my cards in memory.fla and am using two external .as classes (DraggableClip.as and MemoryGame.as). Here's the code for both.

[Code].....

View 8 Replies

Flash :: Graphics Optimization For Programs?

Aug 23, 2010

Is there any program or setting for "pointing" flash programs at my graphics card rather than leaving it to the processor and RAM alone? I am running a specific frontend software that is a flash executable- unfortunately it lags heavily on execution despite the fact that I have a very nice video card installed.

View 3 Replies







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