loading of GIF or SVG animations

I'm trying to put a load on my widget animation but not having a chance.

First, I created a small gif and placed it in my widget. The picture showed, but it was not animated.

Then, I loaded my gif in composer and converted into a SVG. I added the svg to my project of widget, but I can't even see it.

Anyone care to share the use of one of these correctly in a widget? I can't get there this morning.

I found a solution

See my post in the tips & tricks Sticky found here:

http://supportforums.BlackBerry.com/T5/Web-development/tips-quirks-and-solutions/TD-p/470870/HIGHLIG...

Tags: BlackBerry Developers

Similar Questions

  • Load a gif of the BlackBerry disc

    Hi all

    I would like to upload a gif using HTTP file, save it to disk (such as the image will not be updated each time) and load it from disk.

    I found the documentation on the loading of images from a resource but can't find anything on loading a GIF file from the disk.

    Is there a documentation on this?

    THX

    For example here, I received from another thread on this forum last week and it works well; I also found the doc to be cryptic without this example:

    Main screen = new MainScreen();

    try {}
    FileConnection fconn = (FileConnection)Connector.open("file:///store/samples/pictures/Ascension.png");
    If no exception is thrown, then the URI is valid, but the file may or may not exist.
    If (fconn.exists ()) {}
    InputStream input = fconn.openInputStream ();
    available int = input.available ();
    data Byte [] = new ubyte [available];
    Input.Read (data, 0, available);
    EncodedImage image = EncodedImage.createEncodedImage(data,0,data.length);
    Bitmap b = image.getBitmap ();
    Photo of BitmapField = new BitmapField (b);
    hand. Add (Picture);
    hand. Add (new LabelField ("length of data:" + data.length));
    }
    else {}
    hand. Add (new LabelField ("photo does not exist"));
    }
    fconn. Close();
    }
    {} catch (Exception GOOSE)
    hand. Add (new LabelField ("Error"));
    }
    pushScreen (hand);

  • loading external gif - maximum height?

    Hello

    I try to load a gif file that is more than 3700 pixels and flash does not load this file. If I change to a jpg file, it does however.

    My application loads 100s of gifs with the same code with no problem, and the only difference I see is that this one is the height.

    Anyone know if the Flash has limit of height for loading external gifs?

    Thank you!

    Other tests show that it works to 3250 but not to 3500.

    Post edited by: IwannaFlashU

    There is a limit of 2880 for width and height for bitmap images unless you publish for fp 10.

  • Loading screen does not accept animated GIFs?

    Hello world.

    My captivate 3 projects use the loading of the company logo.

    The problem: the company logo is animated, and the Captivate 3 loading screen does not seem to allow for an animated loading screen.  A static image of the company logo is displayed instead.  This tends to give the impression that a project of loading froze and it aggrivates customers.  Does anyone know how to display the logo of aniamted together?

    Hello

    Try this if it can help you by adding the Logo of your company.

    Open a small project (100 PX by 100 PX) and follow the Insert > Animation.

    Select the Animated Logo company. The Animation is added on stage.

    For best results you can run a loop of animation (Animation properties, tab Options-animation select loop) - this step is optional

    Edit > Preferences > start and end - uncheck the "loading screen".

    Also follow project > skin and uncheck the 'Playback control' and 'borders '.

    Publish the project to Flash (swf). A little Swf of your Logo is now available.

    In your project, under the loading screen options, select the Swf file created. Now, the loading screen can play Logo of your company.

    -Ashwin

  • Sprite SVG animation?

    Hey there,

    did someone came up with a workflow streamlined to export complex animations (for example a walk cycle) Flash on board using SVG?

    I know for PNG is the process that I use:

    • Export Flash animation as a png sequence

    • Open as "Animation" in Fireworks

    • Orders > edge animate > export as Edge Animation of Sprite

    • On board animate > library window > click the "+" button in the symbols section and choose the file "ansym" (ie the Animation of Sprite to edge).

    But would rather SVG for sensitive scaling animations.

    As I know the extension made of John Dunning does not support SVG export. Maybe try this: once you load the sprite within the YEAR, swap the png with the same size SVG files. Then, you would change the source of the linked image in the properties panel:

    I know it's kind of a boring workaround, but would it work?

    Sarah

  • Web pages sometimes loading as GIFs without reason

    Hello

    For some weird reason, some Web pages that I have access that do not have images or GIF files on load on Firefox in the form of empty GIF images which means I can't access the Web page that I chose to go.

    Thank you

    Some firewalls like Kaspersky can block content and send a GIF 1 x 1 instead.
    Kaspersky: Protection > firewall > Filtration System: disable the banner "Ad Blocker".

  • export SVG animation shows nothing

    Hello

    I am using cc animate to make an animation of svg. I installed the SnapSVG plugin and see the possibility to export to SVG (like opening an animation of SVG file). I do simple animations (motion tween on the form of rotation vector), export and run the html file in a browser, and I see nothing (Chrome and FF on a MacBook OSX10 (later)). No idea if this plugin doesn't work properly or a way I can test this point?

    Thank you

    The export includes a JSON file, which do not appear on site for strange security reasons. Put your files on a server, or do a test film to animate. Then it won't work.

  • After you have imported into Muse, clicking on links load new page within the animation

    I created an animation (cursor functionality with button) and placed a link on the button to go to another page via the "_self" tag at the end after the url tag.

    Once I import into Muse, and then publish... I clicked on one of the buttons with a url link to it which should replace the current page with a new page... but it loads the new page as part of the animation! A slap.

    Is this a bug? Here's a live link and click on the button in the animation of cursor 'BUY THIS THEME' and you'll see what I mean.

    Or I do something wrong?

    Use rather _top as the target url.

    Darrell

  • SVG animation behavior

    Hello

    Until now is not new, but I wonder if anyone knows if this will be fixed in version CC of Animate.

    I'm talking about SVG graphic behavior in some browsers:

    If I do an animation using a SVG graphic, like the zoom in expanding globally, it seems completely rasterized in browsers based on webkit (Safari 6, Chrome, the same edge Animate) and the vector in Firefox 19 (but it moves abruptly).

    When is it supposed to be fixed, if there is no remedial plan at all?

    Thank you!


    Hi there-

    It seems that you describe supported for SVG browser when it is resized.  In my view, these problems to the community of browser are known, and we as Adobe contribute certainly to WebKit, we do not control the browser itself.

    Thank you

    -Elaine

  • Loading screen is not animated, during the operation, but after

    Hi all!

    Here's my problem: I am display a gif animated using the class presented here.

    It is used in a specific class loader that perform an action, while the gif is displayed (the gif is a spinner). Only once the operation is completed, the LoadingScreen came out of the screen.

    Here's my class loader:

    public class LoadingScreen extends MainScreen {
    
        /**
         * The action to be processed during the loading.
         */
        Runnable action = null;
    
        private AnimatedGIFField _image;
    
        /**
         * Default constructor.
         *
         * @param action the action to manage.
         */
        public LoadingScreen(Runnable action)
        {
            super(FIELD_VCENTER);
            this.setTitle(CommonTools.initTitleBar());
            this.action = action;
    
            displayAnimation();
    
            if(this.action != null)
            {
                UiApplication.getUiApplication().invokeLater(this.action);
            }
        }
    
        /**
         * Display the animation during the loading process.
         */
        private void displayAnimation()
        {
            EncodedImage encImg =
                GIFEncodedImage.getEncodedImageResource("loading.gif");
            GIFEncodedImage img = (GIFEncodedImage) encImg;
    
            _image = new AnimatedGIFField(img);
    
            getMainManager().setBackground(BackgroundFactory.createSolidBackground(Color.BLACK));
    
            LabelField label = new LabelField("Connect..."){
                public void paint(Graphics g)
                {
                    g.setColor(Color.WHITE);
                    super.paint(g);
                    }
            };
    
            HorizontalFieldManager containerSpin = new HorizontalFieldManager(FIELD_HCENTER);
            HorizontalFieldManager containerLabel = new HorizontalFieldManager(FIELD_HCENTER);
            containerSpin.add(_image);
            containerLabel.add(label);
    
            containerSpin.setPadding(Display.getHeight()>>2, 0, 0, 0);
    
            this.add(containerSpin);
            this.add(containerLabel);
    
            KasualApplication.isLoading = true;
        }
    }
    

    The problem is that the gif is not animated, while the action runs. But if I have a popup appears at the end of the action to let the loading screen, I see that the gif is animated. As well as the animation starts when the action is complete.

    I think something is wrong in the clock of my son, but I don't see that.

    Could you please help me?

    Thanks in advance.

    It's ok, the solution is described here.

  • [Flash Pro] Motion tween is added an animated GIF picture

    * FIRST - I couldn't find one

    Hi, I'm working on a school project and we have recently I do an animation before Monday.

    So my problem is that I have a GIF of a man walking (which already has images by default to make the man walk) and I can not add a motion tween.

    So we learned essentially to take a car for example. We import a photo of a car (non - gif; no pre animated movement) and select it. make a symbol (video clip), then click on frame 30 and "Create motion tween" as we moved the image to the end; What makes a path automatically.

    But here, I can't do that because when I import the GIF man walking, he already has lots of raster data built in front to make the moving man and I cannot understand how to really add a motion tween to make man to move (of course with its PRE-BUILT animation [gif makes the arms and legs move]) and make him cross a road I built. So basically I want the man to move from one end to the other using a motion tween (or if there are other ways to do?) and alongside with its GIF data that moves its arms and legs.

    Small SS of my calendar:

    http://prntscr.com/b2qqwa

    as you can see here; the second element/first layer called "anyone walk - 1" is a GIF image and when I load it, it loads its pre movements animated and I can't create a Tween to make humans image cross one end to the other with her has pre-built ones again.

    Long, but I tried to make the Guide and all other acts and I tried Googling my head, spent 4 hours and found NOTHING. ABSOLUTELY NOTHING. And our teacher didn't us really learn this type of concept and neither do I class before it is due, so you are my only hope.

    Thank you.

    See if you can follow these steps:

    Right-click on the name of the layer to the market-1 person.

    Select the copy layer.

    Go to the library and click right in and empty the part of the library window and select new symbol. Will it be a movieclip.

    Now, you will be inside this new movieclip. Right click in the layer 1 name and select the layer of dough.

    You now have a moveiclip of your person walking. Go back to the top level of the scene and make a new layer.

    Drag the new movieclip on the stage.

    You should now be able to add a motion tween to this new layer. So who has worked, you can delete your original person market-1 layer.

  • How can I turn on animated GIF with flipping

    Hello!

    I have an animation of a GIF, and I want to use for a reversal button. My problem is: the animation starts automatically, when the page is loaded. I wish that animation can begin when I fly with the mouse. Anyone know how I can do thisi?

    Thank you very much!

    Use 2 different versions of this image:

    (a) a JPG file, for 'fill' the normal state and

    (b) a version GIF to "fill" the State Overview

    To access States of the object, open the States Panel. For filling, use the command to 'Fill' in the upper command band.

    Edit:

    Uuups, I think, I misunderstood your question. I'm sorry.

  • Importing animations gif in 12 items on Mac

    OK, I searched widely for a specific response and precise and am not

    clear for the conflicting answers that I met.  Namely: I bought 2 items
    for a PC several years ago. He had two interesting features for my pleasure to make .gif animations.
    (1) it allowed me to import the .gif animations AND all the layers.  (2) it allowed me to control

    the speed when I did my own animations and saved in the .gif format.

    However, when I bought Elements 8 for my iMac, I discovered that I could not load .gif animations

    and download images/layers, or if I could choose any speed sauf.2.

    OK, here's my question: if I order 12 items to work on my iMac (OS X 10.9.2)

    It will allow me to load animation .gif together and show the images/layers, AND it will allow me

    When you save a .gif animation to set my own speed.

    I don't know if I record an animation in .psd format which I can reload, showing the layers.  This is not

    what I want to do.  I want to save in .gif format and load in .gif format.  Thank you!

    You don't need to uninstall. Simply enter the serial number of the drive, after purchase and the trial becomes permanent.

  • Animated GIF selection does not appear in the menu "output" first Pro cc?

    I watched an on-line tutorial of how to make GIFs using first Pro CC. When you select the exit, an animated gif choice appeared in the output drop-down list of the CC Pro first used in the tutorial. However, the menu of my CC out first place Pro does not have a selection of animated gif. How to make a selection of animated gif to appear in the menu of my CC Pro exit first?  I would like to create gifs with my CC Pro first.

    It is possible that the Media Encoder has allowed this earlier, but now, you have to use Photoshop to make it work. Simply, it worked for me. (I'm on a Mac 10.10.5.)

    1. Via Media Encoder, export your movie or animation of Premiere Pro (or After Effects). For Format, choose JPEG. For the preset, choose a corresponding sequence setting. Choose a folder to export the sequence in so it is easy to isolate later.
    2. Open Photoshop, then choose open. Navigate to the folder where you saved the sequence and select the first image in the sequence. Click on the sequence of images at the bottom of the dialog box, and then click OK.
    3. Choose a frequency of images in the next dialog box, and then click OK. In Photoshop, which will open the movie as a film with a visible timeline at the bottom.
    4. Choose file > export > save for Web (Legacy). At the top right, select GIF. Bottom right, replace the Options setting in a loop once in Forever. Click the small play button to watch the animation loop. Click Save.
    5. Load the GIF saved in your browser and it should loop. See picture posted here.

    Please post a reply if this procedure works for you. To avoid a few snags, that I met during an attempt to do this, I recommend having your game size and the duration of the film frame in Premiere Pro and not try to do any resizing later. When I resized it later, the loop never happened; He played only once.

  • How can I control the gif animations?

    I have a project where I need some animations. The animations, that all have been created in After Effects. Now I can use png sequences, but these are very big and I need much the animations running on the same time. So I prefer to use gif animations. So my question: I can control when to play the animated gif but I can't play more than once. Is there a solution?

    Thanks for responding!

    Jannis

    Hello

    I see... you control when it displays. Technically, this is not the same thing that control the animated GIF; you just control when you see it. EA only recognizes GIF as image format and can not make the browser plays from the beginning as the first time that it is displayed or when it performs a back loop (if your animated looping GIF).

    However, you could do something similar with an additional image file or two, jQuery and css background-image "load" the GIF file into a transparent image. Here is a link to an example that always runs the GIF animated from the beginning:

    https://creative.Adobe.com/share/52f15194-875B-4604-8857-9b9bf5f78e04

    A single line of code that does the work is in the playBtn click handler.

    HTH,

    Joe

Maybe you are looking for

  • Numbers. retrieve different data depending on today's date

    I made a dashboard on numbers 4.0 on MacBook Pro using macOS 10.12. I need to display some data from the month, so I need to change every month (extraction of data from a different cell depending on the month). Should what formula/s I use? In the col

  • Desktop HP Pavilion h8-1150z: desktop HP Pavilion h8-1150z - 6 beeps and no start

    My Home Office HP Pavilion (Pav HP h8-1150z AMD (Angelica) 3 c NAPC) is about 3 and a half years (and apparently 6 months past my HP Care Pack coverage extension).   It runs Windows 7.  Yesterday while the computer was not idle, he began to make a ne

  • BBM broadcastdata size limit

    Hello BBMPlatformSession.broadcastData (BBMPlatformData data) throws: DataOverflowException-If the rate of data sent by the application exceeds that allows the platform to BBM surveys. Could someone tell me what is the limits of the platform of BBM s

  • I get an "access denied" message when you try to access my restored files. What should I do?

    Some users have received an "access denied" message when you try to access their files restored once a recovery has been performed.  This can occur using Windows backup or backup HP (HP Recovery Manager).  They can see the files and folders, but they

  • How to detect an incomming SMS? -HELPPPP

    Hello everyone, This is my first post in this forum. So far, it has helped me a lot. But since a few days, I have had a problem. I want to detect an incomming SMS. I read some post and I found a few pieces of codes that are interesting. But, I failed