Re: [Flashcoders] Unwanted Irregular Angles with Graphics.lineTo

2009-06-05 Thread John Giotta
Ah! The scale mode = 'none' did it. Thank you Mr Pace.

On Thu, Jun 4, 2009 at 6:51 PM, Anthony Paceanthony.p...@utoronto.ca wrote:
 //using your co-ordinates, this works fine, with no weirdness that I can see

           this.graphics.lineStyle(1,0x33,1,true,'none');
           this.graphics.moveTo(4,0);
           // no need for this.graphics.lineTo(4,0); because you are already
 there
           this.graphics.lineTo(0,4);
           this.graphics.lineTo(0,11);
           this.graphics.lineTo(8,11);
           this.graphics.lineTo(8,4);
           this.graphics.lineTo(4,0);

 John Giotta wrote:

 This is probably a well known issue, but I'm probably out of the loop.

 I'm drawing a rather small shape with the draw API, but I'm getting
 odd pixel points.
 My shape:
 (4, 0), (0, 4), (0, 11), (8, 11), (8, 4), (4,0)

 Its basically a square with a steeple top. When drawn, the line from
 8, 4 to 4,0 actually looks like it starts from 7, 3 giving me a offset
 in my angle.

 Anyone know why this is?
 ___
 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


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


Re: [Flashcoders] Unwanted Irregular Angles with Graphics.lineTo

2009-06-05 Thread John Giotta
That's what I thought originally, but all my position tracing gives me
whole integers

On Fri, Jun 5, 2009 at 9:21 AM, Jer Brandthejhe...@gmail.com wrote:
 Really stupid question, but (I'm assuming you're doing this in a MovieClip)
 is the MovieClip you're drawing on have x and y in whole pixels
 (no decimal)?

 I've seen Flash really mangle lines (specially from lineTo) when they or
 their container was positioned on a fraction of a pixel.

 I'm still asleep so hope this makes sense...

 Jer
 ___
 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


[Flashcoders] Unwanted Irregular Angles with Graphics.lineTo

2009-06-04 Thread John Giotta
This is probably a well known issue, but I'm probably out of the loop.

I'm drawing a rather small shape with the draw API, but I'm getting
odd pixel points.
My shape:
(4, 0), (0, 4), (0, 11), (8, 11), (8, 4), (4,0)

Its basically a square with a steeple top. When drawn, the line from
8, 4 to 4,0 actually looks like it starts from 7, 3 giving me a offset
in my angle.

Anyone know why this is?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Rounded Polygons; rounded triangles

2009-05-15 Thread John Giotta
I've searched for polygon draw classes and functions, but I can't find
anything that can do rounded corner polygons. Anyone on the list come
across or written a decent set of code that can?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] regex in switch statement

2009-05-15 Thread John Giotta
This is very odd request. With switch... case, its only useful if you
have the same condition expression. Your regex example is a similar
expression, but no where the same. No I think you better off with
if...else in this matter.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Check for Full Screen Availability

2009-03-11 Thread John Giotta
I want to render the UI based on availability of features. One of them
is a full screen Button/Sprite that I want to not appear if
allowFullScreen is false.

Does anyone know of a way to check for full screen availability? I've
been scouring the interwebs for an answer, but no luck so far. Is it
just not possible?

- John G
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Check for Full Screen Availability

2009-03-11 Thread John Giotta
Can't, full screen can only be triggered via mouse input from the
end-user. (It was added to prevent screen hijacking)


On Wed, Mar 11, 2009 at 3:07 PM, Hans Wichman
j.c.wich...@objectpainters.com wrote:
 Hi,

 how about switching to full screen and back, and catching any security
 exceptions?
 If you can switch and back it is allowed, if a security exception occurs, it
 isn't

 greetz
 JC

 On Wed, Mar 11, 2009 at 6:34 PM, Glen Pike g...@engineeredarts.co.ukwrote:

 Aha, I see - don't think you can read this for some strange reason.  I had
 problems trying to get it working, probably part of the security thing.  I
 could not even get a context menu to do the same...

 Glen


 John Giotta wrote:

 Yes, Stage.displayState vs StageDisplayState.NORMAL or
 StageDisplayState.FULL_SCREEN, but its always NORMAL and I can only
 compare when full screen is the event for resize is called. Its a
 reactionary condition; I need the event first.

 I want to know if its possible from a security/capability stand point
 before the end-user has the chance request full screen.

 - John G

 On Wed, Mar 11, 2009 at 10:20 AM, Glen Pike g...@engineeredarts.co.uk
 wrote:


 John Giotta wrote:


 I want to render the UI based on availability of features. One of them
 is a full screen Button/Sprite that I want to not appear if
 allowFullScreen is false.

 Does anyone know of a way to check for full screen availability? I've
 been scouring the interwebs for an answer, but no luck so far. Is it
 just not possible?

 - John G
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





 I think there is a property on the Stage instance to get the state -
 compare
 to StageDisplayState constant values??
 ___
 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





 ___
 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


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


Re: [Flashcoders] Hi Flash Coders List, you were invited to join the gamer's social network

2009-01-07 Thread John Giotta
On Wed, Jan 7, 2009 at 5:54 PM, jdgiotta notificati...@playfire.com wrote:
 Hey Flash Coders List,

 Your friend jdgio...@gmail.com (jdgiotta) has invited you
 to join the new social network for gamers, Playfire.com.

 Click here to check it out: http://www.playfire.com/?rc=48b6b6387783ecc9

 At Playfire.com, you can:

 Create a killer profile to show off all your games
  (we have over 40,000 games in the database!)
 Add your friends and follow what they're playing
 Stay up to date with news, videos and sceenshots for the games you track
 Hang out with other gamers and have fun!
 It only takes a few minutes to sign up, so have a look now.

 Warm regards,

 Playfire Team


 UUMC Ltd., 19 Greek St., 1st Floor, London, UK, W1D 4DT
 ___
 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


Re: [Flashcoders] Hi Flash Coders List, you were invited to join the gamer's social network

2009-01-07 Thread John Giotta
I apologize for this really bad spam mistake.
It was completely unintentional, but someone thought it was a
brilliant idea to invite every contact in Gmail as a default feature.
If I knew it was going to do that I wouldn't have.

On Wed, Jan 7, 2009 at 5:54 PM, jdgiotta notificati...@playfire.com wrote:
 Hey Flash Coders List,

 Your friend jdgio...@gmail.com (jdgiotta) has invited you
 to join the new social network for gamers, Playfire.com.

 Click here to check it out: http://www.playfire.com/?rc=48b6b6387783ecc9

 At Playfire.com, you can:

 Create a killer profile to show off all your games
  (we have over 40,000 games in the database!)
 Add your friends and follow what they're playing
 Stay up to date with news, videos and sceenshots for the games you track
 Hang out with other gamers and have fun!
 It only takes a few minutes to sign up, so have a look now.

 Warm regards,

 Playfire Team


 UUMC Ltd., 19 Greek St., 1st Floor, London, UK, W1D 4DT
 ___
 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


[Flashcoders] Regions of JPEG into BitmapData

2008-11-12 Thread John Giotta
I'm trying to figure out how grab specified regions of a JPEG and draw
a Bitmap from them.
So if the user outlines a rectanglur area of the JPEG at say x=100, y=
35, width=90, height=20; I want to duplicate it into a Bitmap object.

I thought (but obviously wrong) that I use Matrix to translate position.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Regions of JPEG into BitmapData

2008-11-12 Thread John Giotta
I've tried:
bmd.draw(o_art, null, null, null, new Rectangle(10, 5, 90, 20));

Which I assumed would set my selection 10 pixels left, 5 pixels down,
90x20, but instead I get a rectangle of the right shape, but 10 pixels
to the left and 5 of the top is white.

- John G
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Regions of JPEG into BitmapData

2008-11-12 Thread John Giotta
The solution is Matrix.tx and Matrix.ty.

var mat:Matrix = new Matrix();
mat.tx = 10 * -1;
mat.ty = 5 * - 1;
bmd.draw(art, mat);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: Problems with Full Screen

2008-09-23 Thread John Giotta
I figured it out soon after sending this.
You can't trigger full screen from outside flash. It can only be
triggered by user input from within flash.

On Fri, Sep 19, 2008 at 3:04 PM, John Giotta [EMAIL PROTECTED] wrote:
 I'm working with a flash video player that is simliar to Youtube's
 chromeless video player. However, for some reason I continue to get
 SecurityError: Error #2152: Full screen mode is not allowed. even
 though allowFullScreen is set to true.

 public function interfaceFullScreen ():void
 {
if (stage.displayState == StageDisplayState.NORMAL) {
trace('normal to full');
stage.fullScreenSourceRect = new Rectangle(videoChild.x,
 videoChild.y, videoChild.width, videoChild.height);
try {
stage.displayState = StageDisplayState.FULL_SCREEN;
} catch (e:Error) {
trace(e);
}
} else {
stage.displayState = StageDisplayState.NORMAL;
}
 }

 I'm not sure if there is something happening here with the way the SWF
 embeds (javascript string to div innerHTML) or if I'm over looking
 something.

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


[Flashcoders] Problems with Full Screen

2008-09-19 Thread John Giotta
I'm working with a flash video player that is simliar to Youtube's
chromeless video player. However, for some reason I continue to get
SecurityError: Error #2152: Full screen mode is not allowed. even
though allowFullScreen is set to true.

public function interfaceFullScreen ():void
{
if (stage.displayState == StageDisplayState.NORMAL) {
trace('normal to full');
stage.fullScreenSourceRect = new Rectangle(videoChild.x,
videoChild.y, videoChild.width, videoChild.height);
try {
stage.displayState = StageDisplayState.FULL_SCREEN;
} catch (e:Error) {
trace(e);
}
} else {
stage.displayState = StageDisplayState.NORMAL;
}
}

I'm not sure if there is something happening here with the way the SWF
embeds (javascript string to div innerHTML) or if I'm over looking
something.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash on Wii

2006-12-29 Thread John Giotta

Off-topic, but has anyone experienced lock-ups when using the browser?
___
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] PSP XML tests

2006-10-09 Thread John Giotta

Juan,
Yes you will notice alot has been laxed on the PSP Flash Player.
I spent a few weeks testing, but I'm slowly discovering Mobile Flash is just
not robust enough (again).
___
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] JOB: BLITZ Agency

2006-08-18 Thread John Giotta

In-house required?
___
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] Possible Challenge: AS 3.0 Compiler :)

2006-08-06 Thread John Giotta

I think you're all just missing the point.

The challenge does have any rules to what is considered a compiler.
Even if you can just compile a SWF to trace Hello World is
ultimately a success.

We've already seen C64 emulator and script to encode PNG files, so why
can't a SWF compiler be created.

Oh and to answer the question of Why?... because.

Oh and I'm well aware of the free SDK, thanks.
___
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] Possible Challenge: AS 3.0 Compiler :)

2006-08-02 Thread John Giotta

It maybe too soon for anyone to have a full grasp on AMF or SWF specs
of an AS3.0 SWF but I wonder if its possible to create a crude
compiler from AS3.0.

AS3.0 ouroboros of sorts.
___
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 stops playing after undefined numbers of seconds (through firewall)

2006-07-20 Thread John Giotta

Are you stopping the Video after the NetStream.Play.Stop status code is
fired?
I ask because in most cases NetStream.Play.Stop will actually fire before
actual playback is done.
___
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] as3: weird package problem

2006-07-18 Thread John Giotta

Good find.
Sounds like a bug to me.
___
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] as3: weird package problem

2006-07-18 Thread John Giotta

This is pain in the arse now that I've gotten a simple example to work.
___
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] as3: weird package problem

2006-07-18 Thread John Giotta

Hey Meinte,
What I've just done is set the file and path then just lowercased the
drive letter.
Windows C: drive -
SET ASFILE=%~dp0TestClass.as
SET ASFILE=%ASFILE:C:\=c:\%

Then I just used %ASFILE% in the mxmlc call.

C:\Program Files\Flex SDK\bin\mxmlc.exe -benchmark=true
-creator=John Giotta -debug=true -file-specs %ASFILE%

- John

P.S. this is a hack since I'm dealing with C: drive on my machine. In
the meantime, I hope to find a better solution.
___
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] as3: weird package problem

2006-07-17 Thread John Giotta

This same problem had me puzzled too.
___
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] allownetworking?

2006-07-14 Thread John Giotta

I'm not familiar with it.
Is it a object parameter?
___
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] part of text is not visible...!

2006-07-14 Thread John Giotta

The only thing I can ask is if the textfield is wide enough in width
to display all text.

Flash 6 introduced the property TextField.autoSize making it easier to
adjust dynamic textfields width at runtime to compensate for value
text-width.

However, Flash 5, TextField.autoSize did not exist. So Textfields
created via IDE were locked to their predetermined text-width at
author time.
___
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] Flex 2 SDK

2006-07-07 Thread John Giotta

Thanks Jaco.
___
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] Unable to Connect to FCS 1.5 via AS 3.0

2006-07-06 Thread John Giotta

I can't seem to connect to FCS 1.5; I continue to recieve
NetConnection.Connect.Failed messages.

package {
import flash.display.Sprite;
import flash.net.NetConnection;
import flash.events.NetStatusEvent;
public class NetConnectionExample extends Sprite {
private var conn:NetConnection = new NetConnection();
static private var SERVICE_URI:String =
rtmp://fcads.mgnetwork.com/mgeneral/flash/ads/;

public function NetConnectionExample() {
conn.addEventListener(NetStatusEvent.NET_STATUS, 
onNetStatus);
conn.connect(NetConnectionExample.SERVICE_URI, false);
}
private function onNetStatus (event:NetStatusEvent) : void {
trace(event.info.code);
}
}
}

Am I missing something?
___
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: Unable to Connect to FCS 1.5 via AS 3.0

2006-07-06 Thread John Giotta

Worked it out.
conn.objectEncoding = ObjectEncoding.AMF0;
___
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] Dispatch method don't working

2006-07-04 Thread John Giotta
I wish I could replicate this for you today to test, but does you 
timeline goto onRelease too?


___
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] LocalConnection to multiple swfs

2006-07-03 Thread John Giotta

can they all
connect to the same LocalConnection object?

No. For every connection (send and receive) there must be a
localconnection object.
___
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] Flex 2 SDK

2006-07-03 Thread John Giotta
I'm looking for documentation on the compc.exe and fdb.exe tools that 
come with the Flex 2.0 SDK.


I've already seen some stuff regarding the mxmlc.exe, but that about it.
___
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] Q:Get name of referring class

2006-06-28 Thread John Giotta

Unless it's coded into the Class you can't, but you could use
instanceOf if you know what your looking for.

E.g.;
if (myClassObj instanceof Class) {
//...
}
___
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] Documentation of the XFactor's XPath class?

2006-06-27 Thread John Giotta

Start here

http://www.w3schools.com/xpath/default.asp
___
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] Cross Domain and ExternalInterface

2006-06-19 Thread John Giotta

Let me explain the setup first.
I have a SWF application and the JavaScript file on one domain.
I'm displaying the SWF and loading the JavaScript file on another domain.

The SWF registers callbacks to JavaScript methods, but when I try to
call the ActionScript methods from JavaScript it fails.

I receive a strange error from Firefox:
Error: uncaught exception: Error calling method on NPObject! [plugin
exception: Error in Actionscript. Use a try/catch block to find
error.].

I also receive this sandbox security violation:
*** Security Sandbox Violation ***
SecurityDomain 'http://wiki.domain.com/bin/view/IMDDocs/FLVDevShed'
tried to access incompatible context
'http://cfdev.domain.com/Staff/jgiotta/mgmediaplayer/mgmediaplayer.swf'

Is there any security issues I need to be aware of in order for this to work?
___
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] The Delegate class ...

2006-06-16 Thread John Giotta

I practically live by Delegate  EventDispatcher
___
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] ExteneralInterface and NetStreams

2006-06-14 Thread John Giotta

I've been developing a video player that has a built in API to allow
external communication (E.g.; JavaScript to Flash). But I've run into
a strange problem.

I can pass the FLV path to Flash from JavaScript and achieve
communication fine, but if I make any other callbacks to the
ExternalInterface during stream playback the stream abruptly stops.

I get no NetStream status events or NetConnection status events.
___
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: ExteneralInterface and NetStreams

2006-06-14 Thread John Giotta

Geez, its not the ExternalInterface at all. Its a whole new mystery...
___
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: ExteneralInterface and NetStreams

2006-06-14 Thread John Giotta

The problem was my NetStream declaration was local scope to a method
and for some reason any call I made to the singleton class just killed
the stream be cause the NetStream was trashed early.

I corrected it my making the NetStream object inherit to the singleton
class to keep it around throughout the stream.
___
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: [osflash] OS PSP RSS Reader

2006-05-08 Thread John Giotta

Built in.

On 5/8/06, Sajed Chowdhury [EMAIL PROTECTED] wrote:

Have you tried embedding fonts or are you using the builtin psp fonts?


-Sajed

On 5/6/06, John Giotta [EMAIL PROTECTED] wrote:
 I whipped up a RSS Reader for the PSP Flash Player in just 2 hours.
 It's open source so it's free anyone.
 One thing I've notice is that the performance for parsing an XML
 document is super slow and surprisingly XFactorStudios did the job
 quicker with my first integration.

 This is actually by first Mobile application, it proves very
 difficult when you're so use to full player support.

 So far RSS 2.0 is only supported.

___
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


Re: [Flashcoders] Focus Highlight with Components

2006-05-05 Thread John Giotta

Thanks elibol, but not it.

You'd have to see it for yourself if I'm not making any sense.

I have a Datagrid in on SWF and another SWF is loading it.
Whenever the ScrollBar of the Datagrid is focused, a light green halo
forms around the entire Datagrid. That's what I want gone.
___
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] automatic datagrid?

2006-05-05 Thread John Giotta

DataGrid.selectedIndex = x;

Will select the row 'x'.


On 5/5/06, Éric Thibault [EMAIL PROTECTED] wrote:

Is there a way to select without any user interaction the first line of
data inside a datagrid component and thus trigger the change event
(highlight, code on change event,...)?

Like the selectedNode of the tree component...

Thanks a million

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad http://www.rec.ulaval.ca/lce/securite/confidentialite.htm

___
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


Re: [Flashcoders] automatic datagrid?

2006-05-05 Thread John Giotta

You could also do:
DataGrid.dispatchEvent({type:change});

But this is a hack...
___
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] OS PSP RSS Reader

2006-05-05 Thread John Giotta

I whipped up a RSS Reader for the PSP Flash Player in just 2 hours.
It's open source so it's free anyone.
One thing I've notice is that the performance for parsing an XML
document is super slow and surprisingly XFactorStudios did the job
quicker with my first integration.

This is actually by first Mobile application, it proves very
difficult when you're so use to full player support.

So far RSS 2.0 is only supported.

Zip [http://jdgiotta.googlepages.com/PSPReader.zip]
___
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] Focus Highlight with Components

2006-05-03 Thread John Giotta

datagrid.rollOverColor = yourBackgroundColor;
datagrid.textRollOverColor = yourTextColor;


I want to get rid of the light green glow around the Datagrid when
ever the ScrollBar is focused.
Not the row roll over.
___
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] Focus Highlight with Components

2006-05-02 Thread John Giotta

Is there a way to remove the Focus highlight color on the Datagrid?
No matter what I've tried I still get a green focus color.
___
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] Flash Player 6 on PSP

2006-04-26 Thread John Giotta
An interesting feature supported by the PSP Flash Player is local SharedObjects.
I can flush data to a SOL, however, the data retention seems to be
session only. The SOL is already deleted when I revisit or refresh the
SWF.
___
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: Flash Player 6 on PSP

2006-04-26 Thread John Giotta
D-pad works for key capture.
Low quality does improve framerate slightly


On 4/26/06, Andreas Rønning [EMAIL PROTECTED] wrote:
 Did some testing this morning.

 1. Rendering looks like junk. Artifacts across the board, even when
 doing extremely simple tweens. Apparently bitmaps are less subject to
 this behavior though so that's a workaround.
 2. No real key events obviously. Every button on the device is spoken
 for aside from the one button that works like a mouseDown.
 3. no loadSound with streaming so far. I get memory issues with
 extremely agreeable mp3 sizes, so no radio streaming via flash player :(
 4. Bitmap rendering performance is comparable to an HP IPaq pda. Meaning
 it's okay, but punishes you like nothing if you don't treat it right.
 5. Decent math. I did some particle stuff with a lot of sin/cos and it
 did a lot better than my PDA. Then again my PDA is junk.

 Overall, so far, it's really underwhelming. I don't really know what
 good i can get out of it with the amount of artifacts and memory issues
 i've run into. The real nail in the coffin (for now) was the botched
 loadSound. I was really hoping i could make my own radio streaming
 client. I know someone pulled this off with RSS and itunes (i think),
 but still no continuous streaming service. Also, the lack of real key
 events makes the input limited to click/drag type stuff.

 If anything, it feels as limiting if not more so than Flash player for
 windows mobile.

 - Andreas

 John Dowdell wrote:
  judah wrote:
  quote:
  There are quite a few updates in this release [PSP Firmware 2.7] so
  hold on to your hats as we take you down the rabbit hole. To break
  the ice we start off with a few networking updates, notably the
  largest update would be including partial Flash 6 support. Flash
  support is a great way to add a few games and movies to your PSP
  collection on the go, the only noteable issue with integrated Flash
  support is that some functions are not supported in addition to the
  obvious fact that Flash 6 is somewhat outdated.
 
  There is no more info about what functions are not support...
 
  I saw that too, and am trying to get more info as well. Things I know
  so far:
 
  --  available RAM is tight
  --  processor is also a bit less than computer-sized
  --  we need info on which SWF6 features are not supported in Sony engine
  --  there's also the range of webdesign considerations:
  http://www.brothercake.com/site/resources/reference/psp/
 
  jd
 
 
 
 
 

 ___
 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


Re: [Flashcoders] Reccomended practices for overiding events dispatched with onEvent handlers

2006-03-22 Thread John Giotta
Use EventDispatcher.
___
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] OT: PSP getting the Flash Player this spring!

2006-03-16 Thread John Giotta
Version 6 isn't to bad, but a few my ideas may have to downgraded ;-)
___
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] OT: PSP getting the Flash Player this spring!

2006-03-16 Thread John Giotta
ActionScript 2.0 was introduced in Flash Player 7 or Flash MX 2004

On 3/16/06, JesterXL [EMAIL PROTECTED] wrote:
 Hey, at least we get AS2 with 6.  That's better than friggin Flash Lite 1.1
 with Flash 4 syntax.

 - Original Message -
 From: John Giotta [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Thursday, March 16, 2006 1:07 PM
 Subject: Re: [Flashcoders] OT: PSP getting the Flash Player this spring!


 Version 6 isn't to bad, but a few my ideas may have to downgraded ;-)

 ___
 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


Re: [Flashcoders] crosspost: update your flash-players immediately

2006-03-15 Thread John Giotta
Anyone know if this posses a threat for Flash Player 8.5?
___
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] Stop the stream!

2006-03-11 Thread John Giotta
Is this in IE only?
I've had the same thing, but only in IE. There still seems to be a
audio artifact on some IE installs on 1 or 2 PCs in my office
running Windows.
___
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] Please Help -- No Files in Flash Explorer

2006-03-06 Thread John Giotta
Have you tried contacting PowerFlasher with this problem?
___
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] Microsoft Internet Explorer update and consequences for Flash

2006-03-03 Thread John Giotta
We've been running IE 7 Beta in our labs and we not experiencing any
requirements to activate the ActiveX.

Our experiments use the normal object/embed code approach and also the
FlashObject (http://blog.deconcept.com/flashobject/) approach. Yet, we
still haven't had a case where the activation was necessary.
___
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] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
Hello all,
I'm looking for a tool that can inject a line code to the first frame of a SWF.

Basically, our advertising department gets SWF ads from a 3rd party
designer and a specific _level0 variable needs to be set in order for
the clickthrough to work.

If anyone has a method or tool to do this it would be much appreciated.
___
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] dispatching events at creation time?

2006-02-16 Thread John Giotta
I've done it the same you have, but it only worked correctly in IE.

Basically, I was replacing the MovieClip.onLoad, but when I tested in
Firefox it never happened.
___
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 Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
FlashVars is what we're using to set the clickthrough URL, however,
the ads system is predefined to set the variable to clickTAG and some
designers have been referring to the variable as clickTag.

clickTag doesn't equal clickTAG... so I thought I could run an
injection script to just insert a line to correct any variable name
misspellings.
___
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] dispatching events at creation time?

2006-02-16 Thread John Giotta
 You can dispatch a Event at creation time, but no listener can listen to
 this event at creation time ;-)

Yeah that would help.
___
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 Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
I could, but the way the Ads System delivers the SWF we don't actually
control the output.

The SWF is registered to the system and is delivered with a predefined
HTML template.
___
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 Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
 Moreover, you get :
 KineticFusion
 Flasm
 swfcombine and  from swftools

Thanks erixtekila, I'll check those out.
___
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 Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
 I think in this case you need to teach a man to fish.

LOL

I'm not in the business of ultimately educating them all. I'm a 1st
party developer and I simply get bugged way too much to diagnose the
SWFs.
___
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 Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
 A simple method would just be to load it into host .swf, and then put
 the code in the host clip and target the loaded instance.


I'm considering that as an alternative.
___
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 Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
 A simple method would just be to load it into host .swf, and then put
 the code in the host clip and target the loaded instance.


I'm considering that as an alternative.
___
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] Articles on accessing actionscript through js

2006-02-16 Thread John Giotta
ExternalInterface in Flash 8 works real well.

Plus, check out AFLAX http://osflash.org/aflax
___
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] don't think this is possible - 100% of variable height table cell

2006-02-15 Thread John Giotta
That is kind of backwards... if you where just looking to fill a cell
you just set the width to 100%, but you have your reasons.

I suggest using JavaScript to write the Flash element to the cell with
HTMLElement.innerHTML or better yet FlashObject
http://blog.deconcept.com/flashobject/

However, the trick is knowing the height of cell... I'm not sure if
this is possible at runtime if the property isn't already defined in
the tag.
___
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] Stream Audio Still Playing in IE

2006-02-14 Thread John Giotta
I remember this being a problem way back in the day but I thought it
was fixed in a player revision.

I was demoing a Video player to a manager yesterday and when he
clicked the back browser button the audio from the FLV stream was
still being heard. Only after he clicked anywhere else on the page did
it finally cease. He was using IE 6.0 on WinXP Pro SP2.

Has anyone experienced this on the rare occasion.
___
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] Stage.width not working in IE

2006-02-12 Thread John Giotta
Perhaps Lanny's suggestion will work, but may not work with a single frame SWF.
The problem resides in how the Flash Player is initiatated on first
render. Basically the ActionScript is being interpreted faster than
the visuals are rendered (which includes the scene).

I've gotten to understand this and I have adopted a way of
initializing all the Stage parameters first then initializing the
elements. And lastly, I actually call the onResize method for good
measure because in some instances first render does not trigger a
resize event.
___
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] Tool to Create Multiple FLV Files from One

2006-02-10 Thread John Giotta
Hey all,
A few months back I saw a flash blog mentioning a tool that will split
a FLV file into multiple files via command line and timecode does
anyone have a link?

Thanks
___
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] Background transparent ? is it possible

2006-02-10 Thread John Giotta
WMODE parameter is also useful for HTML layering.
___
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] video weirdness

2006-02-08 Thread John Giotta
I wouldn't be the Delegate class.

I'd like to help, but do you have something I can visualize?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FLV Encoders

2006-02-03 Thread John Giotta
Just as a note. I heard from a co-worker yesterday that Sorenson
Squeeze's price jumped $100 USD
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FLV Encoders

2006-01-27 Thread John Giotta
I've heard mixed feelings about all the products.
We've used Squeeze at my company for the past year, but now I'm
hearing the Flix Pro is good too.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FLV Encoders

2006-01-27 Thread John Giotta
;-)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Lines of code in a Flash project

2006-01-27 Thread John Giotta
Eric, Ha! That's me :)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Event Bubbling Techniques

2006-01-26 Thread John Giotta
I've been checking out some the discussions about Event Bubbling on
Ralf Bokel's blog, but I can't seem to get it work in my attempts.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Fav XML editor

2006-01-26 Thread John Giotta
Eclipse :)
Of course, I use Eclipse for ColdFusion, JavaScript, ActionScript,
CSS, HTML, PHP etc.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] xml whitespace problem

2006-01-24 Thread John Giotta
I've never seen that before. How is the XML being generated? Manual or dynamic?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] xml whitespace problem

2006-01-24 Thread John Giotta
I suspect it's some unwarranted charset sticking some unknown line breaks.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 - FP9 - Flex2 - Flash9

2006-01-23 Thread John Giotta
I think Abode is probably going to release Flash Player 8.5 way before Flash 9.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OnLoadStart

2006-01-16 Thread John Giotta
Well, depending what Patrick is trying to do. onLoadInit would not work.
onLoadInit is fired when the loaded contents first frame is played.
onLoadInit is actually fired after the onLoadComplete event.

onLoadStart is fired right after you call the MovieClipLoader.loadClip() method.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] How to Handle Licensing for Flash Applications

2005-12-20 Thread John Giotta
Hello all,
I'm looking for some information regarding licensing and how to apply
some anti-piracy measures for Flash.

I was recently approached to build a rather robust enterprise
application and I'd like to protect the code from redistribution
without consent.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Phantoming in List Component

2005-12-14 Thread John Giotta
Ok, I understand what your saying about setValue being called with
every change to the List, but now I'm having problems with my
thumbnail icons disappearing.

I basically what to build a CellRenderer that allows me to load
external JPEGs as the cell icon.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Phantoming in List Component

2005-12-14 Thread John Giotta
This tutorial on ActionScript.com helped alot!
http://www.actionscript.com/index.php/fw/1/displaying-images-in-a-datagrid-utilizing-a-cell-renderer/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Lightweight List Component

2005-12-13 Thread John Giotta
Ah I see now, thanks again ;-)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Phantoming in List Component

2005-12-13 Thread John Giotta
I created a custom cell renderer for the List component to allow icons
to be external thumbnails. However, I'm getting some strange
phantoming. Basically, an image will appear at the bottom of the List
that I didn't add from the dataprovider.

private var iconLoader:MovieClipLoader;
private var _tLabel:TextField;
private var _mIcon:MovieClip;
private var iconLoaded:Boolean = false;
private var owner:MovieClip;
private var listOwner;
private var getCellIndex:Function;
private var getDataLabel:Function;
private var _style:TextFormat;
private var _borderMC_:MovieClip;
public function PlayListCellRender() {
iconLoader = new MovieClipLoader();
iconLoader.addListener(this);
createEmptyMovieClip(_borderMC_, 1);
createEmptyMovieClip(_mIcon, 2);
createTextField(_tLabel, 3, 0, 0, 200, 20);
_tLabel.autoSize = left;
_tLabel.selectable = false;
}
private function onLoadInit (target:MovieClip) {
iconLoaded = true;
_tLabel._x = target._width;
_tLabel.setTextFormat(_style);
_tLabel.setNewTextFormat(_style);
}
public function getPreferredWidth():Number {
return owner.__width;
}
public function getPreferredHeight():Number {
return owner.__height;
}
public function setSize(nWidth:Number, nHeight:Number):Void {}
public function setValue(sLabel:String, oItem:Object, 
sState:String):Void {
_tLabel.text = sLabel;
var nIndex:Number = getCellIndex().itemIndex;
var sIcon:String = 
listOwner.dataProvider.getItemAt(nIndex).icon;
_style = listOwner._getTextFormat();
_style.bold = true;
if (sIcon) {
if (!iconLoaded) iconLoader.loadClip(sIcon, _mIcon);
} else {
_tLabel.setTextFormat(listOwner._getTextFormat());
_tLabel.setNewTextFormat(listOwner._getTextFormat());
}
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash 8 IDE crashes

2005-12-13 Thread John Giotta
I can't say that I have, but I get what you describe from allot of
applications not just Flash 8. :-p
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Lightweight List Component

2005-12-12 Thread John Giotta
Hey chall3ng3r,
Thanks, but I don't see the component you speak of.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Mimic a GIF for SWF Background

2005-12-09 Thread John Giotta
I have a GIF that I'd like to duplicate as my SWF tiled background.
However, I'm not having to much luck with it. Are there any decent
tutorials for BitmapData?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Lightweight List Component

2005-12-09 Thread John Giotta
I've seen some List Components that claim to be lightweight, but are
they are still too large after compile.

I'm looking for more component resources, can everyone help?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] List Component --- Multiline

2005-12-09 Thread John Giotta
You will have to use a Custom Cell Renderer.
Here is a simple tutorial:
http://www.communitymx.com/content/article.cfm?cid=B4AED
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] List Component

2005-12-07 Thread John Giotta
@Al: Thanks for the tip! If all else fails.
@Ryan: Can you point me to one of those tutorials?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] List Component

2005-12-02 Thread John Giotta
The List Component allows you to set linked symbols as Icons for each list item.

I'm looking to use external thumbnails as my icons, but it tends to
prove difficult due to the nature of how these symbols are attached.

Does anyone know if I'm able to retrieve the 'icon' path and perhaps
with some class registration set the content to load a thumbnail?

Ideally, I'd like to able to say
List.ListItem.icon.loadThumbNailSrc(), just of course not in so many
dot notations.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Tile Bitmap

2005-12-01 Thread John Giotta
I saw a Flash 8 example that will allow you to draw a small bitmap and
then tile it.

Was this done with BitmapData.clone? I'd like some pointers if anyone
could help out.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] LocalConnection

2005-11-18 Thread John Giotta
Can't you just propagate a session on the user?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] End of flv playback event

2005-11-17 Thread John Giotta
Is it better to cut your video to whole seconds?

Well, that may not be as easy as it sounds. Specially in my case, I
have to deal with 3 dozen production staff members all producing video
each day across the south-eastern united states.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] End of flv playback event

2005-11-16 Thread John Giotta
I've been wondering the same thing.
I've done several different variations too.

I first tried to Floor the NetStream.time and duration, but if the
duration is 5.3 seconds and the playhead stopped at 4.99 you end up
with a 5 on 6 comparison.

I then tried to obtain the percentage which did work 100% of the time.

Now I'm using:
var lastPlayheadPosition = NetStream.time;
Math.round(Math.ceil(lastPlayheadPosition)/metadata.duration*100) = 100;

But I'm worried about clipping or premature stopping.

The only other way I've thought was to evaluate the NetStream.time
against it's previous value and if it doesn't have any change in 4
evals then assume end, but I also have to take in account of
buffering.

I can't help but think there is some algorithm that would produce a
valid end point.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] End of flv playback event

2005-11-16 Thread John Giotta
In my experience it doesn't work.
NetStream.Play.Stop is fired much to early in the streaming video.

The other method that I use is to first listen for
NetStream.Buffer.Flush followed by NetStream.Buffer.Empty, but
NetStream.Buffer.Flush is new to Flash Player 8.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] End of flv playback event

2005-11-16 Thread John Giotta
Not sure to tell you truth.
From http://www.kaourantin.net/2005/08/from-12-to-24-layers-and-other.html

The NetStream object now sends NetStream.Buffer.Flush status
messages when the buffer is being emptied, f.ex. when you reach the
end of a file. This is helpful especially if videos are shorter than
the buffer time you selected. In this case the NetStream.Buffer.Full
message was never send making it difficult to build UIs around it.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FLV playing inside component

2005-11-09 Thread John Giotta
I've never had a problem with Filters and video panes.
Can you pass a value to the NetStream.play method start argument?

my_ns.play(__videoPath, 1);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  1   2   >