Have a look at the AS3 components:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/BaseButton.html
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/Button.html
- Original Message -
From: Adam Pasztory [EMAIL PROTECTED]
To:
Hi,
you can find the solution at http://www.flvsoft.com.
Best regards!
master
2007-06-27
From: Tarjinder Kumar
Sent: 2007-06-27 01:24:40
To: flashcoders@chattyfig.figleaf.com
CC:
Subject: [Flashcoders] Watermarking FLV VIdeos
Hi,
I want to watermark flv videos using command line
One way to instantiate a mc as a button in as3 is:
my_btn.addEventListener(MouseEvent.CLICK, myFunction);
my_btn.buttonMode = true;
function myFunction(event:MouseEvent):void {
//do something
}
jimbo
*** REPLY SEPARATOR ***
On 6/26/2007 at 9:40 PM Adam Pasztory wrote:
Thanks Jim,
I've set up the AS3 event handler as you've specified, and it does change
the cursor from an arrow to a pointer, but the _up, _down and _over states
don't work. I pasted the same button symbol into an AS2 FLA file, and it
does work, so there isn't anything wrong with the way I've
Yes, I can find nothing in as3 docs about support for that shortcut (_up,_over,
_down frame labels). The buttonMode=true only affects the cursor - changes it
from pointer to hand.
afaik, you need to set functions for each event - possible mouse events include:
CLICK
DOUBLE_CLICK
MOUSE_DOWN
Hi Adam,
Use the sample below for Button instances:
import flash.display.SimpleButton;
import flash.display.Sprite;
var up:Sprite = new Sprite();
up.graphics.beginFill(0x99);
up.graphics.drawRect(50, 50, 50, 50);
up.graphics.endFill();
var over:Sprite = new Sprite();
Also, the client just wants the buttons delivered in a simple graphical
format, so they can add code later. They don't want me to send them an FLA
with a ton of code in it, like in Leandro's example.
I would go ahead and just use button symbols, but my problem is that these
buttons also have an
Hi,
I was doing some RD on sending data from flash to Access database. Got one
example on the net, i tried modifying it and it worked. Now the problem is I
can't pass the text field values of flash to asp.
If I do it statically it works.
set objrecord=objconn.execute(insert into
if its a post a request.form or if its a get a request.querystring
On 6/27/07, vivek [EMAIL PROTECTED] wrote:
Hi,
I was doing some RD on sending data from flash to Access database. Got
one
example on the net, i tried modifying it and it worked. Now the problem is
I
can't pass the text field
set objrecord=objconn.execute(insert into mydbdata(firstName,lastName)
values('john','Miranda')) //ASP code
What should be done to replace 'john' and 'Miranda' with actual values from
flash text fields?
It depends on how the vars are sent from Flash.
If sent via a GET (i.e. the vars form
Hey Amir,
Thanks for your reply.
Yeah, that will resort to pinging clients at an interfal.. always nice
ducktape.. but never what you really whant.. especially with high client
numbers.
The adobe connection is indeed a nice one.. anyone from them reading along?
(Ed?)
With kind regards,
Hi,
'This is the ASP code.
%
Set objconn=server.createobject(adodb.connection)
objconn.open provider=microsoft.jet.oledb.4.0; data source=
server.mappath(names.mdb)
set objrecord=server.createobject(adodb.recordset)
set objrecord=objconn.execute(insert into mydbdata(firstName)
According to the docs, it *is* supported.
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html#buttonMode
If you use the buttonMode property with the MovieClip class (which is a
subclass of the Sprite class), your button might have some added
functionality. If you
set objrecord=objconn.execute(insert into mydbdata(firstName)
values(' Request.QueryString(record) ')
_
PC Magazines 2007 editors choice for best Web mailaward-winning Windows
Live Hotmail.
Hah, yes, it does work, just need to addChild:
my_btn.addEventListener(MouseEvent.CLICK, myFunction);
my_btn.buttonMode = true;
function myFunction(event:MouseEvent):void {
//do something
}
addChild(my_btn);
jimbo
*** REPLY SEPARATOR ***
On 6/27/2007 at 7:14 AM Adam
Hi guys,
I'm developing a flash navigation project built in flex 2. The
navigation will be living in a wiki that was made using the Atlassian
Confluence platform. Anyone have any experience putting flash modules
in this platform. Any pitfalls? Things to watch out for?
Thanks for you help.
Didn't work. I posted the FLA in case anyone is bored and feels like taking
a look:
http://www.pasz.com/xfer/FinalAssets.zip
On 6/27/07, Jim Berkey [EMAIL PROTECTED] wrote:
Hah, yes, it does work, just need to addChild:
my_btn.addEventListener(MouseEvent.CLICK, myFunction);
my_btn.buttonMode
FFMpeg is what we use...
http://ffmpeg.mplayerhq.hu/
As seen on the starwars mashup site - http://mashup.starwars.com. The
StarWars.com logo watermark seen in all videos on this site is done
with ffmpeg.
Josh
On Jun 27, 2007, at 7:08 AM, flashcoders-
[EMAIL PROTECTED] wrote:
Hi,
I
funny, mine does . . . your setup looks the same?
http://jimbo.us/lab/buttonAs3.fla
http://jimbo.us/lab/buttonAs3.swf
*** REPLY SEPARATOR ***
On 6/27/2007 at 8:39 AM Adam Pasztory wrote:
Didn't work. I posted the FLA in case anyone is bored and feels like
taking
a look:
Jim,
The problem seems to be that each of my button states is a MovieClip. In
your version, the buttons states are just raw graphics and text the timeline
of the button. Do a convert to symbol on your graphics, and change each
button state into a MovieClip. The hit areas will no longer work.
Adam,
Please, it sees the archive in the URL:
www.leandroamano.com.br/files/button_as3.fla
best regards
On 6/27/07, Adam Pasztory [EMAIL PROTECTED] wrote:
Jim,
The problem seems to be that each of my button states is a MovieClip. In
your version, the buttons states are just raw graphics
You're right. Unfortunately, there are precious few examples in the flash docs
for simple designer-type actionscript - it's all Flex type class structure.
jimbo
*** REPLY SEPARATOR ***
On 6/27/2007 at 9:22 AM Adam Pasztory wrote:
Jim,
The problem seems to be that each of my
I am writing getCode for smaller numbers and everything works until two
numeric digits together are entered by the user:
this.onKeyDown = function() {
// 0 (frm 1)
if (Key.getCode() == 48){
this.gotoAndStop(1);
// 1 (frm 2)
} else if
Thanks for the once again for the advice. It has already proved useful.
Kind regards
James
On 6/19/07, Hans Wichman [EMAIL PROTECTED] wrote:
Hi,
i think i'd recommend 'code complete', 'the mythical manmonth', 'software
project survival guide', but that's just based on personal preference,
This works in ActionScript 3.0, too.
You should use Graphic instances for your button's states. Otherwise,
set the InteractiveObject.mouseEnabled properties of MovieClips for each
state to false.
_
Adam Pasztory wrote:
The problem seems to be that each of my button states is a
25 matches
Mail list logo