Keeping One Image On Top?

Aug 15, 2009

I have created a website header that rotates through various images. I have another image that I would like to be off to the left side but partially cover the main header images. I really don't want this image to change with the other images. Is there a way to put this image on its own layer in flash and have it visible the whole time, while the other images change?

View 2 Replies


Similar Posts:


Keeping Button Image After Click?

May 5, 2009

Does anyone know how to hold a button image after it is clicked? Can you only do this with a movie clip??

View 3 Replies

Flex :: Photo Gallery - Resizing Image Whilst Keeping It Central

Mar 4, 2010

I am using a mx:Resize effect to change the width of an image in Flex (leaving the height to look after itself) but I want the image to remain vertically centered on the page. Whilst I could calculate the aspect ratio of the photo, and work out the new y value to keep it centred, I would have to include a mx: Move effect too, and I am hopful that Flex has a simpler way. This is for a photo gallery where images are loaded at run-time, and swapped about.

So I really would like to avoid recalculating the aspect ratio and vertical position every time the updateComplete event fires, I tried putting my image inside a mx: VBox with verticalAlign="middle", thinking that the box would do all the centering for me, but this only seems to happen when the app first starts - i need it to gradually adjust the position during the period where the effect plays (to keep it central even when part-way through).

Here's a stripped-down example (which doesn't work):
<mx:Application xmlns:mx="[URL]" layout="absolute" width="600" height="600">
<mx:Resize id="fxResize" target="{imgPhotoA}" widthTo="350" duration="500" />
<mx:Button x="10" y="10" label="Resize" click="fxResize.play()" />
<mx:VBox id="boxPhotoA" x="100" y="20" height="500" width="350" verticalAlign="middle" borderStyle="solid" verticalScrollPolicy="off" horizontalScrollPolicy="off">
<mx:Image id="imgPhotoA" width="60" maintainAspectRatio="true" source="[URL]"/>
</mx:VBox></mx:Application>

View 2 Replies

Flash :: Professional - Website Keeping Image Small And Link Movies Rather Than Embed But Still Slow

May 15, 2011

I have recently launched a site for a client which includes an interactive flash element on the home page but it takes a long time to load (10-30seconds). I have followed advice from others about keeping image small and link movies rather than embed but still slow, the swf file is about 7.9mb which i thought was ok for the size of flash file. Does anyway else know where I have gone wrong whether it be the embedding or some other area.

View 5 Replies

Keeping One Object Above Another?

Sep 14, 2009

i am doing a mario game with flash, as3. i want to mario stay above box when jump above it or i dont want mario to pass through box while walking. mario should crash box like wall.

View 3 Replies

Keeping Object On Screen

Aug 12, 2011

I'm making this banner, or FMA if you rather call it that, for a company (school assignment). I have some text fading in and out displaying the message. But I want an interactive FMA.I want to make some buttons, and when you go mouse-over on them, I want a picture to be displayed (different image for each button), WHILE the animation keeps going. Thats not the tough part.However, when the animation repeats (starts from the beginning), and if I'm holding the cursor over the button connected to the picture, the picture disappears and I have to go over the button again. [code]

View 1 Replies

Actionscript 3 :: Fit A Swf Into A Box Keeping The Same Ratio?

Jan 17, 2012

I have an as3 app that loads SWF's with various movie clips inside with a size of 1280 width and 720 height. I would like to fit these SWFs into a content box of height 885 width by 500 height. The SWF must keep a ratio of 1.77. This would be easy if as3 recognised the SWF being 1280 height by 720 width. It doesn't however, and takes the size of the movie clips inside the swf which varies (as long as it's within the original size boundaries). how I can make the SWF's fit into the content box even if the movie clip sizes and therefore the original SWF sizes vary?

View 1 Replies

ActionScript 2.0 :: Keeping One Or Two Decimals?

Aug 25, 2009

I know how to remove all decimals with:

ActionScript Code:
Math.round (xTwo*0.39);

But, how do I keep 1 or 2 decimals?

View 6 Replies

ActionScript 2.0 :: Keeping A Clip On Top?

Aug 6, 2006

I need to use a custom cursor.I am doing so by simply hiding the cursor and having a small MC follow the mouse around with a setInterval.I need to make sure the cursor stays at the highest level. The stage is blank and all content is loaded using script. I was just setting up the cursor at the end of the script and using getNextHighestDepth. That was working fine, but now I need to load external stuff into the movie. How can I set up my cursor so that it will stay above all the other clips, regardless of when they are loaded?

View 3 Replies

IDE :: Keeping The Projector Fullscreen?

Jan 7, 2009

I have created a cd-rom in flash which autoruns and opens up as a fullscreen projector. The cd launches various powerpoint files from without the movie, however, once i close the powerpoint file, the projector is no longer fullscreen.

Is there any way I can keep the flash movie running fullscreen behind the powerpoint files, so when i close them, the flash movie is the same.

View 1 Replies

ActionScript 2.0 :: CS3 Keeping Submenu Visible

Mar 3, 2009

What is the best way to keep a sub menu visible? The way I have it coding, is onRollOver the menu button, the sub menu is displayed. I want the submenu to disappear onRollOut of the entire menu... how would you do this?

View 2 Replies

Keeping An Object On The Stage After Tweening It?

Oct 18, 2009

Let's say I have an object, and I use a motion tween to animate it around. Great. Now, I want that object to stay at the final location while other stuff happens on the stage. I can't figure out an efficient way to do this. You can't copy individual frames of a tween, and copying and pasting the whole tween and breaking it up into individual frames and then removing all but the last frame is a bit... time-consuming.how I might be going about using tweens wrong? I feel like I'm just not doing things the way it was designed.

View 3 Replies

ActionScript 3.0 :: Keeping Object On Top/bottom?

Jul 21, 2009

In my attempt to keep a movieclip on the bottom, I used this code: ActionScript Code:setChildIndex(movieclip,0);However, whenever I play an animation over it that is NOT in a movieclip, it will always cover the animation.For example, I have a shape tween that is not a movieclip. Whenever I lay this movieclip over it with the above code, it always covers the non-movie clip. Is there any way to prevent this?

View 1 Replies

ActionScript 3.0 :: Keeping A Steady Framerate?

Sep 22, 2009

However, there is one issue that plagues a lot of viewers, their players not being able to rend the frames in time.Flash rends each frame on the spot where it is needed, this is obviously needed for actionscripting and similar. But this also means that if a frame takes too long to rend, the player has to do something about it.

The player actually does one of two things, depending on if there is any streaming sounds going on or not.If there is a streaming sound, Flash drops frames to keep in sync. Otherwise, Flash just ignores the issue and draws the next frame as if it didn't have any lag detection.Obviously, neither of these is desirable. What can you do about it? Well, the obvious thing is to not do crazy graphics that takes forever to rend. But what if you can't change the graphics?

There is one thing that you can always do, change the antialiasing level the player is using to do the rending. It's 4x4 (High), 2x2 (Medium) or none at all (Low). This makes the rendering go faster, since it is rendering to less pixels.You can also do other things that are movie dependent to reduce the work load. Things like spawning less particles in a particle effect or outright not having some effects. But those are all movie specific and difficult to work with in a general way.

One idea that I had was to draw everything to a bitmapdata of a smaller size and showing that instead, however, that has it's own issues. For one thing, I do not believe that the player can do it's "changed only" redrawing when you do this. Second, there is the issue if you want the corresponding bitmap instance to be smoothed or not. And of course, if you do this, zooming in will not have the infinite resolution that Flash is known for.Obviously, you need to know when the movie is lagging in order to know when to do this. However, the best I can think of is timing the enterframe events and checking if it has been too long since the last one.
This works to show if you are having issues reaching the target framerate or not, but it does not show the load if you are not having trouble reaching the target framerate.

Now, assuming that we have a metric for how well the playback is working, the big question remains: when do you change the rendering settings? And how do you do it?Yes, it is just a simple property of the Stage class for the antialiasing, but that is not what I mean here. I mean, how do you say if it should be changed or not? When it's even lagging one frame? When it's not lagging for one frame? The same, but for 20 frames? This is something I don't know what to pick.

View 3 Replies

ActionScript 2.0 :: Keeping Score With If Statement

Dec 15, 2010

I'm having an actionscript 2.0 problem with keeping score. I have a dynamic text box with a variable called score. I have the following action code for that variable:

_root.score = 0;

For the correct answer button I have this action:

_root.score = Number (score) +10;

This works fine to increase the score by 10 for each correct answer. The problem is that I can't get an if statement to work for when the score reaches 150 to gotoAndPlay a certain frame. I've tried various syntax, I've tried it on the action for a button and an action for the timeline with:

onRelease = function () {

(My learning game is set up to allow for users to answer up to four extra questions to reach the score of 150). Nothing has worked so far.

View 5 Replies

ActionScript 3.0 :: Keeping External SWF In Memory

Feb 22, 2011

So I am loading external swf's. These swfs contain a 16 frame image sequence on the stage. When I load the swf's and go to each frame via actionscript, they load into memory and they play fast and smoothly. If they sit on a single frame for a certain amount of time, the rest of the frames are dumped from memory and the image sequence plays slow again until each frame is displayed and stored in memory again. I really want to keep all the frames of these timelines in memory until I choose to unload the swf's manually.

View 1 Replies

ActionScript 3.0 :: Keeping Track Of Pages?

Mar 2, 2011

I have the code that adds a page number to each page. However, when I go backwards or back to the beginning, the numbers overwrite each other, and will not reset back to zero (first frame)Here is what I am using

ActionScript Code:
var pageCount:Number = 0;
var pageTotal:int = 14;

[code]....

View 0 Replies

ActionScript 2.0 :: Keeping Objects Vertical (MX)?

Dec 11, 2003

i'm trying to adapt a .FLA from flashkit.com which creates a "tree"at present, there is an MC of a line with a round button at the end.

this MC is played on startup - clicking on the button plays the MC from the centre of the button out in a random direction, creating another branch. the result is a tree-like design. - you can see a test here:

[URL]

I want to adapt this so text can be added to each "node", however, i have realised that as each branch is just the MC rotated, any text (or any kind of design dependant on vertical alignment) could be upside down.Would it be possible to "start" a seperate MC (which would be vertical at all times) at the end-point of each new node-MC?

View 2 Replies

ActionScript 2.0 :: Keeping Urls In Flash

Feb 11, 2004

Im using Swishmax and I can't seem to make a url open in my flash site(so it doesnt open as a pop up but in my actual flash site) So basically that it opens in a designated space that I made for it on my site. I know that a tuturial for this exists on this site but i just can't seem to find it.

View 2 Replies

ActionScript 2.0 :: Keeping Swf Scale 100% In Browser?

Jun 6, 2005

it should be a basic task but i cant figure out how to keep a swf from scaling to the size of the browser window. Im making a web site and i want to keep the swf in the centre while showing the entire swf ( ive got over hanging images i want to show), if i can do that and have it embedded in html would be best but anything helps. Ive tried the fscommand but dosent seem to effect within a browser.

View 1 Replies

ActionScript 2.0 :: Keeping A MovieClip Within A Set Area?

Aug 13, 2006

I am having problems with a MovieClip, basically it can be moved arround with the mouse and it is resizeable but when i move it arround or enlarge the movieclip (when its in a published format) i want to constrain it to an area such as 400 width by 400 height.Because at the moment you can drag or resize the movieclip ouside the whole frame, which i dont want. i want to constrain it to a set area.

View 7 Replies

ActionScript 2.0 :: Keeping The Flash Banner Below 30K?

May 23, 2007

I am working on a Flash banner for my company here and I have a search form built into the animation. I have some specs that I need to follow keeping the flash banner below 30K. I have drawn most of the animation for the banner to keep the size down, but its still 79k. I have been testing the graphics learning more about how to optimize the images,

Anyway.. I have been deleteing parts to see where the problem is. Its the form. I have a drop down box and radio buttons. When I delete them, the K size drops to 13k. Is there a way to optimize the forms? Has anyone else had a problem with forms and k size?

I am using Flash 8, on a (bla) PC.

View 2 Replies

ActionScript 2.0 :: Keeping Loaded SWF Visible?

Sep 20, 2007

I�ve built my site using external SWFS. The problem is; I want to keep the loaded SWF viewable until the next requested file is ready. At present, as soon as a button is clicked the screen goes blank and the new file�s preloader kicks in.

View 12 Replies

ActionScript 2.0 :: Drag A MC Just On Its _x Axis, Keeping The _y The Same?

Nov 23, 2007

How do I drag a MC just on its _x axis, keeping the _y the same?

View 2 Replies

ActionScript 2.0 :: Loading Movies And Keeping Them?

Dec 31, 2003

is it possible to keep the loaded movies and then attach them to a mc ? The thing is that I have several external resources to load and I wish to attach them pour MCs along the execution of the movie.

View 2 Replies

ActionScript 2.0 :: Keeping Urls In Flash?

Feb 11, 2004

Im using Swishmax and I can't seem to make a url open in my flash site(so it doesnt open as a pop up but in my actual flash site) So basically that it opens in a designated space that I made for it on my site. I know that a tuturial for this exists on this site but i just can't seem to find it.

View 2 Replies

Jump Around In Frames While Still Keeping A Background Animation Going?

May 6, 2009

I want to make an interactive flash file, and the way I want to have it layed out is that a steady animation will play in one layer, while being able to jump around in frames with events such as a mouseover.I'm going to give a generic example, this isn't what I'm going to do, but it gets the point across.Theres a house and a tree. The leaves on the tree are falling, and upon mouseover of the house door, the door will open. Yet the leaves will remain falling (without skipping frames in the animation) while the door is still opening.How do you do this without using a goToAndPlay(x) or such that jumps the whole animation?

View 11 Replies

ActionScript 3.0 :: Input Box - Keeping TextField Populated?

Mar 10, 2009

I have an input box where a user enters in a temperature in Celsius and a dynamic text box where the converted Fahrenheit value appears. All is working well, but I want to keep the user's entered Celsius number constant in the input box and not disappear; that way they can't forget the original number they entered to get the conversion.

View 8 Replies

Using Popup Window While Keeping Buttons Below Inactive

Oct 30, 2009

how to keep items below my pop-up window (window-component) from remaining active even though my pop-up window is layered above my buttons. I've tried to program my buttons to be inactive but since my buttons are part of an intricate animated navigation system, it seems like a lot of work when there should be an easier fix.

View 7 Replies

ActionScript 3.0 :: Keeping Item At Top Of Display List?

Jan 19, 2010

I have an AS file which contains all of the code for a main menu. This code loads another AS file which initializes code for the general items that will be on the stage throughout the whole flash. But when I initialize the code for one of the menu items after it's clicked I don't know how to get 2 of the items from the stage elements code to be on top of the display list. Because, as the code for the menu item loads the two stage elements are going to cover the items from that code and after its loaded its going to open up and show them the items that are loaded from the menu item code.

View 4 Replies







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