Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Search the Community

Showing results for tags 'bytearray'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 3 results

  1. Hi I have a usecase, where I use DataLoader to load binary Data. This way I'm always able to look into the incoming data like so: queue = new LoaderMax( { name:"mainQueue", autoLoad:true }); [...] var loader:DataLoader = new DataLoader("example.com/SESSIONSTRING", { name:someParameter, format: "binary", onComplete:dataCompleteHandler }); queue.append( loader ); [...] function assetCompleteHandler(e:LoaderEvent):void { var ba:ByteArray = LoaderMax.getLoader(e.target.name).content as ByteArray; //Validation here, like checking if it is long enough, if not, are the first 5 Bytes rea
  2. hi I'm trying to take a screenshot of the stage which is made up of various Movieclips blending and filling the entire stage using autofitarea. the problem is none of the movieclips in the autofitarea show up in the screenshot - and if i do select a movieclip to export it is the original size not the scaled size var area:AutoFitArea = new AutoFitArea(this,0,0,stage.stageWidth,stage.stageHeight); area.attach(mc, {scaleMode:ScaleMode.PROPORTIONAL_OUTSIDE, crop:true}); area.attach(mc2, {scaleMode:ScaleMode.PROPORTIONAL_OUTSIDE, crop:true}); area.attach(mc3, {scaleMode:ScaleMode
  3. Hello, I need load PDF file and show as bitmap in Flash (AS3). I found this code in documentation, but I don´t know how transform byteArray to bitmap? Can somebody help me please? var loader:BinaryDataLoader = new BinaryDataLoader("files/dum.pdf",{name:"filePDF",requireWithRoot:this.root,estimatedBytes:6800}); loader.load(); var files:Array = ["files/dum.pdf"]; LoaderMax.registerFileType("pdf", BinaryDataLoader); LoaderMax.activate([binaryDataLoader]); var queue:LoaderMax = LoaderMax.parse(files,{onProgress:progressHandler,onComplete:completeHandler,onChildFail:childFailHandler}); queu
×