[Flashcoders] Re: Blur effect via action scripting

2007-05-03 Thread Glenn Grant
you don't even need a tween package for this (altho they sure are useful
things). read about BitmapData, BlurFilter, and "Repeating actions using
loops" in the Flash Help.

gg

>
> > OOoops!!! I am sorry. It is not "blue" but "blur".
> > I have three good quality image in my application. Initially I want all
> > three look blur but when user roll over to it then it will gradually
> > become
> > clear image & when roll out it would be again blur.
>
> There are a lot of different tweening packages out there that do the
> thing with one command only (or very close to it). There's MC Tween,
> Fuse Kit, Tweener, and probably others who do support 'native' filter
> blur filtering.
>
> That's the kind of solution you should be looking for. No need for
> overcomplicate a problem that's so simple.
>
>
> Zeh
>
>

___
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] Exporting alpha channel video from flash

2007-04-04 Thread Glenn Grant
sorry if i posted this before, i asked this question a couple of days ago
but never saw it come back in the digest, and it doesn't show up in the
archives search. although it did seem someone else recently asked nearly the
same question and nobody really knew. so let's try again.

i have some animated icons in flash that need to make it into either after
effects or avid. in Export Movie i can select QuickTime Video and in the
Format box select "32-bit Color (alpha channel)". however, when Importing
Footage into After Effects, no matter how i Interpret Footage the swf comes
in opaque. so far exporting a .png sequence works, but that is clunky. yes,
i know about wmode, that doesn't seem to have anything to do with this. does
anybody know the trick?

thanks,
glenn grant

___
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] setting a timer in flash 8

2007-03-25 Thread Glenn Grant
hi gustavo,

your first problem is that you have a gotoAndPlay loop. that means that
every time you go back to frame 1 you are re-creating your now variable, so
it is never going to have a chance to get bigger. secondly, the timer does
need to be updated & checked inside your onEnterFrame (i used a
setInterval), so that it can be compared with your later variable. try this:

stop();
var startTime:Number = getTimer()/1000;
var later:Number = 20;
var timeCheck:Number = setInterval(checkTime, 100);
function checkTime(){
var currentTime:Number = getTimer()/1000;
var elapsedTime:Number = currentTime - startTime;
if(elapsedTime >= later){
trace("llegamos");
clearInterval(timeCheck);
}
}


Message: 22
Date: Fri, 23 Mar 2007 19:57:54 -0400
From: Gustavo Duenas <[EMAIL PROTECTED]>
Subject: [Flashcoders] setting a timer in flash 8
To: Flashcoders@chattyfig.figleaf.com
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hi, I'm trying to set a timer to trigger a event after 20 seconds or
less, but so far i have this code, but with no results
someone help me? .
I don't know how could I got into but some help might be needed


this is the code: is inside the first frame of a movie clip and the 4
frame has: gotoAndPlay(1);


var now = getTimer();
var seconds:Number = now/1000;
var later:Number = seconds+20;
this.onEnterFrame= function (){
if(seconds == later){
trace("llegamos");

}
}
trace(seconds);



Regards

___
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] RE: checking .flv encoding settings

2007-03-14 Thread Glenn Grant
read about onMetaData in the help. 

good luck,
glenn grant

--

Message: 17
Date: Wed, 14 Mar 2007 23:49:09 +0100
From: "undersound" <[EMAIL PROTECTED]>
Subject: [Flashcoders] checking .flv encoding settings
To: 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="US-ASCII"

Hello everybody, 

 

Does anybody know how you can detect the encoding settings that were used
when the .flv was created?

 

I need to re-encode a movie with the same settings that were used then.

 

Thanx in advance

Undersound
___
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] Controlling flv

2007-03-14 Thread Glenn Grant
what i do for this is have my flv player inside a movie clip. make a new
BitmapData. you can put in a cuePoint on the frame of the flv you want. when
the movie gets to the cuePoint, pause it. have the BitmapData draw the
movieclip. then fade the BitmapData to black. this also works well for on
the fly transitions between 2 flvs, using 2 BitmapDatas and x-fading them.

good luck,
glenn grant



>
> On 3/12/07, Adrian MacTaggart <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I'm working with Flash 8 and I've imported an flv to the stage and set
> > it as a progressive download, using a preset skin to control the video.
> > This has created a Flash Video component on the stage.
> >
> > This works fine but the clip ends abruptly before returning to the
> > start.
> > I'd like to pause on the last frame of the video before fading to black
> > over a few seconds. It can then return to the start.
> >
> > As the video is not on the timeline, is this possible? Can the video be
> > controlled with script to do this?
> >
> > Thanks,
> >
> > Adrian

___
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] LoadVars.send vs. LoadVars.sendAndLoad

2006-11-29 Thread Glenn Grant
I use .sendAndLoad to load a shopping cart so it will not pop a new browser
window each time the user adds an item. this works fine locally, but online
the items are not being added to the cart. if i use .send instead of
.sendAndLoad everything works fine except for the aforementioned launching
of browser every time. i read in flash's documentation that .sendAndLoad has
a different security protocol than .send, so i have tried
System.security.allowDomain("thedomain.com"); in the first line, which
doesn't seem to be making a difference. any suggestions?

___
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] flash paypal shopping cart security

2006-11-25 Thread Glenn Grant
i am trying to use the paypal cart with flash 8. my code looks like this:

System.security.allowDomain("paypal.com");
var myLoadVars:LoadVars = new LoadVars();
var cartVars:LoadVars = new LoadVars();
function loadCart(){
myLoadVars.bn = "PP-ShopCartBF";
myLoadVars.lc = "US";
myLoadVars.currency_code = "USD";
myLoadVars.no_note = "1";
myLoadVars.no_shipping = "2";
myLoadVars.amount = amount;
myLoadVars.item_name = item_name;
myLoadVars.business = "[EMAIL PROTECTED]";
myLoadVars.cmd = "_cart";
myLoadVars.add = "1";
//myLoadVars.send("https://www.paypal.com/cgi-bin/webscr";, "_blank",
"POST");
myLoadVars.sendAndLoad("https://www.paypal.com/cgi-bin/webscr";, cartVars,
"POST");
}
function viewCart(){
cartVars.display = "1";
cartVars.business = "[EMAIL PROTECTED]";
cartVars.cmd = "_cart";
cartVars.send("https://www.paypal.com/cgi-bin/webscr";, "_blank", 
"POST");
}

I use .sendAndLoad to load the cart so it will not pop a new browser window
each time the user adds an item. this works fine locally, but online the
items are not being added to the cart. if i use .send instead of
.sendAndLoad everything works fine except for the aforementioned launching
of browser every time. i read in flash's documentation that .sendAndLoad has
a different security protocol than .send, hence the
System.security.allowDomain("paypal.com"); in the first line, which doesn't
seem to be making a difference. any suggestions?

thank 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