Coder Social home page Coder Social logo

as3gif's People

Watchers

 avatar

as3gif's Issues

SWC missing from 0.6 Download

The SWC is missing from the downloads page : 
http://code.google.com/p/as3gif/issues/list

Even though the summmary says, 

"GIFPlayer 0.6 Sources (Documentation, SWC, examples)"

The FLA is included to make the SWC, but that is not so useful if you don't 
have flash to compile it :)

Original issue reported on code.google.com by [email protected] on 13 Oct 2011 at 1:21

Transparency Gif

What steps will reproduce the problem?
Your GifPlayer have issue in playing gif with transparent background

What is the expected output? What do you see instead?
instead of draw I fixed it with copy pixel

What version of the product are you using? On what operating system?
Version 6




Original issue reported on code.google.com by [email protected] on 13 Feb 2014 at 2:21

Disposal method problem

Some gif files has disposal method reading problem.
for example http://img682.imageshack.us/img682/7098/drinkmini.gif
in as3gif image blurs, in other viewers all ok

Original issue reported on code.google.com by [email protected] on 22 Mar 2010 at 9:31

Demo doesn't use FileRefference.load

What steps will reproduce the problem?
1. Use the demo app

What is the expected output? What do you see instead?
When loading, the loaded file is uploaded and then downloaded.
Instead, it should just be loaded into memory with the load method and use 
loadBytes.

What version of the product are you using? On what operating system?
0.6

Replacement functions:
function onSelect ( pEvt:Event ):void {
    myUpload.load();    
}

function onComplete ( pEvt:Event ):void {
    myGIFPlayer.loadBytes(myUpload.data);
}


Original issue reported on code.google.com by [email protected] on 20 Sep 2010 at 9:30

BUG HERE

this version has a Bug in GIFPlayer.as
private function update( pEvt : TimerEvent ) : void {
    var delay : int = aFrames[ iIndex = iInc++ % arrayLng ].delay;
    pEvt.target.delay = ( delay > 0 ) ? delay : 100;
      /*look here..gifDecoder.disposeValue is a Number means this is a single
disposeValue  in the gif,but it's a fault,not everyone.every Frame has her
disponseValue.so i think it's a bug.
Fst: GIFFrame.as
public var disposeValue:int;
public function GIFFrame( _pImage:BitmapData, _pDelay:int,_pdisponse:int){
    bitmapData = _pImage;
    delay = _pDelay;
    disposeValue = _pdisponse;  
}
second:GIFDecoder.as
frames.push ( new GIFFrame (bitmap, delay,dispose) ); // add image to frame
list
final:GIFPlayer.as
private function update ( pEvt:TimerEvent ) :void{
    var delay:int = aFrames[ iIndex = iInc++ % arrayLng ].delay;        
    pEvt.target.delay = ( delay > 0 ) ? delay : 100;
    switch ( aFrames[ iIndex ].disposeValue ) 
*/
    switch ( gifDecoder.disposeValue ) {
            case 1:
        if ( !iIndex ) bitmapData = aFrames[ 0 ].bitmapData.clone();
                bitmapData.draw(aFrames[ iIndex ].bitmapData);
        break;
        case 2:
        bitmapData = aFrames[ iIndex ].bitmapData;
        break;
        }   
    dispatchEvent(new FrameEvent(FrameEvent.FRAME_RENDERED, aFrames[ iIndex ]));
        }


Original issue reported on code.google.com by [email protected] on 24 Aug 2009 at 7:23

Attachments:

Some files don't clear properly during animation

What steps will reproduce the problem?
1. Load an offending file

What is the expected output? What do you see instead?
The file should animate like normal. Instead it animates, but never clears the 
screen after each frame, making each frame stack on the previous one.

What version of the product are you using? On what operating system?
0.6

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Sep 2010 at 9:29

Attachments:

Loading larger animations uses too much the processing time...

What steps will reproduce the problem?

1. Try to load a big gif, 500x375 with around 5 frames, it will make the
flash player hangs, that means that the function to load is taking too much
time to complete, and it should not be loaded all in the same time, it
should use events, or timers, idk. I believe that its the GIFDecoder read
or getFrame function! (Inside the GIFPlayer readStream function). 

What is the expected output? What do you see instead?

I expect that it loads larger gifs without making the flash player hangs
(it will hang my game ;p), I dont expect it to load instantly, but it
should not make the execution flow stop until it is all loaded :/

What version of the product are you using? On what operating system?

0.6, Windows

Please provide any additional information below.

I hope it gets fixed soon :), I need to load large gifs in the middle of
the gameplay :/

Original issue reported on code.google.com by [email protected] on 21 Jan 2010 at 6:09

License problem

Is it possible to republish the component under MIT license?

Original issue reported on code.google.com by [email protected] on 16 Feb 2009 at 5:59

some static gifs aren't displayed

What steps will reproduce the problem?
1. Load one of this files in your library:
http://www.amezbros.com/1.gif
http://www.amezbros.com/2.gif
http://www.amezbros.com/3.gif

What is the expected output? What do you see instead?
It is expected to appear an static gif image, but it appears a white rectangle

What version of the product are you using? On what operating system?

AS3GIF player 0.4

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 17 Dec 2008 at 4:14

gifDecoder doesn't read loops correctly

What steps will reproduce the problem?
1. encode animated gif with repeat count e.g. 3
2. play with gifplayer

What is the expected output? What do you see instead?
The gif keeps on playing. The decoder reads 1 as repeat count instead of the 
actual number

What version of the product are you using? On what operating system?
decoder 0.1 / OS X

Please provide any additional information below.
fix in class gidDecoder line 650: function readContents

THIS: 
--------
var app:String = '';
for (var i:int = 0; i < 11; i++) {
 app += block[int(i)];                          
} 
if (app == "NETSCAPE2.0")  {
  readNetscapeExt();
}

SHOULD BE: 
-----------
var app:String = block.readUTFBytes(11);
if (app == "NETSCAPE2.0")  {
 readNetscapeExt();
}



Original issue reported on code.google.com by [email protected] on 14 Dec 2011 at 9:13

Source code

How come there is no source code in the SVN ?


Original issue reported on code.google.com by [email protected] on 11 Jul 2008 at 8:39

gifDecode.disposeValue out of bounds

What steps will reproduce the problem?
1. copy pasted the example code
2. added the following URL in the URLRequest: http://m.buienradar.nl/
3. didn't see anything

What is the expected output? What do you see instead?
Expected to see the animated GIF, but nothing was drawn

What version of the product are you using? On what operating system?
-

Please provide any additional information below.
I traced the issue back to the GIFPlayer.update() method. The case switch check 
for the values 1 and 2, but the GIF i was loading resulted in a 
gifDecoder.disposeValue value of 3. Adding this case fixed the issue and got my 
animation working:

switch ( gifDecoder.disposeValue ) 
{       
    case 1:
    if ( !iIndex ) 
    bitmapData = aFrames[ 0 ].bitmapData.clone();
    bitmapData.draw ( aFrames[ iIndex ].bitmapData );
    break;
    case 2:
    case 3:
    bitmapData = aFrames[ iIndex ].bitmapData;
    break;
}

Original issue reported on code.google.com by [email protected] on 3 Oct 2011 at 12:54

Invalid file type event, only happen in file hosted from my web space

Hi, im0using this great class. Gif works but when i attempting to load it from 
my server space, i've an "invalid file event"... for what reason? 

I'm using version 0.6 on Windows 7. My web space is on ARUBA service hosting.

Other gif placed on other web spaces works fine, the problem is only on the 
mine space :(

Original issue reported on code.google.com by [email protected] on 1 May 2012 at 11:34

Clearing previous frames - warkaround

I've also noticed that with some gifs the previous frames aren't cleared 
properly (issue 8 and 10). A way to 'fix' these gifs is to open them in 
photoshop (cs5, I don't know what previous versions can edit animated gifs) for 
example, open the animation panel, select all the frames and set the frame 
disposal method to dispose. The gifs I tried had the disposal method set to 
"don't dispose" only for the first frame.

I hope this helps anyone who encountered this problem.

Original issue reported on code.google.com by [email protected] on 8 Oct 2010 at 1:12

Generated GIF is too large

What steps will reproduce the problem?
1. Generate a GIF with 9 frames (160x120);

My file that I was generating became 192258 bytes.
Can I regulate that by calling setQuality() method? Or the setQuality() is all 
about generation speed, not the generated file size?

Original issue reported on code.google.com by [email protected] on 24 Nov 2010 at 3:00

Attachments:

Can not resize GIFs after they loaded

Seems like no one posted how to resize the animated gif after it’s loaded. I 
put up some sample code if you’re interested.

This code allows you to resize the width and height of an animated GIF loaded 
in through GIFPlayer.

https://gist.github.com/1238101

Original issue reported on code.google.com by [email protected] on 23 Sep 2011 at 6:44

Bugs to know:

Please change this in the GIFPlayer class:

private function update ( pEvt:TimerEvent ) :void
{
var delay:int = aFrames[ iIndex = iInc++ % arrayLng ].delay;

pEvt.target.delay = ( delay > 0 ) ? delay : 100;

switch ( gifDecoder.disposeValue ) 
{
case 0:
    if ( !iIndex ) bitmapData = aFrames[ 0 ].bitmapData.clone();
    bitmapData.draw ( aFrames[ iIndex ].bitmapData );
    break;
case 1:
    if ( !iIndex ) bitmapData = aFrames[ 0 ].bitmapData.clone();
    bitmapData.draw ( aFrames[ iIndex ].bitmapData );
    break
case 2:
    bitmapData = aFrames[ iIndex ].bitmapData;
    break;
}

dispatchEvent ( new FrameEvent ( FrameEvent.FRAME_RENDERED, aFrames[ iIndex
] ) );
}


+ in the readSteam() method before event dispatching add this lines plz:

__width = aFrames[0].bitmapData.rect.width;
__height = aFrames[0].bitmapData.rect.height;
dispatchEvent(new GIFPlayerEvent ( GIFPlayerEvent.COMPLETE ,
aFrames[0].bitmapData.rect));

__width, __height - create override methods for them. Usability grows ^_^

Cheers, Jloa

Original issue reported on code.google.com by [email protected] on 12 Feb 2009 at 12:07

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.