Php - PNGs Alpha Transparancy?

Apr 6, 2010

After whittling down of the options we've encountered a problem with PNG's and ActionScript 3 (AS3).

When loading a PNG 8 or PNG 32 with alpha transparancy we're getting the following error reported in Flash:-

"Error #2124: Loaded file is an unknown type" Now, we're dealing with some legacy images, and it appears as though this problem isn't universal - some images believed to be 32bit alpha PNG are loading. BUT, some conclusions:-

converting one image that was 32 bit alpha (NOT WORKING IN AS3) to PNG 8 index transparency DID work.
And converting that same image to PNG 8 alpha DID NOT work.

[Code]...

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Alpha Transparency Not Working On PNGs?

Jun 17, 2011

I'm currently constructing a scrollbar as part of a website using as3 and png images. I've got loaders for each image inside of an array, and when loading on each image finishes, it's added as a child to a sprite on the stage. I've got a background image with no transparency, which loads fine. On top of that, I've got the actual slider, which loads the RGB data, and appears to be using the alpha as a 1-bit mask. So anywhere that I have partial transparency, it just shows up as black, where it should be showing the background underneath. I can't find any attribute that will change the way loaded images process alpha transparency.

View 2 Replies

ActionScript 1/2 :: Make A Button Without The Including The Transparancy?

Sep 1, 2010

can you make a button without the including the transparancy. i have a png image and created it as a button...but the whole image is created as a button...i need to disregard the transparancy.

View 4 Replies

Flash :: Change The Transparancy Of Part Of The Image To Have It Fade Into Another?

May 31, 2009

Is it possible to change the transparancy of part of the image to have it fade into another in flash? or it must be done in photoshop. If it's possible for flash please let me know. here's an example: [URL] fo Also i've come across an add in flash, I can't find it again. It was advertising some cream or something. there's a picture with wrinkles skin and when you scroll your mouse over it the part above the mouse remain the same but in bottom it's a different picture, does anyone know how to do that?

View 1 Replies

Does Flash Support Pngs

Oct 28, 2009

I keep trying to place some pngs in an XML file inside flash. The jpgs work fine but when it gets to the pngs nothing shows up. Do you need to have a special Action Script?

View 5 Replies

ActionScript 2.0 :: Way To Post PNGs?

Oct 28, 2009

I have a flash site which draws from an XML file for loading images. The jpgs work fine but nothing shows up when I try to load the PNG files. Does flash not support it?

View 1 Replies

Different Patches Appearing Over PNGs?

Nov 26, 2009

I'm putting together a flash animation which has 1 png file replicated quite a few times. to be more precise, a snow flake. When they build up on top of each other im getting strange blotches that should not be there.I have a feeling that because of how many times the image is replicated it is struggling (Flash, not my computer), as when there were only half of the flakes it did not do it.

View 1 Replies

Importing PNGs In Flash 8?

Aug 29, 2009

I've been trying to import 258 PNGs into Flash.  It gets up to around 200, +/- 1-2, and anything after that has "Bitmap not loaded" were the thumnail image should be in the library.
 
My computer is running 64 bit Vista with 4gb of ram.

View 1 Replies

Professional :: How To Convert .pngs To Jpeg

Jul 7, 2011

i have about 70 imgs i brought into the library in Flash CS5. Now the SWF is to big bc there all .png files, i tried to go into properties and change there .png to .jpeg but its a very looooong process, is there any way to highlight them all and either change them but updating the .pngs to .jpeg files ?

View 4 Replies

Html :: Set Of PNGs To Run Cu3er Slides?

May 27, 2010

I'm using a set of PNGs to run my cu3er slides. They keep the transparency, until the transition and then they're boxed with a white background. Is there a way to either keep it transparent or set the background color? http://205.186.139.193/ is the test site

Javascript:

<script type="text/javascript">
var flashvars = {};
flashvars.xml = "<?php bloginfo('stylesheet_directory');?>/slider/cu3er.php";

[Code].....

View 1 Replies

Flash 9 :: PNGs Not Rendering As Transparent?

Sep 3, 2008

Has anyone ever encountered this weird, unique error I am gettingWhen I export my program to a SWF all the imported PNGs with alpha transparency (ie; soft edges) render totally wrong - no transparency, very blocky and pixelated. See the attached image for an example;this is out of the blue. Has exported fine recently.

View 1 Replies

ActionScript 2.0 :: Important Transparent Pngs Into My SWF?

Apr 20, 2008

I need to important transparent pngs into my SWF, and have them clickable as buttons. Right now, I'm using JPGs with the loader component, but I'm aware this method does not work with PNGs.

View 5 Replies

ActionScript 3.0 :: External SWF Runtime Linkage PNGs

Aug 11, 2008

Flash can compress .png files like Photoshop can compress .jpg files better than any other tool hands down. I have 77 .png files that are 1.8 .megs on my c: drive after I imported them and setting the file compression under the "File > Publish Settings" to 75% for jpg and published the .swf with all the .png on the stage the file size is 350K that's about 20% of the original file size of the .pngs downloaded file by file with 77 separate request.

I can create linkage in the shared .swf and test the movie with code in the shared .swf to add the movieclip holders for each:
.png to the stage but when I load the shared .swf into the main
.swf Flash acts like it can't create the classes based on the
Linkage I setup or that the MovieClip linkage doesn't exist.

I tried a test to have the shared .swf with all the .pngs and linked movieclips to add the assets to it's own stage and it works fine but that means a lot of my code and logic is included in the shared .swf that the designers need to add .pngs to. We need to have the main .swf get a handle of the linked .png assets and place them in the main .swf to load the assets to different parts of the main .swf. It's cute that the shared .swf can add the linked assets to it's own stage but not too useful.

Also the way we deploy we cannot roll out a new release/build to update the .pngs but we can upload a new .swf to the asset server so the .pngs need to be in a separate .swf. I can get the shared MovieClip to add the linked assets to it's own stage when testing and when loading my problem is the main .swf that loads the shared .swf cannot create instances of the classes that are exported for runtime sharing using linkage.

View 2 Replies

Professional :: Loading Gifs Pngs And Bmps?

Dec 22, 2010

I have been experementing the the loadmovie command in AS1

it works for JPGS

but i cant make it work for PNGs, GIFs, or BMPs
 
how do i load external images of these types into flash

View 1 Replies

Flash - Getting Transparent Background PNGs From SWF Animation?

Jul 26, 2011

I have an artist I'm paying to do animation art for me. I need PNGs for each frame in the animation but she is most comfortable doing her animations in Flash. It sounds like getting the frames for me will be difficult for her. She was able to do the still art we needed and give us that as a frame, but for some reason the animation is different? Keep in mind we need PNGs with full transparency support in the background. We can't be clipping these frames out by hand.

View 1 Replies

ActionScript 2.0 :: Flash8 Bitmap Smoothing For External Pngs?

Apr 20, 2010

I'm having a helluva time trying to figure out the syntax for smoothing of dynamically loaded png's. It's such an easy function for as3, but seems very complicated in as2.

Actionscript Code:

import mx.utils.Delegate;import mx.transitions.Tween;import mx.transitions.easing.*;var numOfItems:Number;var radiusX:Number = 100;var radiusY:Number = 40;var centerX:Number = Stage.width / 4;var centerY:Number = Stage.height / 2;var speed:Number = .001;var perspective:Number = 3;var home:MovieClip = this;theText._alpha = 0;var tooltip:MovieClip =

[code]....

View 5 Replies

Actionscript :: Printing Transparency Pngs With Printjob (Flash)

Dec 2, 2010

I am trying to print a movieclip with printjob in flash. This movieclip contains two layers: one with a PNG image with transparency and one below with a jpg image. The problem is that the transparency of the png is not respected so the jpg image does not appear. The code i'm using is real simple: var my_pj:PrintJob = new PrintJob();

[Code]...

View 2 Replies

Image - Flash: PNG In The Library Versus Loading PNGS?

Sep 16, 2011

I have a series of PNG files I need to use in a Flash project.Usually I bulk load my PNGs via an xml or json page.I'm just wondering, what is the difference between loading PNG files this way and adding a PNG to the stage via the Library (say, if you imported a PNG file to the library and then added it to the stage via Actionscript OR if you just dragged it on the stage)

View 2 Replies

ActionScript 3.0 :: Transparent Pngs In Movie Clips Used As Masks

Dec 3, 2009

i have a transparent (in places) png in a movieclip, can i use that png in the movie clip as a mask? i have seen lots of ways of creating compositions but i need the mask movieclip on the top to be able to mask a movieclip underneath that has lots going on animation wise? is this possible. i dont need answers i just need the right direction or a yes or no, i fail to believe i cant copy the bitmap data of a movieclip (and the transparent png images in it) and then use that as a mask

View 4 Replies

ActionScript 2.0 :: Dynamic Photo Gallery To Display PNGs

Feb 24, 2012

I want to create a flash gallery that simply reads all of the files within a folder (they are all PNGs) and show them on the screen, then move to the next photo after a preset time. This would give us a dynamic was of displaying our content, if we could 'drop' the resource in a 'Images' folder and flash would then read that folder.

View 1 Replies

ActionScript 3.0 :: Setting The Alpha Of MovieClip With Objects Changes The Alpha Separately For Each Object

Oct 23, 2010

[URL] i want the object to fade out but in the object there's a lot of overlapping pictures and each becomes half transparent. how to make the movieclip to change the alpha as it was without objects?

[Code]....

View 2 Replies

ActionScript 3.0 :: Curious Tip: Flipping Sprite.alpha=0 To Alpha=1 Back And Forth With No Logic?

Dec 15, 2011

just spotted this curious trick. If you want to flip something to go invisible on a click, and then reappear on another click (etc etc), try this:

create the sprite, setting alpha to either to 1 OR -1
mySprite.alpha=1; //OR
mySprite.aplha=-1;

[code]....

View 9 Replies

ActionScript 2.0 :: Loading A Movie A Solid Shape Is There With Alpha At 100% Then Over A Period Of 5 Secs Its Alpha Is Reduced To 0?

Jun 27, 2003

using AS, on loading a movie a solid shape is there with alpha at 100% then over a period of 5 secs its alpha is reduced to 0.

i'm new to this......please help if you want to if you don't have a good weekend but think of me struggling onwards and upwards...

View 14 Replies

Actionscript 3 :: Papervision Rendering PNGs With Transparency That's Inside A Movieclip?

Mar 9, 2010

I'm an actionscript dude - I'm working on a papervision game.

I have an asset of which is 127 pngs in a sequence for an animation.

I can happily project this onto my papervision plane. Problem is, there is no transparency. I Can't use a BitmapFileMaterial as I have many pngs -

View 3 Replies

IDE :: Drag-and-drop Recognize Transparent Areas Of External PNGs?

Jan 21, 2009

I have a simple Flash movie which loads several external PNG-24 images into movie clipsEach movie clip is partially transparent (using alpha transparency), and made drag-and-droppable. Everything works properly except that for each movie clip, I am able to drag and drop the clip using the transparent space around the image. I want the "grab-able" area of each clip to correpond to only the non-transparent areas of the PNG, not a rectangular box around each movie clip.

View 2 Replies

Flash :: Python - Exporting Actionscript Animation To PNGs And Transform Data?

Jan 19, 2012

We're working on a project right now where our animator is creating animations in Flash (the tool in which he's most comfortable) which we need to export for our application. He's using separate sprites (for a person, we'd use eyes, mouth, hair, feet, etc.) and transforming them appropriately. So, if his head is rocking back and forth, one frame might be normal, one might be rotated 20°, another normal, and another -20°, and so on.

What we need is to export all of the sprites used in the animation, along with the transform data for each object in each frame. Unfortunately, the animation is being done in Actionscript, which complicates things somewhat, and because we're using sprite components that we use in multiple places, we want each component of the animation exported separately. As long as we can get it into some kind of more easily parse-able format, we should be fine, but we're not familiar enough with Flash, in a technical sense, to know where to start looking. Solutions in Python would be preferred, since that's the language we're all working in.

View 1 Replies

ActionScript 2.0 :: Solid Backgrounds Showing Up Behing Transparent PNGs In Flash?

Jun 7, 2010

I'm having an issue with solid backgrounds showing up behing transparent PNGs in Flash. I know this isn't a lot to go on, but I have no idea what is going on here, My client sent me the attached image.. This is what they are seeing (the green box behind the top of the vehicle). I am not seeing this. Apparently this box, and other similar boxes show up during image transitions.

I am using Tweens to fade between different models and colors of the vehicle. I was originally using Caurina/Tweener, and experienced similar issues myself, but since switched to using the built in tween class, and am not seeing any problems anymore, but apparently my client is.You should be able to see the attached image. You can also view the demo link, to see if you see any issues yourself with the PNGs fading in and out....(you'll have to sit through the intro, then click EXPAND on the final frame)

View 1 Replies

Set Alpha For Whole Stage Down But Have 1 Mc Full Alpha?

Aug 2, 2011

I want to do aplpha = .5 for the whole app, but then have a MC display at full alpha, is there any way to do this?

View 6 Replies

ActionScript 3.0 :: Loading External Pngs And External Text With Html?

Jul 19, 2009

I want to load external png's through this code:

(for this code, check the mcBandPreloader in de .fla file)

Code:
var imageLoader:Loader;
var RespJpeg:String = "images/arch1Proj.jpg"
function loadImage(url:String):void {

[Code]....

Here the problem is that I can't type html in my external txt file. (I did checked the html button in Dynamic Text Properties. What am I doing wrong here?

.fla can be downloaded at [URL]

View 2 Replies

ActionScript 2.0 :: Dynamic Text Alpha - Find A Component That Allows Alpha Control With A Dynamic Text Box?

Feb 26, 2005

As far as I know theres in no way to cahnge the alpha of a dynamic text box. I put one in a movie clip and when i try to change the alpha of it everything else in it changes its alpha but the not the DT box. Could someone plz verify for me that u can't change alpha and help me find a component that allows alpha control with a dynamic text box. thx in advance.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved