Bitmap animation problem
I made an animation with a collection of bitmaps from
fireworks. I wanted to use it in the "over" state of a button, but
when I go to swap, all it give me is access to is the 8 bitmaps I
imported, not the animation/movie clip I want as the over state. Is
it possible to do what I'm trying to do?
swap is only for symbol instances.
~~~~~~~~~~~~~~~~
--> Adobe Certified Expert
--> www.mudbubble.com
--> www.keyframer.com
~~~~~~~~~~~~~~~~
Sly1211 wrote:
> I think you gave me my answer. What I was trying to do
was sawp using a static
> bitmap rom my animation. Following your advice, I made a
movie new clip
> (flash) and swaped in my animation & it worked. The
animation was off to the
> side when I rolled over the button, but that I think
will be an easy fix sice I
> was just doing it qucik & didn't have the new movie
clip the correct size.
> Thanks for your help & I like your web site.
>
Similar Messages
-
Animating problems in Director
Hi everyone
I have a huge problem when animating sprites (both in
Director and Flash). When I move a sprite in the score it cracks
(like a spoon in a glass of water, every time in a different way
and time). What am I doing wrong? Is it something wrong with my PC
(Penitum 4, 1.270 RAM).I have tried at different pc and it happened
the same. Please help me!!! I am desperate.In Director I draw a
rectangle at the far left of the stage in frame 1. Then, I insert
Keyframe at the score in frame 30 and move the rectangle at the far
right of the stage. When I press play, the rectangle when it moves
from left to right doesn’t stay solid, it cracks!!! Every
time differently. Why is that??? The same happens with photos or
any other shape.
Thanks.balboas wrote:
> It happens only in Flash and Director, when I animate
any image or
> shape no matter if it is bitmap or vector shape.
> My monitor?s resolution is 1024x768, refresh rate
75Hertz (it
> doesn?t support higher).
That's a bit low - but if it's an LCD it should most likely
be set to 60Hz.
> I can?t find the vertical sync though.
Right-click Windows desktop. Choose Properties. Settings.
Advanced. Click
the tab with the name of your video card. Choose Performance
& Quality
Settings. Vertical sync should be listed in a box perhaps
labelled "Global
driver settings". Write down what it's set to. Uncheck
"Application
controlled" and move the slider to "On".
After testing Director/Flash, if it doesn't help then change
it back to
whatever it was set to.
> My P.C. plays video perfectly. I don?t think that has to
do with the
> power supply.
> Note, that when I played that files in different
computers, the
> image tearing always shows.
Have you tried reinstalling Director and Flash?
OS/Director/Flash versions?
Andrew -
Flash as2 game animation, problem.
hello i am making a flash animation game but i have a problem, i have my guy running and everything its all gifs, so when he stops its a gif its not one picture its 4 of em (gif) which i made them all compressed into a gif and added to my library then added that to my flash made it work blah blah blah-
well my problem is when my guy runs left he turn right after i let go of the key i no whats it is doing it using my 1 animation i have in their for standing i to add my other animation which he standing left basically he runs left after i press left then i let go he turns right, i need to know how to make it so either when i let go of the (LEFT) key it uses my animation ('still2') which is him facing left which i need i have him running right and he stays right after so thats good, or if u know if theres a way i can make the code say like after i let go of like left it uses gotoAndStop('still2') then for running right it uses gotoAndStop('still') so he dosent turn around after i let go of left! well i hope u can find out, and its all animated, so dont just make it so it dosent stop using the animation of left or right, cause then hes running in place for enternity thanks heres my code.
var rollSpeed = Number=14;
ichigo_mc.onEnterFrame = function() {
if (Key.isDown(Key.RIGHT)) {
this._x += rollSpeed;
this.gotoAndStop("right");
} else if (Key.isDown(Key.LEFT)) {
this._x -= rollSpeed;
this.gotoAndStop("left");
} else {
this.gotoAndStop("still");no its actually not a school project just i want to know how to make a game, and i dont know really anything about flash, but i have in my picture of my guy another layer so theres each indivudual layer like i have in my pic of my guy the still still2 running animation 1 n 2 and both my attack things, if you would to see my project so far ask me and i send the file and it should show my guy and his animations...
heres my code so far.. idk y but i like putting at the end
var rollSpeed = Number=14;
var facingRight = true;
ichigo_mc.onEnterFrame = function() {
if (Key.isDown(Key.RIGHT)) {
this._x += rollSpeed;
this.gotoAndStop("right");
facingRight = true;
} else if (Key.isDown(Key.LEFT)) {
this._x -= rollSpeed;
this.gotoAndStop("left");
facingRight = false;
} else if (Key.isDown(Key.SPACE)) {
this.gotoAndStop("atack2");
} else {
if (facingRight) {
this.gotoAndStop("still");
} else {
this.gotoAndStop("still2"); -
Photoshop Elements 4 Animation Problem
Hey everyone.
Sorry for posting this in the iMac forum, but there really was no other forum for my problem. I am using Photoshop Elements 4, and whenever I try to save an animated gif, I cannot edit the frame delay or loop options, they will not respond to anything, but EVERYTHING else will. I have tried uninstalling and reinstalling it, and repairing permissions, and everthing else I can think of. Please help!
Thanks
MaxHmm... Well, this *****. It's wierd, I got it to animate succcessfully once, but only once, then I couldn't again. Just one more reason to wait for and buy 5 Universal when it comes out I suppose. Thanks for your help.
Max
EDIT: Hmm.. I didn't realize this forum had such a strict profanity filter. That wasn't a bad word... -
Adobe Premiere Elements 8 Gif Animated Problem
Hey guys , Im currently having problems with my Adobe premiere
Im trying to import an image thats a .gif but it wont let me sais File not supported
So I tried importing another .gif image and it worked
Basically , im trying to import a .gif image and it wont let while letting me import other .gif images except for the one I want
Thank youAs I said
I have another .gif animated image that works with Premiere
So yeah , .Gifs work
And I can import that , but I cant import the one I want
And the problem is my Animated project has 93 frames -
Hi!
I've been working on a game and I have made an intro for it out of two animated gif files. The problem I am having is running these two files one after another at the start of my program. I can get them to both run at the same time, or one of them to run..but after it runs the second one doesn't come out....like i can't do anythin after i run one of the gif images...any advice would be of great help to me! Thank you!
Revcode?
-
Hello,
I have come across a problem where if I have applied an effect to a video clip such as Gaussain and make an adjust to the timing of the effect under Video Animation option, it wont save that particular adjustment and wont render it.
Any help would be appreciated.
Regards
DavidIt's the slider on picture below... It will work for some of the effects, however sometimes it doesn't - it wont render, meaning the effect will render, but it wont recognise the slider setting eg. the effect will be fully on. The thing is it's not doing it all the time, only sometimes. It might be the specific effect, or perhaps having multiple effectss etc. Not sure, but I have played around with it a lot and can not figure out what is going on.
David -
UIView Animation Problem with different Controllers
Hello!
I have a problem regarding the UIView animation and therefore, I have three questions:
1. is it possible to flip from view old to view new whereby each of the views have their own controller?
2. Can I only flip views sharing the same controller?
3. Maybe someone could help me with the following issue: I have two views, and each of the views have their own controller.. the code snippet illustrates my approach.. When i start my code, the new view is added on top of the old view, and the flipping animation is animating the old view only behind the new view.. Sure, this is not what i want to have.
MapPrototypeAppDelegate *app = (MapPrototypeAppDelegate *)[[UIApplication sharedApplication] delegate];
ReadGroupsViewController *aReadGroupsViewController = app.readGroupsTableViewController;
UIWindow *window = app.window;
[UIView beginAnimations:nil context:nil];
[UIView setAnimationTransition: UIViewAnimationTransitionFlipFromRight forView:[self.mapView superview] cache:YES];
[UIView setAnimationDuration:1.3];
[UIView setAnimationDelegate:self];
[window addSubview:[aReadGroupsViewController view]];
[UIView commitAnimations];
thanks..sommeralex wrote:
1. is it possible to flip from view old to view new whereby each of the views have their own controller?
Yes.
2. Can I only flip views sharing the same controller?
The flip animation may be used to transition between any "old" and "new" view without regard to whether those views have different controller's, the same controller, or no controller at all.
3. Maybe someone could help me with the following issue: I have two views, and each of the views have their own controller.. the code snippet illustrates my approach.. When i start my code, the new view is added on top of the old view, and the flipping animation is animating the old view only behind the new view.. Sure, this is not what i want to have.
MapPrototypeAppDelegate *app = (MapPrototypeAppDelegate *)[[UIApplication sharedApplication] delegate];
ReadGroupsViewController *aReadGroupsViewController = app.readGroupsTableViewController;
UIWindow *window = app.window;
[UIView beginAnimations:nil context:nil];
// the next line is puzzling. what is 'self.mapView', and what do you expect its superview to be? If 'self' is a
// view controller, what is the relationship between its 'view' property and its 'mapView' property? Does 'view'
// also have a superview? Is 'view' above or below 'mapView'? Is there a view between 'mapView' and the window?
[UIView setAnimationTransition: UIViewAnimationTransitionFlipFromRight forView:[self.mapView superview] cache:YES];
[UIView setAnimationDuration:1.3];
[UIView setAnimationDelegate:self];
// apropos the question above, what view is being covered in the next statement?
[window addSubview:[aReadGroupsViewController view]];
[UIView commitAnimations];
I think I need a better understanding of the view hierarchy we have before aReadGroupsVC.view is added. The problem you're having is probably caused by passing the wrong view as arg here: [self.mapView superview]. But I can't say for sure since I don't know how mapView is related to the view hierarchy, and I don't know what it's superview is. It might be easier to just explain your "old" view structure and tell us how you want it to change after the flip transition.
- Ray -
Keyboard animation problem.
Im having various problems after 2.2 update.
I was posting a message and suddenly the keyboard animation just stopped.
A minute later i lost internet connection and had to reset the phone.
Holding the backspace button for 2 seconds results in whole message being deleted letter by letter...
Is there a fix?
<Edited by Moderator>It was a simple fix, i did not notice the keyboard was in undock mode.
-
Animation problem ( badly needs) ?
Hello,
Sorry i 'm posting again and again. because nobody couldn't respond . I badly need this application to be run. Here is what am doing. First applet should start and display '+'( by painting) after keypressed(eg spacebar) then sleep for a while and paint rectangles and next arrow then sleep and etc . this goes on until i keypressed again. Here is that i wrote code , could u please check and modify it. Where i stucked is that KeyPressed code is not working. Please see the code modify it wherever is necessary.
Thanks in advance,
- Balaji
import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Color;
import java.awt.Rectangle;
import java.awt.GradientPaint;
import java.awt.geom.GeneralPath;
import java.awt.Polygon;
//<applet code="ExptA4.class" width=300 height=300></applet>
public class ExptA4 extends Applet implements Runnable {
Thread animator;
Dimension appSize;
boolean frozen = false;
int appWidth = 1000, appHeight = 800;
int delay = 500;
java.awt.geom.Ellipse2D.Double circle;
public void init(){
appSize = new Dimension(appWidth,appHeight);
this.setSize(appSize);
addKeyListener(new KeyAdapter(){
public void keyPressed(KeyEvent e){
ExptA4 exptA4 = (ExptA4) e.getSource();
if (e.getKeyCode() == KeyEvent.VK_SPACE)
System.out.println("in the keypressed method ");
}// end of if
} // end of keyPressed method
} // end of init
public void start(){
if(frozen)
{ // do nothing
else
if(animator == null) {
animator = new Thread(this);
animator.start();
} // end of else
requestFocus();
} // end of start
public void stop(){
// stop the animation thread
animator = null ;
} // end of stop
public void run(){
Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
while(Thread.currentThread() == animator)
repaint();
try {
Thread.sleep(5400);
} catch (InterruptedException e) {
break;
} // end of run
public void paint(Graphics g){
Graphics2D g2 = (Graphics2D)g;
Rectangle leftRect,rightRect,plus_horz,plus_vert;
Polygon downArrow = new Polygon();
// drawing the plus
int xHPoint = 440,yHPoint = 350, widthP = 30, heightP = 30;
plus_horz = new Rectangle(xHPoint,yHPoint,widthP,heightP-27);
plus_vert = new Rectangle(xHPoint+10,yHPoint-10,widthP-17,heightP-10);
// black interior
g2.setColor(Color.black);
g2.fill(plus_horz);
// black border
g2.setColor(Color.black);
g2.draw(plus_horz);
// black interior
g2.setColor(Color.black);
g2.fill(plus_vert);
// black border
g2.setColor(Color.black);
g2.draw(plus_vert);
try{
Thread.sleep(4000);
} catch (InterruptedException ie)
// drawing the Rectangle
leftRect = new Rectangle(300,300,100,100);
rightRect = new Rectangle(500,300,100,100);
// white interior
g2.setColor(Color.white);
g2.fill(leftRect);
// black border
g2.setColor(Color.black);
g2.draw(leftRect);
// white interior
g2.setColor(Color.white);
g2.fill(rightRect);
// black border
g2.setColor(Color.black);
g2.draw(rightRect);
try{
Thread.sleep(4000);
} catch (InterruptedException ie)
// drawing downArrow
int xPointA = 340,yPointA = 340, widthA = 30, heightA = 30;
downArrow.addPoint(xPointA,yPointA);
downArrow.addPoint(xPointA+25,yPointA-25);
downArrow.addPoint(xPointA+13,yPointA-25);
downArrow.addPoint(xPointA+13,yPointA-75);
downArrow.addPoint(xPointA-13,yPointA-75);
downArrow.addPoint(xPointA-13,yPointA-25);
downArrow.addPoint(xPointA-25,yPointA-25);
g2.setColor(Color.white);
g2.fill(downArrow);
// black border
g2.setColor(Color.black);
g2.draw(downArrow);
try{
Thread.sleep(4000);
} catch (InterruptedException ie)
// drawing circle
int xPoint = 340,yPoint = 340, width = 30, height = 30;
circle = new java.awt.geom.Ellipse2D.Double(xPoint,yPoint,width,height);
// black interior
g2.setColor(Color.black);
g2.fill(circle);
// black border
g2.setColor(Color.black);
g2.draw(circle);
try{
Thread.sleep(4000);
} catch (InterruptedException ie)
} // end of paint method
}hi ,
here is modified code . I kept all sleep methods in the run method.
But the problem is i couldn't get any response from the keyboard.
What i need is that whenever key presses then animation should starts.
please help me in this regard.i 'm putting my code here, please modify
it according to my requirements. Once again i badly need this one to be run. i really appreciate if anyone help in this one.
Thanks,
-balaji
import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Color;
import java.awt.Rectangle;
import java.awt.GradientPaint;
import java.awt.geom.GeneralPath;
import java.awt.Polygon;
//<applet code="ExptA5.class" width=300 height=300></applet>
public class ExptA5 extends Applet implements Runnable,KeyListener {
Thread animator;
Dimension appSize;
boolean frozen = false;
int appWidth = 1000, appHeight = 800;
int delay = 500;
// drawing circle and arrow.
DrawCircle circle = new DrawCircle();
DrawArrow downArrow = new DrawArrow();
public void init(){
// setting dimension for applet
appSize = new Dimension(appWidth,appHeight);
this.setSize(appSize);
// adding key listener
addKeyListener(this);
} // end of init
// to activate keys
public void keyPressed(KeyEvent e ){
System.out.println("in the keypressed method ");
ExptA5 exptA5 = (ExptA5) e.getSource();
// when space bar presses then start the thread and animation starts
if( e.getKeyCode() == KeyEvent.VK_SPACE)
if ( Thread.currentThread() == animator)
exptA5.animator.start();
} // end of if
} // end of keyPressed
// other key methods
public void keyTyped(KeyEvent e){}
public void keyReleased(KeyEvent e){}
// applet starts and animation starts .
public void start(){
if(frozen)
{ // do nothing
else
if(animator == null) {
animator = new Thread(this);
animator.start();
} // end of else
} // end of start
public void stop(){
// stop the animation thread
animator = null ;
} // end of stop
public void run(){
Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
while(Thread.currentThread() == animator)
try {
Graphics g = getGraphics();
Graphics2D g2 = (Graphics2D)g;
// drawing arrow which is calling from other class
downArrow.drawPoly(g2);
// sleeps for a while
Thread.sleep(5400);
// drawing circle which is calling from other class
circle.drawCircle(g2);
// sleeps for a while
Thread.sleep(5400);
repaint();
} catch (InterruptedException e) {
break;
} // end of run
public void paint(Graphics g){
} // end of paint method
// drawing circle
public class DrawCircle{
java.awt.geom.Ellipse2D.Double circle;
public void drawCircle(Graphics2D g2)
int xPoint = 340,yPoint = 340, width = 30, height = 30;
circle = new java.awt.geom.Ellipse2D.Double(xPoint,yPoint,width,height);
// black interior
g2.setColor(Color.black);
g2.fill(circle);
// black border
g2.setColor(Color.black);
g2.draw(circle);
// drawing Arrow
public class DrawArrow{
Polygon downArrow = new Polygon();
public void drawPoly(Graphics2D g2)
// drawing downArrow
int xPointA = 340,yPointA = 340, widthA = 30, heightA = 30;
downArrow.addPoint(xPointA,yPointA);
downArrow.addPoint(xPointA+25,yPointA-25);
downArrow.addPoint(xPointA+13,yPointA-25);
downArrow.addPoint(xPointA+13,yPointA-75);
downArrow.addPoint(xPointA-13,yPointA-75);
downArrow.addPoint(xPointA-13,yPointA-25);
downArrow.addPoint(xPointA-25,yPointA-25);
g2.setColor(Color.white);
g2.fill(downArrow);
// black border
g2.setColor(Color.black);
g2.draw(downArrow);
} -
Embedded Text - Animation problem
Hi All,
I'm having a strange problem with animated text and embedded fonts. The best way to explain is to show you...
When I don't embed the font, the problem goes away. It happens in both IE and Firefox and on multiple machines. I've also tried different fonts with the same results. I've also tried recreating the FLA from scratch with no luck. Also, after the page loads, the "streaking" effect goes away if I resize the page.
I am using CS4/AS3. Any ideas what is going on here?
Thanks.
- Adamthen there wouldn't be any problem. you must be doing something else.
to confirm, create a new project that contains just your timeline tweened text. retest. -
Hello I have a problem, and cant figure it out on my own. Im working on a retina folio and created a 350x350px Animation in adobe edge, then i opened a 350x350px frame and put in the html file via folia overlay, I selected the option scale to fit and autoplay. then I saved the file and previewed it via Indesign folio preview and everything looked as expected, the animation fit the 350x350px frame and looked crisp. Then I uploaded the file on my Ipad and the animation unfortunately looked really small and was only visible in the upper left part of the frame. Any Ideas what the problem could be, it supposed to look the same as the preview on my mac right? Please help me, thank you
Hi, yes I ve figured this out. Keep the resolution of your EAnimate files over 144dpi and reduce the document dimensions of your exported file to 50%. Never use scale to fit option. Not gonna work this way.
-
Hello.....
This problem has just started since upgrading to CS5.5
The problem is with PS 5.1 .
What happens is, if I make an animation I usually prepare it at a larger
size to see it better, (my eyes are not what the once were) When it's ready/finished
I then resize it smaller to suite my needs...but what's happening now that never happened before
with any other version of PS or IR... is parts of the graphics jump off stage or to another part of the scene
I can correct or workaeound it but its a pain. Is it a bug or am I missing a checkbox somewhere?
Thanks for any helpThis forum is for suite specific issues only. Please post in the Photoshop forum.
Bob -
Best way to export vector animation as bitmap animation
Hello -
we have some very complex animations that, for performance reasons, we want to have them be bitmaps at runtime. I'm wondering if anyone has any advice on how to do this. I don't think using the cacheAsBitmap feature will help us out at all - these animations are constantly changing frames and therefore the cache won't help us much.
For example, maybe i can write a jsfl script to copy each frame and paste it into a new .fla as a png instead of as vector art, but I haven't explored that option much.
any helpful ideas?
thanks in advance.kglad wrote:
changing vector graphics to bitmap graphics won't help performance if enabling the cacheAsBitmap property isn't helpful.
Can you explain that more?
cacheAsBitmap only caches the bitmap after the vectors have drawn, and each time the animation changes frames, new vectors need to be drawn, so the cache is invalidated.
If the animation is originally all bitmaps, no vectors need to be drawn at all - and would therefore be less CPU intensive. -
Selecting Embedded Bitmap Text - Problem
I tried to create a Flash TextField, containing Text with
maximum sharpness.
So i embedded Verdana Font Size 8 as Bitmap Text, and set
sharpness and thickness to my benefits.
Now the Text ist displayed cleary, but if you try to select
or write into the text box it really suxs:
The Cursor position gets a higher distance to the text while
the text line gets larger.
Anyone know this problem, i searched this forum but i didnt
find a solution about this prob.I assume you opened a new Gateway session after you have added that parameter and that you see it in the trace file....
There's a trial ODBC driver from DataDirect (www.datadirect.com) available for download and which you can test. Check if that driver works. If yes, make sure you have the latest ODBC driver release applied to your env that matches your configuration and if needed ask the ODBC vendor for help.
- Klaus
Maybe you are looking for
-
What is the use of SWIFT CODE IN BANK ACCOUNTS
What is the use of SWIFT CODE IN BANK ACCOUNTS
-
FM for item condition values in RFQ
Hi, I have a RFQ number. now the i want a function module which will return me the item condition values ( eg freight,gross price etc). i have gone through a FM named 'PRICING' but thats not helping me any help
-
Error when trying to use Software update
I was trying to update the software on my Powerbook when I get the following message from the software update: Make sure you have permission to write to /tmp/501/Temporary Items/com.apple.Software Update, then try again. Does anyone know what this me
-
What is going on with Flash Player 9 and sound?
I'm getting really upset and fed up with this. No matter what I do I can't get sound with the Adobe Flash Player 9. My computer is working perfectly fine; there is nothing wrong with the sound on any other program that I use. There is some glitch wit
-
Can Ipot beoperated with any other program other than itunes?
I would really love to use my IPod. Unfortunately, no matter how many times I remove itunes and reinstall it, I get this message: The iTunes application could not be opened. An unknown error occurred (-50). Since I can't get any help from anyone at A