ActionScript 3.0 :: Png2atf Tool For Compressing Textures?
Mar 27, 2012is anybody here who have and would be willing to send me png2atf tool for compressing textures? It was part of the prerelease of Adobe about a year ago.
View 0 Repliesis anybody here who have and would be willing to send me png2atf tool for compressing textures? It was part of the prerelease of Adobe about a year ago.
View 0 RepliesI am new to programming (have mostly worked with ASP.Net) and have been trying to compress a string in C# and decompress it in ActionScript for quite some time now. Was Successful with Zlib but need another implementation for the same using a different Compression Algorithm.ut i get an error where it says that the input is not in gzip format.i am also trying to use LZW Compression with no success in compressing in LZW in C#.so have not tried LZW Decompression in ActionScript Either.So .... i.m stuck at : I need to compress a string in C# and Decompress it in ActionScript using a compression Method other than ZLib.
View 5 RepliesMy flash movie is 73.6 kb I would like to make it a smaller file size, but when I compress it to a lower quality in publish settings, nothing happens. I also tried lowering the jpg quality but also, nothing happenend. It stayed the same 73.6 kb
View 2 Replieswhen i view my flash file in firefox 3.5.5, it compresses my flash movie smaller and quality looks pretty bad. In Safari, it is fine. I tried publishing as "exact pixels" instead of match movie and set scale at exact fit.
update: now firefox is cropping my flash movie....but safari looks fine
In my quest to learn ActionScript 3.0 I have stumbled across another situation where I know what I need to do, but just can't figure out how to do. I have written code to animate a menu with 3 buttons. These 3 buttons reside in a seperate class file known as MenuButtons.as and I am animating them within my Main.as file which builds the application and places the relevant details onto the stage.So in my Main.as file I have written the animation code that I would like to use to animate the buttons. Whenever a button is clicked, an event is dispatched which a handler listeners for then executes the relevant function. So the function for animating my 3 buttons looks like this (bear in mind that the buttons are arranged in a place holder in MenuButtons.as which in turn is loaded in a new MovieClip in the Main.as file)[code]I also tween the logo from here too. It works fine which is great, but is there a way I can make this code more simpler? I may not be able to and I have tried to find my answer online but alas I cannot find what I am looking for.
I am loving how I am learning something new each day and by building up slowly I am learning more functionality and broadening my knowledge of ActionScript (although some of it is very confusing!)Is there any good websites out there that can help? I have a subscription with Lynda.com but i find that their explanations can sometimes be hard to understand. I love text based tutorials where I can follow at my own pace.
I have an array of BitmapData and I want to make a FLV video out of it. The problem is that "raw" video takes a lot of space. How do I make compression of such data in actionscript 3?
View 2 RepliesI have a .png file with 16x16 tiles that I want to make into their own variables. I've tried using BitmapData like this[code]...
View 3 RepliesI have a .3ds file for the model and a .dds file for the texture. I am able to load .3ds model by using the code:
Code:
var model:Max3DS = new Max3DS("model");
model.load("assets/model.3ds");
How should I load the texture from .dds file and apply it to .3ds model?
I must say I'm a little puzzled by the mipmap functionality in the newer flash players.URL...Tinic describes the way that mipmaps work in flash player if the images are specific sizes (e.g. powers of 2 like 256x256 etc). The demo here URL... shows this working quite clearly and I have myself demonstrated that when using a simple bitmap object with smoothing set to true then scaling has a much better result when the images are the correct dimensions for mipmap capabilities.However I have not seen mipmaps work in 3D when using bitmapFill and drawTriangles. The bitmap quality seems to look crappy regardless of the bitmap size. Do mipmaps ever work in 3D with bitmap fill etc? This topic direct from Adobe seems to imply that it does URL...with the comment "Use bitmap sizes that are divisible by 4 or 8 for two-dimensional images (such as 640 x 128, which can be reduced as follows: 320 x 64 > 160 x 32 > 80 x 16 > 40 x 8 > 20 x 4 > 10 x 2 > 5 x 1) and 2^n for three-dimensional textures".However a few other sources such as this one implies that it doesnthttp:URL...with the comment "Mipmapping was introduced in Flash Player 9 but it doesn't work with 3D drawing and requires textures to be even in resolution. That is why we developed our own method of filtering."
View 1 RepliesThis question was posted in response to the following article: [URL]
View 2 RepliesI am using Papervision3D Flash 3D engine to render a model. Also I am noob in 3D =D Model is simple, it's a parallelepiped with different textures on its sides. All works just fine except one thing: whenever I change my visual angle to a model from 90° textures on the sides are distorted. I notices that it is common effect in 3D graphics, I saw that effect in games and other 3D renderers (i.e. away3D, three.js) even wth different 3D models. Distorted texture on object (different view angle): Normal texture on object (same object and texture) (view angle == 90°): What is the reason of this effect?
View 1 RepliesI'm trying to create multiple objects in Papervision using Flash Builder, each one with it's own texture that I'm getting from an imported SWC.My code works perfectly if I apply one texture to all shapes, but when I try to put it into a loop I can't seem to get it to work. I think this is more of a syntax problem, I'm just not sure how to tell Flex what I want.Here's a chunk of the code that works fine, applying an "img1" texture to everything: [code]Does that make sense? I want each iteration of the loop to add a number to the end of "img" and apply that to the shape.
View 8 RepliesSo basically I want to make a quiz where the user identifies textures in images. The first image is of a shell. So I want the user to be able to type in their answer into a input text field, then press a "check answer" button. Then if they typed in shell "Correct" will appear in a dynamic text field or "incorrect" if they had typed in any other answer.
with the action script required for this button, I am using action script 2 in flash cs4.
I found this code on the internet but it didn't work.
on (release) {
if (input_instance_name=="correct answer"){
display_instance_name.text="Correct!";
}
[Code].....
I found that .fla files do not save in Flash CS4 when the Deco tool or Spray Brush tool is selected. Is this a bug? Or is there a workaround to this issue.
View 3 RepliesWorking with senocular Transform Tool - How to remove/disable tool for objects Im new to AS3, and i have to use it for my current project. I have used the AS2 Transform tool extensively, but needless to say, the AS3 version works entirely differently.
The way i understand it, the tool applies to and every Sprite , movieclip on stage
[Code]...
im making a bone animating system in flash but then i want to give it a more vital animation by manipulating its z y x position how is it possible using the 3d tool?im doing everything needed but when i get to that point nothing seems to work,i dont get 3d tool options.
View 2 RepliesI'm trying to compress a video into an flv for my flash file. When I compress the video using flash video encoder the video shows up white but I can see the audio. The original version is compressed using H.264. I don't know enough about codecs to know why its not showing video.
View 1 RepliesI've created a servlet that changes the binaries of a SWF file and output it to the user. The SWF is compressed by ZLIB by default. Then I inflate, change the binaries, deflate and output the result.
Everything was running right on a Windows Server 2008 (also in 2003). Currently, we need change the server to Linux, and then, this servlet is somehow outputing a corrupted SWF File... what could be the problem? What intrigues me more is that there is no difference between the Windows and Linux servlet versions.
Is there any undocumented linux specific behaviour for the java.util.zip package?
[Code]...
I'm new to Flex...I'm wondering if I can make a flex bar chart display a "texture" instead of a color?
View 1 RepliesI want to create a line tool exactly like flash line tool. But the code that I am using shows the line when we release the mouse button. How can I show the lines while it is drawing
Code:
this.createEmptyMovieClip("drawing_mc",this.getNextHighestDepth());
drawing_mc.lineStyle(1,100);
[code].....
I do know how to use the oval / rectangle and oval / rectangle primitive tools in the tool bar and find them quite useful, but one thing I find confusing is. A oval / rectangle primitive object can be edited later but the oval / rectangle can't. So the point is,how do we use them properly ? when to use ? Why does Adobe Flash still keep the oval / rectangle tool in their product instead of removing them with the oval / rectangle primitive tool ?
View 2 RepliesI was playing around with the transition tool after reading one of the posts now every time I add an image from the library to the stage it's got the transition tool handles. How do I get rid of them??
View 3 RepliesI've been having a problem for the past month or so, and for the life of me I can't work out how to switch off the pen tool I have in actionscript. I have the following code in frame 2, and frame one doesn't have anything, meaning it doesn't allow the user to draw. However, after returning to frame 1 from frame 2, you can still draw. Is there anyway to turn off this drawing actionscript completely when going back to the first frame?[code]
View 2 RepliesWhen I create a gradient and fill with it, sometimes the gradient transform tool works perfectly. Other times, I click on the gradient fill with the gradient transform tool and the gradient is selected as if I clicked it with the "Selection Tool."I can't get the gradient transform tool to give me any handles to adjust the gradient once applied.
View 11 RepliesI'm getting the following error every time I use the bones tool:
Plugin tool script error in method mouseUpPlugin tool script error in method deactivate
Version is 10.0.2.
I am trying to use the bone tool on a jpeg image I edited in photoshop. When I import it I have to "break-apart" the image to use the bone tool on it and all seems fine. but when the pose is set, the image vanishes during the motion.
View 3 RepliesIs there any development tool that has the papervision3d classes buit-it, so i can get hints when i'm writing th code as i get hints for as3 code?
View 2 RepliesI have now tried to animate a human character made of movie clips using the bones tool 3 times from scratch and every time it has gone extremely buggy. I move an arm and other parts of the body randomly move to different positions. I fix one arm then I notice other parts of the body are all screwed up.
View 3 RepliesJust opened flash for the first time to find that the pen tool will only draw straight lines.It can still plot points and the lines will join up but curves are impossible.Is there some setting that disable drawing curves? I haven't found anything in the annoyingly-online files.
View 2 Repliesis there a way to use the pencil tool (if u forgot what it exactly did, check the included image below) through actionscript, i searched the API for quite some time but couldn't it.
View 5 Replies