Artwork Visible Outside Of Stage?
Dec 18, 2010I am close to finishing my animation and for starters one scene is lagging a lot and the artwork is visible outside of the stage dimensions. is this normal?
View 1 RepliesI am close to finishing my animation and for starters one scene is lagging a lot and the artwork is visible outside of the stage dimensions. is this normal?
View 1 RepliesI have drawn a pecked line route, sitting on its own layer, using flash tools, over a base map. I have then gone Insert>Symbol>movie and I now need to get a copy of this route into the movie's white area. I expected perhaps when right clicking on the layer, an option called copy to movie and an ability to select the movie name.
View 2 Repliesis it best to add a bitmap in a clip / sprite container, or just add the graphic (jpeg, png etc) via
ActionScript Code:
:Bitmap = new Bitmap(speakersBmd);
?
I had a question if there is a way to set the stage as not visible? Meaning the .swf stage is transperent and takes the properties of the bg image of the bg of the page its laid on? I'm trying to steer away from just using flash for the site and using a mixture of flash elements in a css site but I can't seem to get the stage to be transparent.
View 1 RepliesI 'm created a movieclip with an image but it won't show on stage.
This is my code:
var btn_groep:MovieClip = new MovieClip();
var i = new Loader();
i.load(new URLRequest("images/btn_groep.jpg"));
[Code].....
I have 5 mc on stage. Each mc is visible false. I want only 1 mc appear on stage each time. For example mc 1,2,3,4,5. If 5 appear the rest are invisible. If 3 appear the others are not seen.
View 4 RepliesI would like to make an object visible off stage. So that the object is floated over the HTML. Any Ideas. I don't seem to be able to do it using Transparent Window in the HTML publish options and think it may only be possible using javascript (layers) but I would much prefer to only use flash so if anyone has a idea I'd love to hear it.
View 2 RepliesMy Flash file contains a movie-clip(Box1) that is exported for Action-script but it is not exported to Frame 1 in Linkage Dialog Box. Box1 has been put on frame-40 and the object is accessible in document Class but is not added to stage. However when it reaches to Frame 40, the object at Frame 40 get visible. My question is where is boxObj??
[Code]...
I'm trying to get a simple AS3 app up and running, and for some reason, I cannot get a sprite to show. At this point, all I want to do is get a red sprite to fill the stage.
public class Main extends Sprite
{
public function Main():void
[code].....
Now this one wouldn't be tricky at all if the vector graphic background I wish to cache wasn't nested. Unfortunately it is.
-stage
-- container
----- animated layer
----- bitmapCacheContainer
----- background
This is the hierarchy for the display list. The animated layer is slowing to a bad chug on the heavier backgrounds. This is due to the fact that when zoomed in on the container layer, the automatic cacheAsBitmap functionality in the flashplayer is caching a HUGE image, which takes a fair chunk of memory.
I have started dev on this, and this is my process.
Create a new bitmap object to hold the snapshot.
Code:
if( stage.stageWidth > container_mc.width ){
_width = stage.stageWidth;
}
[Code].....
Has anyone tried this before, or can anyone see any schoolboy errors here that I am missing.
I use the following function to make a few mc's visible on the stage with a setInterval.
[Code]...
I have an array of MovieClips, when I try and use .removeMovieClip on one of the array items it removes reference to the MovieClip Object but it is still visible on the stage. When I address the MovieClip directly and use removeMovieClip on that it removes references and deletes from the stage.
i.e.
Scenario 1:
myArray = new Array();
myArray.push(myMovieClip);
myArray[0].removeMovieClip();
trace(myArray[0]);
trace(myMovieClip);
Traces out undefined, undefined but the movieClip is still visible on stage (and can still interact with).
Scenario2:
myArray = new Array();
myArray.push(myMovieClip);
myMovieClip.removeMovieClip();
trace(myArray[0]);
trace(myMovieClip);
Trace out undefined, undefined and the movieClip is removed from stage
I have an actions layer, a sound layer and an image layer. I put one image from the library onto the image layer and all I see is the border. When I test the movie the image is visible. This just started suddenly. What is going on? Flash CS4.
View 3 RepliesI have problems with webcam streaming in AS2. In AS3 I can make it visible on stage with a Camera.get call and a Video object. Because of some reasons in one of my works I have to use AS2. Can anyone provide me a working code to make visible the webcam's picture on the stage? I use the following code, but it doesn't work:
var cam = Camera.get();
//it's okay I can see the real camera name in the name property
var vid:Video;
vid.attachVideo(cam);
//... and nothing happens on the stage Why?
trace(vid) returns "undefined" Why?
I have an swf file, in which on (release) simultaneously:
1) another external swf is loading: loadMovieNum ("file.swf",2);
2) hidden before object on stage is appearing: _root.object._visible=true;
All is ok, excluding that the object becomes visible 'under' that external swf. How to put it above the swf instead?
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.
I have an air window that opens up and loads an swf half-size (my swf stage is 1280x720, but the 'preview' is 640x360). Right now, the user can import any-size image. From here the user has the ability to alter their image (elements on the stage, the positioning and scaling of the imported image, etc.). I know that there is a way to "screengrab" the stage and save that out to the user's hard drive (I got that working). Is there anyway to do this same thing, but at the full size of the stage. Meaning, the screengrab is only half-size, but is there anyway to perform similar stuff without screengrabbing,
View 2 RepliesI have some movieClips on stage which are draggable and I don't want them to be draggable outside of a visible stage area. Problem is these movieClips are inside a sprite which is panable and then for whatever reason this bounds doesn't work anymore as I intend it to. How do I fix this bounds?
Code:
var arr:Array = [m1,m2,m3,m4,m5,m6,m7,m8,m9,m10];
var thumbSprite:Sprite = new Sprite();
addChild(thumbSprite);
for each (var item in arr) {
item.addEventListener(MouseEvent.MOUSE_DOWN, startDragCard, false, 0, true);
[Code] .....
Is there a performance and/or memory usage difference between these two scenarios?
Scenario 1: N visual elements all added to stage;
N-1 have visible = false, 1 has visible = true;
Scenario 2: N visual elements, only 1 added to the stage at any time.
I am trying to add some actions to artwork, is for a button, fox example the output says:
Scene=Scene 1, Layer=Actions, Frame=1: Line 1: Wrong number of parameters; set requires exactly 2.
set ("boxStatus"); = "0"
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Mouse events are permitted only for button instances
[code]....
How does flash player handle objects when they are no longer on the visible stage? Is the graphical data still in memory? Does hittestobject/point consider them? Are enterframe and interval events still running?
In AS2 I would hold metaobjects (minimal x,y,width,height data) that would delete/create movieclips as the screen scrolled. Is this still a correct approach in AS3? If not, is there anything I can do to offstage display objects that improves efficiency, assuming around 400 are created initially?
I've created buttons that light up when moused over. They work fine but I need them under a semi-transparent layer that has been imported and when I move them under it they stop working.
View 1 RepliesI am creating artwork in Illustrator that I want to give someone else to bring into Flash.
1. What is the best format for making static graphics? Just a graphic symbol?
2. What about for graphics that will be converted into buttons in Flash? Does it matter if they are Graphics or Movie Clips in Illustrator?
I've got a project that heavily utilizes the new 3d artwork tools in Flash CS4. My question is has anyone done any tests to see if Flash is quicker with raster or vector graphics? My SWF really bogs down on slower machines.
View 2 RepliesI'm working on a flash project that incorporates a lot of artwork done in Illustrator CS4. I've been copy-pasting directly from Illustrator into Flash, and I add some animations as well. Final file is going to be a one single swf file which will be a part of UI for an application and .net will be the core for this. But now flash becomes unusable slow to respond for actions. My machine is a fast i7 with 6gb of RAM, so I don't think that's the issue. We are going to use this file with dual core atom processors. Does anyone have ideas for alternative importing techniques, optimizations within illustrator, anything at all that will make this more manageable?
View 1 RepliesI have produced some vector artwork in illustrator for use inside a Flash Project. When I import the artwork into Flash the importer appears to place all of the element into many nested groups and creates folders in my library. Is there a way to import the graphics from illustrator as flat shapes rather than these nested groups?
Currently I am importing into Flash and having to go into each group and cut the shapes out and paste them into an empty MovieClip which is very time consuming.
when I inserted the code some of the symbols on stage disappeared. This did not surprise me because I did not understand the code, but then when I deleted the code it did not revert back. I dismantled the frame and dragged new symbols on stage and I still could not see them when I tested the movie. Checked to see if any code was written anywhere else but could not find any. The only code I had was a gotoAndStop which I was using simply to view that specific frame. when I removed the gotoAndStop finally the images appeared. If I placed a stop on the frame I wanted to view, then it worked fine but a gotoAndStop did not work as I was left with a white screen. Finally I had to recreate everything in a new document and then the gotoAndStop worked, but I have noticed that if I drag certain components on stage then I have a similar disappearing act.
View 5 Repliesway programmically in flash to detect the edges of imported artwork (artwork that has transparent background)? I am hoping to build something that detects the edges (or boundaries) of artwork and then place other objects around those boundaries. (so they dont touch too much or overlap).
View 4 RepliesWhat is the best way to create artwork for cross platform mobile application that is made using Adobe air. This application runs on iphone,iphone4,ipad,ipod,android,blackberry,desktop.
View 1 RepliesI am working on Adobe air for making a cross-platform project which is running on iOS, Android, Mac and windows. I have a plan to make it runnable on web as well. I am looking for the best approach for making artwork for this project as it is crossed platform. Right now I am thinking to separate backend logic from front-end i.e put layout for every platform separately.
Web ---- Desktop ----------- Mobile
-------> (Logic)