Re: [Flashcoders] Some CS3 observations; library and sound

2007-08-12 Thread Yotam Laufer
I don't really know what is the exact issue, but I find exception  
handling very useful in AS3.


This should work too:

try
{
channel.stop(); 
}
catch (err:Error)
{
}

Yotam.

On 12 Aug 2007, at 18:37, Folkert Hielema wrote:



SoundChannel: gives playback and level information and an event when

sound playback ends. Contains another method to stop sound, which
DOESN'T work for streamed sound,



You really can do ;) not like channel.stop() but like
if(channel){   channel.stop(); }



--
mvh

Andreas Rønning
Senior Flash developer
-
Rayon Visual Concepts

Folkert


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Hebrew in Flash?

2006-07-27 Thread Yotam Laufer

Nik,

While Flash does support Unicode the TextField object doesn't render
properly when Left To Right. Your data will be intact and correctly
formatted but it will render incorrectly.

Expect to have tons of problems when mixing Hebrew and English and punctuations.

Best regards,
Yotam.

On 27/07/06, nik crosina <[EMAIL PROTECTED]> wrote:

Should work without too many problems as Flash supports unicode.
Nik

On 7/27/06, iestyn lloyd <[EMAIL PROTECTED]> wrote:
> Hi List,
>
> I'm going to be working on a flash project that will need to be in >10
> languages, one of which is Hebrew. I'll be using the Strings Panel and
> XLIFF to do the localisation.
>
> After a quick google, I see that people have had some problems with
> Hebrew, as it's Right-to-left, and uses some special kind of character
> set. Has anyone here dealt with Hebrew in flash? If you have, could
> you outline some of the problems I might face?
>
> Cheers!
>
> iestyn
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


--
Nik C
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype: ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] BitmapData GlowFilter "zebra" effect?

2006-07-10 Thread Yotam Laufer

Seems like you are applying the filter many times. That would be my
guess. Using the filters array makes sure that you apply it only once.

Best, Yotam.

On 09/07/06, Dan Rogers <[EMAIL PROTECTED]> wrote:

Thank you for the reply.

I tested it using your suggestion, and it seems to behave properly if
I use MovieClip.filters instead of using applyFilter.  However, since
I want the end result to be a bitmap (for animation purposes), I
wrote a little workaround code... as follows:

// draw bitmap 1
var glowFilterMC = parentMC.createEmptyMovieClip("glowfilter_mc",
parentMC.getNextHighestDepth());
var glowBmp = new BitmapData(targetMC._width, targetMC._height, true,
0x00);
glowFilterMC.attachBitmap(glowBmp, 1, "auto", true);
glowBmp.draw(targetMC);
// apply glow filter with knockout
var filter = new GlowFilter(0xFF, 1, 5, 5, 5, 1, false, true);
glowFilterMC.filters = [filter];
// draw bitmap 2
var outlineMC = parentMC.createEmptyMovieClip("outline_mc",
parentMC.getNextHighestDepth());
var outlineBmp = new BitmapData(glowFilterMC._width,
glowFilterMC._height, true, 0x00);
outlineMC.attachBitmap(outlineBmp, 1, "auto", true);
outlineBmp.draw(glowFilterMC);
// dispose of bitmap 1 and its holder
glowBmp.dispose();
glowFilterMC.removeMovieClip();


Quite a few more lines of code than the original method, but hey..
it works.

-Danro


On Jul 8, 2006, at 10:21 PM, John Grden wrote:

> Have you tried just applying the filter to the movieclip that the
> bitmapdata
> object is attached to rather than using applyFilter?
>
> On 7/8/06, Dan Rogers <[EMAIL PROTECTED]> wrote:
>>
>> Yesterday, I posted this topic regarding the inversion of a bitmap
>> alpha channel, but the root of the problem is that I am trying to
>> find a workaround for the GlowFilter knockout effect.
>>
>> For some reason, when I programatically apply a GlowFilter to a
>> BitmapData object, and pass inner = false, with knockout = true, I
>> get this bizarre zebra effect  I've provided code and a link to a
>> side by side comparison screenshot.
>>
>> Here is an example of the code I am using:
>>
>> var filter = new GlowFilter(0xFF, 1, 5, 5, 5, 1, false, true);
>> myBitmap.applyFilter(myBitmap, myBitmap.rectangle, new Point(0, 0),
>> filter);
>>
>> Following is a screen shot of the issue.  The left side is the result
>> when simply using the GlowFilter without passing inner or knockout,
>> and the right side is the strange zebra effect I get when I use the
>> above code.
>>
>> http://download.danro.net/flashcoders/glowfilter_bug.jpg
>>
>> Has anyone else dealt with this?
>>
>> -Danro
>>
>>
>> On Jul 7, 2006, at 3:29 PM, Dan Rogers wrote:
>>
>> > Hi gang,
>> >
>> > I am trying to invert the alpha channel of a BitmapData object and
>> > destructively apply it to another bitmap using copyPixels.  Has
>> > anyone inverted an alpha channel on a bitmap?  I assume use
>> > applyFilter with ColorMatrixFilter, but I am not very swift in
>> > figuring out the correct color matrix settings to use.
>> >
>> > Thanks,
>> > -Danro
>> > ___
>> > Flashcoders@chattyfig.figleaf.com
>> > To change your subscription options or search the archive:
>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> >
>> > Brought to you by Fig Leaf Software
>> > Premier Authorized Adobe Consulting and Training
>> > http://www.figleaf.com
>> > http://training.figleaf.com
>>
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype: ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: RE: [Flashcoders] init TextFormat prop in a class

2006-06-27 Thread Yotam Laufer

BTW, you also can't do this:
class MyClass
{
private static var kMyState:String = "value"; // good
private static var kMyInitialState:String = kMyState; // bad
}

You've have to write
private static var kMyInitialState:String = "value";
in order to get the compiler to allow this.

-mark


I don't think you are correct on that one.

class a {
private static var kMyState:String = "value";
private static var kMyInitialState:String = kMyState;
static function echo() {
trace(kMyInitialState);
}
}

b = new a();
a.echo();

// outputs: value

It works well.

Regards, Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] timezoneOffset inconsistencies

2006-06-20 Thread Yotam Laufer

Thank Robert.

I need to process times in various dates around the year and display
them. That is easy as the time is sent to me as String and I know that
it is always GMT+0100. The problems is that I need to countdown to the
time. I cannot compensate for different time zones because
timezoneOffset () doesn't return a reliable answer.

With no way of knowing whether daylight saving is turned on or off and
no way of knowing what's the time offset, how can this be done?

Does UTC hold the solution here?

Thanks, Yotam.

On 20/06/06, Robert Chyko <[EMAIL PROTECTED]> wrote:

Yes, you can test by changing the date on your machine to not be in
daylight savings and you should see your timezone offset displayed
correctly then.

Ran into this myself once before.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] timezoneOffset inconsistencies

2006-06-20 Thread Yotam Laufer

Hello List,


I'm generating date objects for a list of String values and get
different results for the timezoneOffset:

20:00 --> Wed Jun 21 21:00:00 GMT+0100 2006
18:00 --> Fri Jun 16 19:00:00 GMT+0100 2006
15:00 --> Sun Jun 11 16:00:00 GMT+0100 2006
15:00 --> Sun Jun 4 16:00:00 GMT+0100 2006
20:00 --> Thu Jun 1 21:00:00 GMT+0100 2006
20:30 --> Sat May 27 21:30:00 GMT+0100 2006
20:45 --> Wed Mar 1 20:45:00 GMT+ 2006

Is this a daylight saving issue? Is this how the Date object handles
it? By adding a notch to the timezoneOffset?

My computer is set to GMT+ (London), daylight saving is on,
Windows 2000 with Flash 2004. Publishing to player 7.

Any help would be much appreciated.

Thanks, Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Ossama and Sadam

2006-05-19 Thread Yotam Laufer

Oh dear, I am so so sorry. This was an honest mistake.

Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] Ossama and Sadam

2006-05-19 Thread Yotam Laufer

http://www.youtube.com/watch?v=JqVY04JVqiA

--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] Color.setRGB - no such method?

2006-05-17 Thread Yotam Laufer

It can also be a simple ASO problem. Try clearing the .aso files.

On 17/05/06, Jim Robson <[EMAIL PROTECTED]> wrote:


Barn -

Thanks for testing the code. Do you have Flex 2.0 / Flash Player 9 on your
system? If not, then I think that may be the cause of my problem (I do
have
them installed; we're using Flex for upcoming projects).

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Byron
Canfield
Sent: Wednesday, May 17, 2006 10:23 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Color.setRGB - no such method?

I am unable to reproduce the error.

Created a movieclip and gave it the instance name "tmp", copied and pasted
the code directly from your email, and it compiles with no errors (and
turns the movieclip red).

--
Byron "Barn" Canfield


> Hello all,
>
> I'm getting an error that makes no sense at all. I distilled the code to
> its
> simplest form, and I'm still getting the error. I have a movie with one
> frame and one movie clip on the stage, with the instance name "tmp".
Here
> is
> the code:
>
> var color:Color;
> color = new Color(tmp);
> color.setRGB(0xFF);
>
> Here is the error that I get when I try to compile:
>
>>> There is no method with the name 'setRGB'.
>
> I am using Flash 8 on Windows XP Pro. I understand that the Color object
> has
> been deprecated in 8, but it should still compile.
>
> I also have Flex 2.0 with Flash Player 9 installed on the same box - I
> don't
> think this should affect the Flash compiler, but perhaps it does. If
none
> of
> you have experienced this error, perhaps I should post it to the
> Flexcoders
> mailing list?


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] Accessing the Color Picker in an application.

2006-04-24 Thread Yotam Laufer
Oops.. sorry. It used to be free.
It's good enough to pay for though. $15 is pretty cheap considering all the
time it saves you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] Accessing the Color Picker in an application.

2006-04-24 Thread Yotam Laufer
Try this one:

http://www.awssoft.com/products.php?p=colorpickerpro&s=overview&PHPSESSID=8b9c48eaf58b5a1ba9f473a0ee3f1a57

Free and excellent.

On 24/04/06, artkast <[EMAIL PROTECTED]> wrote:
>
> I am making a drawing program but I am having trouble trying to
> figure out the best way to change colors. I have made a color picker
> using buttons but this doesn't seem like the most efficient way to do
> what I want. I would like to be able to set up a color picker or
> access the one built in to flash. I am really unsure how this works.
> Thanks for any help.
>
>
> -Rob
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] XML->PHP->FLASH

2006-04-20 Thread Yotam Laufer
I have to completly disagree with you. Use XML in Flash, I really can't
think of a better method. I don't know what version of Flash you're using,
but you can use XPathAPI or xfactor studio XPath to make you life easier.

I will hurt at first, no doubt, but it's the best way.

Good luck. Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] ScrollPane Pain

2006-04-07 Thread Yotam Laufer
Make sure you execute everything after the component has initialized. A good
way is to handle things with your Class's onLoad event.


class a extends MovieClip {
  private var __sp:ScrollPane
  function a () {
  }
  function onLoad () {
__sp.content = "yourlinkage"
  }
}


other than that maybe you just need to __sp.invalidate () ?

Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] "There is no method with the name 'Math'."

2006-04-06 Thread Yotam Laufer
clear the .aso files?

On 06/04/06, Weldon MacDonald <[EMAIL PROTECTED]> wrote:
>
> it works for me. the only thing I can think of is it's not finding the
> class. Does syntax coloring recognise it? Did you modify class path?
>
> On 4/6/06, Mike Mountain <[EMAIL PROTECTED]> wrote:
> > Why on earth would the compiler be telling me
> >
> > "There is no method with the name 'Math'."
> > iNumber = Math.floor(iNumber/2);
> >
> > ?
> >
> > M
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
> --
> Weldon Mac Donald
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] XPath hangs

2006-04-03 Thread Yotam Laufer
I can't get it to work. Saved it as a file, new FLA, still hangs. MX2004, FP7.

On 03/04/06, Bart Wttewaall <[EMAIL PROTECTED]> wrote:
> I've tested it and it just works like a charm. No hangup or anything.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] XPath hangs

2006-04-03 Thread Yotam Laufer
Hi Ron,

I don't see how that should change anything, but in any case I don't
have the option to do so. Even if I omit the value and search only for
//[EMAIL PROTECTED]'ThumbnailFilename'] it will still hang.

Thanks, Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] XPath hangs

2006-04-03 Thread Yotam Laufer
Hi List,

I've been using xfactor studio's XPath class for AS 2.0 but have been
experiencing some problems with a specific path.

I've got this XML:


http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>



45785
Volkslied


Wilhelmus, gezongen door Lois Lane



http://picsrv.dme.knvb.nl/?fif=/syndication/videos/13/36462.fpx


53




9138387_300kbps.mov



9138387_500kbps.mov



9138387_700kbps.mov









And I'm using this:

trace (XPath.selectNodes (xml,
"//[EMAIL PROTECTED]'ThumbnailFilename']/value"));

And Flash seems to go into an infinite loop or recurssion and I get the "a
script is causing your... would you like to abort" window.
I know for a fact that it's the [EMAIL PROTECTED]'ThumbnailFilename'] part of 
the path
that is causing the problem but it happens that this is why I'm using XPath
in the first place.

Has anyone had this problem before and knows a way around it?

Thanks, Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] FLV and DRM

2006-03-31 Thread Yotam Laufer
My VLC 0.84a played FLVs. Not sure about newly encoded one with F8, I didn't
try. The ones done with F7 played, I tried twice, I couldn't believe my eyes
too.

On 30/03/06, erixtekila <[EMAIL PROTECTED]> wrote:
>
> >  Now that I've discovered the VLC
> > player plays FLVs very well they don't seem so hard to handle anymore.
> > I
> >
> What version of VLC reads flv ?
> I use 0.84 and it doesn't.
>
> Tell us more please.
> This would be a great news…
>
> Thanks.
>
> ---
> erixtekila
> http://blog.v-i-a.net/
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] FLV and DRM

2006-03-30 Thread Yotam Laufer
Hello List,

What are the options if any to DRM FLVs? Now that I've discovered the VLC
player plays FLVs very well they don't seem so hard to handle anymore. I
require a real method of DRMing.
Do streaming FLVs get cached? Is there a way to disable the caching?

Thanks, Yotam.

--
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] sIFR

2006-03-29 Thread Yotam Laufer
Oh, ok. Everything that increases the FP8 user base is welcome ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] sIFR

2006-03-29 Thread Yotam Laufer
I'm really curious as to why you might need a thing like that.
Yotam.

>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] hitTest

2006-03-26 Thread Yotam Laufer
Try this:

tempShape.hitTest(tempShape._x + i,tempShape._y + y,false)

I believe you need to check the coordinates as in the parent's scope.

Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] A lack of understanding re static methods

2006-03-23 Thread Yotam Laufer
It doesn't get replaced at compile time at all. It is called in runtime.
So if it's not there when it's called it will return undefined. You must
make sure that Const is loaded before attempting to access any of it's
setters/getters or methods.

Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] Determining width of rotatedMC'simaginaryboundingbox

2006-03-20 Thread Yotam Laufer
Hi David,

First of all you're welcome. When using the mathematical approace, are you
feeding the Math.sin (a) method radian or degrees? It should be radians
could that be your problem?

Good luck, Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] Determining width of rotated MC's imaginarybounding box

2006-03-20 Thread Yotam Laufer
Correct usage of getBounds will give you the correct result. You have to
point the coordinate scope of the getBounds method to the parent of the mc.

var o:Object;
o = mc.getBounds (mc._parent);
trace ("w: "+(o.xMax-o.xMin));
trace ("h: "+(o.yMax-o.yMin));
mc._rotation = 45;
o = mc.getBounds (mc._parent);
trace ("w: "+(o.xMax-o.xMin));
trace ("h: "+(o.yMax-o.yMin));

// outputs
/*

w: 114.95
h: 114.95
w: 162.6
h: 162.6

*/


Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Yotam Laufer
[Theres no "reasonable" amount of time on networked connections of
unknown hardware specs...]

And yet timeout times are set somehow... I think it's a subjective decision.
I wouldn't do it like this, but if someone has to?

Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Yotam Laufer
_mc.onLoad = function (success) {
if (success) {
trace ("file loaded");
} else {
_global.fileExists = false;
}
};
_gloabl.fileExists = true;
_mc.loadMovie (url);
// wait 250 ms and see whether the file has failed
var intId = setInterval (function () {
if (_global.fileExists) {
trace ("file exists");
} else {
trace ("no file");
}
clearInterval (intId);
}, 250);


This is not tested, but should work. The only penalty is the the time you
have to wait to be sure.

Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Yotam Laufer
If onload fires immediately with success==false then you know that there's
no file, so why don't you wait for a reasonable interval and then if it's
not fired than assume the file exists. not the best of solutions but should
work.

Yotam
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] What's your job title?

2006-03-11 Thread Yotam Laufer
New Media Whore ;)

On 11/03/06, murder design <[EMAIL PROTECTED]> wrote:
>
> Hopefully next month my job title will be "flash designer". until then its
> waiter :P
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] FP8 AS2 color picker and comboBox

2006-03-08 Thread Yotam Laufer
Yeah, I think so too, shame I missed that one before buying a crap component
first.

On 08/03/06, Nick Weekes <[EMAIL PROTECTED]> wrote:
>
> Good link, looks like a nice component.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Yotam
> Laufer
> Sent: 08 March 2006 11:07
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] FP8 AS2 color picker and comboBox
>
> This seems to be a fine piece of software:
>
> http://www.awssoft.com/products.php?p=colorpickerpro&s=overview
>
> You need to register to d.l but it's free.
>
> On 07/03/06, Martin Weiser <[EMAIL PROTECTED]> wrote:
> >
> > Hello everyone,
> >
> > i seek for color picker component (tried many, Illogiz, not working in
> > as2), please doeas anyone have some really good?
> >
> > And custom combobox. simple as possible, thanks in advance
> >
> > Martin
> >
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] FP8 AS2 color picker and comboBox

2006-03-08 Thread Yotam Laufer
This seems to be a fine piece of software:

http://www.awssoft.com/products.php?p=colorpickerpro&s=overview

You need to register to d.l but it's free.

On 07/03/06, Martin Weiser <[EMAIL PROTECTED]> wrote:
>
> Hello everyone,
>
> i seek for color picker component (tried many, Illogiz, not working in
> as2),
> please doeas anyone have some really good?
>
> And custom combobox. simple as possible,
> thanks in advance
>
> Martin
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] Doh! Converting a floating point string to number loses precision

2006-03-07 Thread Yotam Laufer
-1.13686837721616e-13 is as close to zero as you get matey 13 places
after the decimal...

On 07/03/06, Boon Chew <[EMAIL PROTECTED]> wrote:
>
>
> How do you usually deal with the loss in precision (a bit oxymoron since
> floating point can't be exactly represented) when converting a floating
> point string to a number?
>
> var s:String = "952.86";
> var i:Number = parseFloat(s);
> trace(i);
> trace(i - 952.86);   // Not zero!
>
>
> - boon
>
>
>
>
> -
> Yahoo! Mail
> Bring photos to life! New PhotoMail  makes sharing a breeze.
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] FP8 AS2 color picker and comboBox

2006-03-07 Thread Yotam Laufer
If there's one piece of advice I can give you is to stay awat from Jumpeye
Software's Color Picker Pro. It looks really nice and is very slick until
you try and use it in a real world application.

You CANNOT open the color picker with predefined values. The rainbow picker
and lightness values don't adjust to the values. Sure, some of the color
picker does respond, but not those parts. They say in the site and in the
help docs that you can open the component with predefined values, you
CANNOT, unless you don't care about the GUI NOT BEING IN SYNC with the
actual values. I've been flipping over this component for days now trying to
get it to work. Tech support took forever to answer and when they did all
they could say that it's not implemented.

Is this not expected behaviour?

When I asked to be refunded because it doesn't do what it says on the box
the cheeky bastard told me that I'm not eligible for a refund. He did offer
to sell me his source code for $400 so that I can finish his work.

Considering the fact that I can write one myself and all I wanted to do was
save development time.. well... there you go. Thanks for nothing.

Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] Re: NEED HELP - i have a demo in a few dayssss... IMG embed into TextArea and Scrollbar

2006-03-07 Thread Yotam Laufer
no problem. good luck.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] NEED HELP - i have a demo in a few dayssss... IMG embed into TextArea and Scrollbar

2006-03-07 Thread Yotam Laufer
If you don't need overflowing (around the image) text a ScrollPane would be
better.

Yotam.

On 07/03/06, julian atienza <[EMAIL PROTECTED]> wrote:
>
> I only need to solve a question...
>
> Can i embed an IMG with html code into a TextArea (smaller than
> Image)  and
> one vertical scrollbar that scroll the image up and down?
>
> thanks in advance
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] FileReference upload, change file name

2006-03-05 Thread Yotam Laufer
You can pass a parameter to the upload url:

file.upload (uploadscript.php?newname=newfilename);

and then take care of it on the php side.

Good luck, Yotam
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] Halftoning Filter

2006-03-04 Thread Yotam Laufer
Hey Jim. I'm sure I can, that's why I ask. I will want to apply this to
video, so I will need a very quick algorithm. Whenever you get the chance to
help it would be appreciated.

Thanks, Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] Halftoning Filter

2006-03-04 Thread Yotam Laufer
Hello List,

Does anyone have any idea how to halftone an image in Flash 8? I'm
particullary interested in circular halftoning, transforming a greyscale
image into dots.
An example can be seen here:

http://www.ransen.com/Repligator/Images/Halftone-effect.jpg

Thanks, Yotam.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] How does goowy do it? (HTML in Flash)

2006-03-04 Thread Yotam Laufer
It could be superimposed. This component does exactly that:
http://drumbeatinsight.com/htmloverlay

I've never tried it myself though.


On 04/03/06, Ramon Miguel M. Tayag <[EMAIL PROTECTED]> wrote:
>
> How do you put an HTML window within the Flash movie?  I thought it
> might be superimposed... but I'm not sure.
>
> --
> Ramon Miguel M. Tayag
> Managing Director
> Quirkworks
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] XML Form Collection Names

2006-02-17 Thread Yotam Laufer
Hello List,

I am trying to sendAndLoad XML data to a web service that requires
that I set the name of the data in the Form Collection. My server-side
people insist that this is how it should be done, although I never
needed to set anyhing and sendAndLoad would always just work in the
past.

This is the trace from the server script, note on the bottom the Form
Collection part. It is now formatted in the way that they would like
it to be.

Headers Collection
NameValue
Pragma no-cache
Content-Length  140
Content-Type application/x-www-form-urlencoded
Host xxx.xxx.xxx.xxx:90
Referer 
http://xxx.xxx.xxx.xxx:90/flashfolio.service.asmx/AssetList
User-AgentShockwave Flash
x-flash-version8,0,22,0


Form Collection
NameValue
RequestXML  xml data goes here

I've managed to make this work by using a LoadVars object like this:

var lv:LoadVars = new LoadVars ();
lv.RequestXML = new XML ("xml data goes here");

But the XML string which is returned is escaped in a manner that I
can't unescape it using unescape (str).

Is there a way to set the name for the XML string using the XML object?

Any ideas? Has Anyone come across this before? I'm pretty puzzled here.

Thanks, Yotam.




--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype: ubermutt
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] UGENT -- using variable in absolute path --Deserate!

2006-02-04 Thread Yotam Laufer
yes, it evaluates the expression within the brackets.

On 04/02/06, dls <[EMAIL PROTECTED]> wrote:
>
> Thank you!
> Is this similar to the  eval function?
> --dan
>
> _root[tempUSname].text = _global.c1schoolName;
>
> good luck.
>
> On 04/02/06, dls <[EMAIL PROTECTED]> wrote:
> >
> > Sorry for the urgency, but I have a morning deadline today.
> >
> >
> > Have a series of dynamic textfield on my stage named: usName1 , usName2,
> > etc.
> > I am trying to populate specific fields with some text.
> > I am trying to choose which field is populated dynamically.
> >
> > (I have hard coded the _root.currentNameNumber for the example below)
> >
> > _global.c1schoolName = Fenwick;
> > _root.currentNameNumber = 1;
> > _root.tempUSname = "usName"+currentNameNumber;
> > trying to dynamically choose the text field usName1  this is where
> > it breaks!
> > _root.tempUSname.text = _global.c1schoolName;
> >
> >
> > If I hard code the text box name it works OK
> > _root.usName1.text = _global.c1schoolName;
> >
> > _______
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
> ubermutt
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>


--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] UGENT -- using variable in absolute path --Deserate!

2006-02-04 Thread Yotam Laufer
_root[tempUSname].text = _global.c1schoolName;

good luck.

On 04/02/06, dls <[EMAIL PROTECTED]> wrote:
>
> Sorry for the urgency, but I have a morning deadline today.
>
>
> Have a series of dynamic textfield on my stage named: usName1 , usName2,
> etc.
> I am trying to populate specific fields with some text.
> I am trying to choose which field is populated dynamically.
>
> (I have hard coded the _root.currentNameNumber for the example below)
>
> _global.c1schoolName = Fenwick;
> _root.currentNameNumber = 1;
> _root.tempUSname = "usName"+currentNameNumber;
> trying to dynamically choose the text field usName1  this is where
> it breaks!
> _root.tempUSname.text = _global.c1schoolName;
>
>
> If I hard code the text box name it works OK
> _root.usName1.text = _global.c1schoolName;
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] 0,0????

2006-02-03 Thread Yotam Laufer
I have to say Tom, that it's perfectly aligned on 0,0 on my F7.

Yotam.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to "auto-maximze" font size

2006-01-28 Thread Yotam Laufer
You can just set the entire string and then set the _width and _height
values of the encompassing movieclip to be whatever you like.


On 28/01/06, Andrew Sinning <[EMAIL PROTECTED]> wrote:
>
> I've tried searching for scripts on this subject, but the subject is
> just too ambiguous.  Here's what I'm after:
>
> You (or your designer) has laid out a movieClip with an allocated
> dynamic textField to be populated with un unknown string.  Perhaps the
> string is going to come from a translation table, or it will be an alert
> message, or the name of the user.
>
> At runtime, you want the text to be displayed at the largest font size
> possible, without exceeding the boundaries allocated by the designer.
> Also, you don't want words to be wrapped mid-word, but (optionally) the
> string can be wrapped between words.
>
> Ideally, if the designer decides to distort or resize the movieClip (or
> any parent) that contains the textField, the script will still work.
> This last criterion may be beyond the scope of MX04, where I've found
> that the formatting of dynamic text is often compromised when the parent
> is distorted.  Has this been improved in F8?
>
> The basic approach that I've tried is to increase the size of the font
> one point at a time until it doesn't fit and then decrease it one point
> at a time until it does fit.  The trick seems to be finding a reliable
> way to test whether or not the "string fits".
>
> this test works sometimes, but not always:
>
>stringFits =  textField._height <= textField.textHeight &&
> textField._width <= textField.textWidth;
>
> I wonder if the textFormat.getTextExtent() function might work better,
> but I'm quite fuzzy on its use.
>
> I would really appreciate any help with this problem that anybody would
> offer.  I'm afraid I'm not a very sophisticated AS coder, as I spend the
> vast majority of my time coding in Director.
>
> Thanks!
>
> Andrew Sinning
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] printJob movieclip positioning

2006-01-20 Thread Yotam Laufer
How about masking it? You might to have your masked mc within another mc and
print the top level one, but that might work.

good luck.

On 20/01/06, Yves Peckstadt <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
>
> I'm currently making an application in flash that needs to print any mc
> that
> you throw at it in a decent and structured way.
>
> This is of course possible with the printJob class but I'm encountering
> some
> positioning problems at the moment.
>
> Scenario:
>
> I have a very big mc (in height) and I want to print it. I decide to cut
> the
> mc in half and send each half to the spool.
> I can't use flash 8 advanced pixel features (must work in f7) so I work
> with
> custom white shapes in the mc's that cover the area that belongs to the
> other half.
> Also can't use masks but can't remember right now why.  :)
>
> For example: main mc has a height of 1000 pixels.
>
> Part 1 still has a height of 1000 pixels but also has the white shape
> starting at 500 y-axis that covers the part2 content
> Part 2: same as part 1 but the white shape starts at 0 y-axis and covers
> the
> part 1 content.
>
> Now when I print part 1 there is no problem. It will start at the top and
> you won't see the part 2 content because of the white shape, technically
> speaking part 1 is still way too large to be printed of course but because
> of the white shape at the bottom that doesn't matter.
>
> Part2, now the problem kicks in. The white space to cover the part 1
> content
> is now on top. When I send part 2 to the spool all I see is white and a
> small piece of part 2 content. This is normal of course because the white
> space is the top of the mc so there isn't really a problem because that's
> how it's supposed to work.
>
> So I thought I could fix this by inserting part2_mc in a new movie clip
> and
> position it so that the actual content starts at 0, 0 and the white shape
> lies above it.
> But apparently this doesn't work, it seems that the printJob class
> completely ignores that position and just sends the whole mc to the spool
> including the white shape.
> I played around with the addPage(xMin,xMax,etc...) margin settings but
> those
> settings aren't of any use for my problem.
>
> I'm probably forgetting something or doing something wrong.
>
> Anyone has an idea on how I might be able to solve this problem.
>
> Thanks
>
>
>
> Yves
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Fire Event Manually

2006-01-20 Thread Yotam Laufer
unless dispatchEvent is a private method ;)

On 20 Jan 2006 14:27:30 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> myCheckBox.dispatchEvent( {type:"cick", target:myCheckBox});
>
> or
>
>
>
> should work ?
>
> Grant.
>
> - Original Message -
> From: julian atienza [EMAIL PROTECTED]
> To: flashcoders@chattyfig.figleaf.com
> Sent: 1/20/06 5:59 AM
> Subject: [Flashcoders] Fire Event Manually
>
> > Anybody can helps me with this?
> >
> > I have a collection of checkbox, with their own actionscript code in the
> > on(click) or on(change) region of code to manage events...
> >
> > in one special case, i want to manually (through actionscript code in a
> > class) fire the click event on every checkbox control of my panel.
> >
> > there is any way to make this? to fire click event like if a user
> interacts
> > with the control and click on it?
> >
> > I'm talking about Checkbox Control (not about HTML checkbox) ...
> >
> > thank u in advance!
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Converting & in a URL?

2006-01-20 Thread Yotam Laufer
You write your own or use the %26 escape sequence instead of &

On 20/01/06, Sascha Balkau <[EMAIL PROTECTED]> wrote:
>
> Hi list,
>
> does ActionScript have any facilities to convert special characters like
> & into just &? I have one Flash movie that reads URLs from an RDF file
> where all URLs are written with & inside the adress. My client would
> like these special chars to be converted to '&'. Does Flash has anything
> to
> do that automatically (haven't found anything so far) or do I have to
> write
> my own convert method?
>
> Thanks for help,
> Sascha
>
>
> --
> Flash Game Programming Wiki http://fgpwiki.corewatch.net/
> H1DD3N.R350URC3 http://hiddenresource.corewatch.net/
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FlashMattic -My Hebrew Flash Blog

2006-01-17 Thread Yotam Laufer
Danny,

You switch keyboard layouts like you would with any other multi lingual
setup on either mac or pc and you have the option to change the page
direction to RTL. Numbers, English and panctuation behaves as expected
theoritically, meaning that numbers for instance will be entered from left
to right even when your page is right to left. This usually works... In my
experience though it's always a bitch working with mixed inputs.

You need an operating system which supports BIDI and ofcourse BIDI
applications for heavy duty work.

Windows and Mac OS support RTL out of the box, your problem is usually the
applications.

Yotam.

On 16/01/06, matti bar zeev <[EMAIL PROTECTED]> wrote:
>
> I've checked them and replied at my blog.
> There are many people from your country around here, ya know :)
>   -Original Message-
>   From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
> mailing list
>   Sent: Monday, January 16, 2006 12:33
>   To: flashcoders@chattyfig.figleaf.com
>   Subject: RE: [Flashcoders] FlashMattic -My Hebrew Flash Blog
>
>
>   Hello fellow Israel dude :)
>   I saw on your blog a webcam game, well Chk :
>   http://gamez.tipo.co.il/Gamez/CamPlay_Main.asp
>
>   my 3 webcam games for my site :)
>   TIPO :)
>
>   10x
>   nice to meet people from my country on here :)
>
>
>   ___
>   Flashcoders mailing list
>   Flashcoders@chattyfig.figleaf.com
>   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] how to stop mouse clicks leaking through the gaps in textFields?

2005-11-29 Thread Yotam Laufer
transparent buttons do the trick well. movieclips with 0 _alpha also work.

On 11/29/05, Kevin Boyd (MMCR) <[EMAIL PROTECTED]> wrote:
>
> I am creating dynamic text sprites in a movieClip using createTextField()
> for a bread crumb navigation feature to be used in a Director movie.
> Problem
> is I just want plain text, no background on the text sprites but when you
> try and click on the text and click between letters flash does not pick up
> the click!
>
> Is there a simple way to turn off the transparency of these text members
> so
> that the clicks do not leak through the gaps?
>
> Kevin Boyd
> Multimedia Creations Ltd.
> www.mmcr.co.uk
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
Yotam Laufer | Flash Developer | mobile +44 (0)7957 253130
-
The preceding e-mail message (including any attachments) contains
information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information. It is intended to be conveyed only to the designated
recipient(s) named above. If you are not an intended recipient of this
message, please notify the sender by replying to this message and then
delete all copies of it from your computer system. Any use, dissemination,
distribution, or reproduction of this message by unintended recipients is
not authorized and may be unlawful.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Bidirectional languages in Flash

2005-10-27 Thread Yotam Laufer
There are many sort of work arounds and it really depends what kind of text
you have to display, but it usually doesn't work well.

http://www.quasimondo.com/archives/000217.php



On 10/27/05, Sebastian Loix <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I need to include in my multilingual website Arabic content.
> Does anyone know how I could solve the bidirectional problems?
>
> Thanks for any help.
>
> seb.
>
>
> -
> Powered by Alinto (http://www.alinto.net)
> for Belgique.com <http://Belgique.com> (http://www.belgique.com)
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
Yotam Laufer - Senior Flash Developer
mobile: +44.79.572.531.30
-
The preceding e-mail message (including any attachments) contains
information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information. It is intended to be conveyed only to the designated
recipient(s) named above. If you are not an intended recipient of this
message, please notify the sender by replying to this message and then
delete all copies of it from your computer system. Any use, dissemination,
distribution, or reproduction of this message by unintended recipients is
not authorized and may be unlawful.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] firefox bug? quicktime in a div over flash

2005-10-07 Thread Yotam Laufer
At least you can see it, if you use the Window Media Plugin, you won't even
be able to see the video on FireFox.

On 10/6/05, Jason Buzzeo <[EMAIL PROTECTED]> wrote:
>
> No can do. This will be a javascript media player that will potentially
> have
> the ability to serve up one of 4 streaming formats - qt, wmv, real, and
> flv.
> I'm just starting out with qt when I found this bug. Thanks for the reply
> though.
> J
>
> On 10/6/05, David Rorex <[EMAIL PROTECTED]> wrote:
> >
> > On 10/6/05, Jason Buzzeo <[EMAIL PROTECTED]> wrote:
> > > I've got a quicktime playing in a div above my flash movie. In IE PC
> it
> > > works fine, but in Firefox, the controls are not responsive. Is this a
> > known
> > > issue? Thoughts?
> >
> > Probably not helpful to you, but what about using FLV?
> >
> > -David R
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> _______
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
Yotam Laufer - Senior Flash Developer
mobile: +44.79.572.531.30
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders