thanks for the advice guys
On Wed, Aug 13, 2008 at 9:38 PM, Steven Sacks [EMAIL PROTECTED]wrote:
Select your transparent PNG and press CTRL+B (Break Apart).
Then, use the lasso tool and the eraser tool to erase the transparent
pixels as best you can.
This will increase your performance a
Hallo,
I'm loading transparent pngs in as Bitmaps and placing them within a display
object. I'd like to create a mask that is the same shape as the
non-transparent pixels, (so that I can overlay a gleam animation). Is there
an easy way to use a Bitmap or BitmapData as a mask that respects the
You should be able to copyChannel the BitmapDataChannel.ALPHA from the image
you loaded onto the bitmap you use for the gleam. However animating this
then means moving only a single channel. Which may or may not be possible
without reprocessing the bitmapData.
It's only a rough idea, but take a
Hi Jason thanks for your help! Ive added what you said but the event listeners
do not seam to to be hearing the dispatched event.
main_site is the document class for main_site.fla, and is loaded into
'gallery.swf' using this code...
// CODE from within FUNCTION
var swfLoader:Loader = new
Hi, anyone knows which compile settings does Flex
Builder use when using Export Release Build?
I get a file size 100 Kb smaller than with FlashDevelop.
(down from 637 Kb to 533 Kb)
I tried looking at the FB console, and googled but found
nothing.
Side question: any good/bad experiences putting
You should be able to do access the parent by using, parent.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
SJM - Flash wrote:
Hi guys, im having some trouble accessing a function from another class and I
would like to know how its done.
In my project i have 2 FLAs 'gallery.fla' and
doing it this way creates a load of problems!
Thanks for your help!
SJM
- Original Message -
From: H
To: Flash Coders List
Sent: Thursday, August 14, 2008 12:19 AM
Subject: Re: [Flashcoders] AS3 accessing functions from other classes
Call to a possibly undefined method
Again another solution i tried but this too does not work!
Thanks
SJM
- Original Message -
From: Kenneth Kawamoto
To: Flash Coders List
Sent: Thursday, August 14, 2008 1:36 PM
Subject: Re: [Flashcoders] AS3 accessing functions from other classes
You should be able to do
What do you get if you do trace(parent);?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
SJM - Flash wrote:
Again another solution i tried but this too does not work!
Thanks
SJM
- Original Message -
*From:* Kenneth Kawamoto mailto:[EMAIL PROTECTED]
*To:* Flash Coders
you could also try:
var myMC:MovieClip = new MovieClip();
myMC = ev.target.content;
myMC.name = myMC;
myMC.x= 0;
myMC.y= 0;
this.addChild(myMC);
.m
On Thu, Aug 14, 2008 at 8:11 AM, SJM - Flash [EMAIL PROTECTED] wrote:
Hi Jason thanks for your help! Ive added what you said but the event
Kenneth i get... [object Loader] when tracing parent
SJM
- Original Message -
From: Kenneth Kawamoto
To: Flash Coders List
Sent: Thursday, August 14, 2008 2:11 PM
Subject: Re: [Flashcoders] AS3 accessing functions from other classes
What do you get if you do
No, I mean when you trace it from the button.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
SJM - Flash wrote:
Kenneth i get... [object Loader] when tracing parent
SJM
- Original Message -
*From:* Kenneth Kawamoto mailto:[EMAIL PROTECTED]
*To:* Flash Coders List
Sorry man I didn't read the original post :S ...
main_site is loaded into gallery, and main_site has some buttons that when
you press them, they should trigger handlers in gallery.
I think it goes like this - add this code to your loader complete function
in gallery:
//where target is Loader
Put the bitmap on a display container, set the .mask of the masked
object as being that object that contains the bitmap, set cacheAsBitmap
of both to true. So it'll be a normal masked object, but it'll respect
the bitmap transparency (instead of using the image's box as the
transparency mask).
Hello all,
I was wondering if I can get the binary data from a bitmap data, and send it
to database (blob) or/and getting the binary data from the database and in
flash reform it to display the bitmap back.
I've been reading about the ByteArray Class but I am still confused whether
to use it or
You can use the getPixels() method of the BitmapData class to get the raw
pixel data as a ByteArray. Using setPixels() you can fill a BitmapData
object with data from a ByteArray.
You can post / retrieve that data from a server using a URLRequest object,
specifying that you want to use a binary
Percy --
It's been a few days since your post, but I just noticed your message.
Our company wanted to develop a Flash Lite application, but we came up
against a huge roadblock. In Flash Lite, there is no way to disable the
tap-and-hold context menu. This means that a user can tap and hold on
Before investing in Zinc, you must check out Janus (www.janus-flash.com).
It's more powerful, much more stable, and costs less! You can download a
fully functional evaluation copy from the website.
Best Regards,
PJB.
- Original Message -
From: Alfred Hess [EMAIL PROTECTED]
To:
Before investing in Zinc, you must check out Janus (www.janus-flash.com).
It's more powerful, much more stable, and costs less! You can download a
fully functional evaluation copy from the website. Please give it a try and
let the list know what you think of it.
Best Regards,
PJB
-
Hi,
There are a few examples on the www about sending Bitmap data to the
server Mario's is a good starting point -
http://www.quasimondo.com/archives/000572.php
Anyway, there are other examples about which do
compression/decompression on your data so you could save it into your DB
Hi guys, ive written some code to load FLVs into flash and then play them. The
problem is that the skin does not seam to be working!
Here is teh code to load teh FLV
private function loadFLV (filename:String):void
{
connect = new NetConnection(); // builds new net connextion flash
Think ive fixed my problems with this now!
Many thjanks for your help!
SJM
- Original Message -
From: H
To: Flash Coders List
Sent: Thursday, August 14, 2008 2:30 PM
Subject: Re: [Flashcoders] AS3 accessing functions from other classes
Sorry man I didn't read the
http://www.boski.com/facebook/superVideo/superVideomain2.html?3
click on the preview button to view the video.
(I get strange reddots.)
if I access it here
http://www.boski.com/facebook/superVideo/video/swfs/Anchorman.swf
(no dots.)
does anyone have any ideas what this could be?
Thanks,
Mike
You can only apply a skin to the FLVPlayback component...
Please start a new thread for a new subject - don't just hit reply to an
email as it messes up the list threading...
Thanks
Glen
SJM - Flash wrote:
Hi guys, ive written some code to load FLVs into flash and then play them. The
And what was the fix? :)
On Thu, Aug 14, 2008 at 1:39 PM, SJM - Flash [EMAIL PROTECTED] wrote:
Think ive fixed my problems with this now!
Many thjanks for your help!
SJM
- Original Message -
From: H
To: Flash Coders List
Sent: Thursday, August 14, 2008 2:30 PM
Subject: Re:
You mean it is not the same bandwidith taken as when loading the picture
from a directory in a server?
On Thu, Aug 14, 2008 at 6:59 PM, Juan Pablo Califano
[EMAIL PROTECTED] wrote:
You can use the getPixels() method of the BitmapData class to get the raw
pixel data as a ByteArray. Using
On Thu, Aug 14, 2008 at 10:56 PM, Omar Fouad [EMAIL PROTECTED] wrote:
You mean it is not the same bandwidith taken as when loading the picture
from a directory in a server?
It's a different encoding. You could encode it to, say, png before
sending it back, or use zlib compression.
Mark
Well, that depends on the picture, but yes, generaly you'd load a jpg, png,
etc, which are compressed formats. For instance, right now I'm seeing a 466
x 468 jpg. Its size is 34 Kb. Bear in mind that the compression ratio varies
depending on the actual image and the compression rate / algorithm
Compress it to a PNG or a JPEG - these formats will output a tidy ByteArray
for you. If you don't have AMF or trouble with writing HTTP Post headers,
you can always pack it into a Base64 encoded string.
Use Loader.loadBytes() to load it. This is in fact synchronous but occurs
asynchronously. I
29 matches
Mail list logo