Re: [Flashcoders] Making dynamic text look the same as static text

2008-09-19 Thread Christoffer Enedahl

You need to embed the font. Google it

Alan Neilsen skrev:

I have found that when I call text into a dynamic text field from a variable, 
it does not look the same as the text in a static text field set with the same 
font, size, etc. The text in the dynamic text field appears with no anti-alias, 
emboldening or italics, even though I have set those properties for that 
dynamic text field. Can anyone advise how I make those properties work for a 
dynamic text field?

Alan Neilsen
E-delivery Resources Developer
Goulburn Ovens Institute of TAFE
Wallis Street
Seymour, Vic. 3660
Phone: 0357352466
Mobile: 0437355688

* Please consider the environment when deciding whether or not to print this 
email.


This message is for the named person’s use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or; lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify
the sender. You must not directly or indirectly, use, disclose,
distribute, print or copy any part of this message if you are not the
intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
any of its subsidiaries each reserve the right to monitor all e-mail
communications through its networks. Any views expressed in this
message are those of the individual sender, except where the
message states otherwise and the sender is authorised to state them
to be the views of any such entity.

#
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal

#
___
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] Making dynamic text look the same as static text

2008-09-19 Thread Marc Hoffman
Furthermore, you have to separately embed each font face that you're 
using (regular, bold, italic).


At 11:46 PM 9/18/2008, Christoffer Enedahl wrote:


You need to embed the font. Google it

Alan Neilsen skrev:
I have found that when I call text into a dynamic text field from a 
variable, it does not look the same as the text in a static text 
field set with the same font, size, etc. The text in the dynamic 
text field appears with no anti-alias, emboldening or italics, even 
though I have set those properties for that dynamic text field. Can 
anyone advise how I make those properties work for a dynamic text field?


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


[Flashcoders] Payment processing in Flash?

2008-09-19 Thread Henry Cooke
Hey all,

We're working on a site for a charity in which we want to build a
really quick, streamlined donation process - basically, a user sticks
their credit card details and email address into a simple form in our
Flash site, we process the transaction in the background and the UX
continues in our site.

Now, leaving aside for a second the potential complications there
(transaction failiure, security etc), does anyone know if any of the
big payment processing services provide an interface through which
something like this can be done?

We're hoping to present the UI for the entire payment process in our
(Flash) site without linking off to someone else's forms.

Any pointers would be helpful. I've been poking through the PayPal
docs this morning, which look promising, but they're a bit of a
tangled mess...

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


[Flashcoders] Flash CS3 Remote Debugging

2008-09-19 Thread Nicholas Cartwright
I'm trying to get remote debugging with CS3 but failing. Here's what I'm
doing:

 

Step 1: New FLA with actions creating Timer  TextField that updates every
second

Step 2: Save FLA in same directory as Flash (just for testing purposes)

Step 3: Check 'Permit debugging' in publish settings

Step 4: Publish FLA

Step 5: Debug - Begin Remote Debug Session - Actionscript 3.0 

 

At this point the Debug Console window and the Variables window appears, and
a message comes up in Flash IDE Output panel: Waiting for Player to
connect...

 

Step 6: Open swf with FlashPlayer.exe

or

Step 6: Open swf in Internet Explorer 7 (debug flash player)

 

Nothing happens in the IDE after Step 6.

 

What I'm doing wrong?

 

Cheers, Nicholas

 

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


RE: [Flashcoders] Making dynamic text look the same as static text

2008-09-19 Thread Keith Reinfeld
Alan, 

Review the help docs under textfield and textformat. Make sure you
understand the difference between textfield properties and textformat
properties and how they are set. 

Regards, 

-Keith 
http://keithreinfeld.home.comcast.net
 


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


Re: [Flashcoders] Payment processing in Flash?

2008-09-19 Thread Meinte van't Kruis
I'm not sure about this one, but couldn't you just make the form in flash
yourself and just
post the same variables to the service, which the usual HTML foms also post.
You could just
peek in the HTML form, check out the variables which it will send and
simulate that behaviour in flash.

Transaction failure, secury etc is something the service itself is
responsible for. If you can ask the party
in question what kind of responses you can receive, than you could also
handle these in flash.

On Fri, Sep 19, 2008 at 11:38 AM, Henry Cooke 
[EMAIL PROTECTED] wrote:

 Hey all,

 We're working on a site for a charity in which we want to build a
 really quick, streamlined donation process - basically, a user sticks
 their credit card details and email address into a simple form in our
 Flash site, we process the transaction in the background and the UX
 continues in our site.

 Now, leaving aside for a second the potential complications there
 (transaction failiure, security etc), does anyone know if any of the
 big payment processing services provide an interface through which
 something like this can be done?

 We're hoping to present the UI for the entire payment process in our
 (Flash) site without linking off to someone else's forms.

 Any pointers would be helpful. I've been poking through the PayPal
 docs this morning, which look promising, but they're a bit of a
 tangled mess...

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




-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] RE: Optimising file size - stripping down

2008-09-19 Thread SJF
Yes he was building components at the time, so maybe I have my wires
crossed.

Anyway, ignore the thread so far, what I would like to know is whether it's
possible to strip out methods/capabilities from flash classes - for example,
and to name a few, I don't need any of the following methods in any of my
classes that extend Sprite:

getObjectsUnderPoint
propertyIsEnumerable
areInaccessibleObjectsUnderPoint

So does anyone know if it's worth stripping down classes to the bare minimum
- for optimization and player performance.

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


Re: [Flashcoders] RE: Optimising file size - stripping down

2008-09-19 Thread Ian Thomas
As I said, those are intrinsics and native to the Flash Player -
therefore unstrippable, as they're not compiled into your .swf file
anyway.

To repeat - i) you can't strip them and ii) there's no point in
stripping them, as they don't add to your filesize.

Ian

On Fri, Sep 19, 2008 at 4:10 PM, SJF [EMAIL PROTECTED] wrote:
 Yes he was building components at the time, so maybe I have my wires
 crossed.

 Anyway, ignore the thread so far, what I would like to know is whether it's
 possible to strip out methods/capabilities from flash classes - for example,
 and to name a few, I don't need any of the following methods in any of my
 classes that extend Sprite:

 getObjectsUnderPoint
 propertyIsEnumerable
 areInaccessibleObjectsUnderPoint

 So does anyone know if it's worth stripping down classes to the bare minimum
 - for optimization and player performance.

 Cheers. SJF.
 ___
 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] Payment processing in Flash?

2008-09-19 Thread Alain Rousseau

Usually there are two ways of handling payement,

first is the hosted pay page, which means the payment is done through de 
payment processing website, not on yours.
The second, and I presume you want that one, is done all on the 
merchant's server. This requires you to buy an SSL key,
have your flash form through https (otherwise they won't accept dealing 
with you). Otherwise it's just communicating with their server
with POST. You'd have to look at the API of the service you want to use 
to know wich variables are sent back to you, and which are required from 
you.


I'm currently working on a site that uses Moneris, here are a few links 
to see what goes on :

https://www3.moneris.com/connect/en/index.html
https://www3.moneris.com/connect/en/process/index.html
https://www3.moneris.com/connect/en/documents/index.html

and to do some tests :

https://esqa.moneris.com/mpg/index.php?u=DemoUserp=passwords=store2

Store IDstore5

User ID demouser

Password password

Anyway you should read the documents they provide, everything is in there.
I'm pretty sure the basic processes are the same elsewhere, just the 
variables that differ.


Hope this helps


Meinte van't Kruis wrote:

I'm not sure about this one, but couldn't you just make the form in flash
yourself and just
post the same variables to the service, which the usual HTML foms also post.
You could just
peek in the HTML form, check out the variables which it will send and
simulate that behaviour in flash.

Transaction failure, secury etc is something the service itself is
responsible for. If you can ask the party
in question what kind of responses you can receive, than you could also
handle these in flash.

On Fri, Sep 19, 2008 at 11:38 AM, Henry Cooke 
[EMAIL PROTECTED] wrote:

  

Hey all,

We're working on a site for a charity in which we want to build a
really quick, streamlined donation process - basically, a user sticks
their credit card details and email address into a simple form in our
Flash site, we process the transaction in the background and the UX
continues in our site.

Now, leaving aside for a second the potential complications there
(transaction failiure, security etc), does anyone know if any of the
big payment processing services provide an interface through which
something like this can be done?

We're hoping to present the UI for the entire payment process in our
(Flash) site without linking off to someone else's forms.

Any pointers would be helpful. I've been poking through the PayPal
docs this morning, which look promising, but they're a bit of a
tangled mess...

Cheers,
h
___
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] RE: Optimising file size - stripping down

2008-09-19 Thread Paul Andrews
- Original Message - 
From: SJF [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Friday, September 19, 2008 4:10 PM
Subject: [Flashcoders] RE: Optimising file size - stripping down



Yes he was building components at the time, so maybe I have my wires
crossed.

Anyway, ignore the thread so far, what I would like to know is whether 
it's
possible to strip out methods/capabilities from flash classes - for 
example,

and to name a few, I don't need any of the following methods in any of my
classes that extend Sprite:

getObjectsUnderPoint
propertyIsEnumerable
areInaccessibleObjectsUnderPoint

So does anyone know if it's worth stripping down classes to the bare 
minimum

- for optimization and player performance.


It's not something I have ever done. I can't imagine why it would give you 
much (if anything). WHat it would do is make your classes less flexible for 
the future and focussing on things that give you such small gains takes 
attention away from the bigger picture.


My understanding is that if you have 50,000 instances of ClassA, stripping 
out 3 methods from ClassA doesn't save you 50,000 x memory used by those 
methods (if you never call them). You'll just save a bit of memory in the 
class description, that's all.


Paul



Cheers. SJF.
___
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] RE: Optimising file size - stripping down

2008-09-19 Thread Paul Andrews


- Original Message - 
From: Paul Andrews [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, September 19, 2008 4:34 PM
Subject: Re: [Flashcoders] RE: Optimising file size - stripping down


- Original Message - 
From: SJF [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Friday, September 19, 2008 4:10 PM
Subject: [Flashcoders] RE: Optimising file size - stripping down



Yes he was building components at the time, so maybe I have my wires
crossed.

Anyway, ignore the thread so far, what I would like to know is whether 
it's
possible to strip out methods/capabilities from flash classes - for 
example,

and to name a few, I don't need any of the following methods in any of my
classes that extend Sprite:

getObjectsUnderPoint
propertyIsEnumerable
areInaccessibleObjectsUnderPoint

So does anyone know if it's worth stripping down classes to the bare 
minimum

- for optimization and player performance.


It's not something I have ever done. I can't imagine why it would give you 
much (if anything). WHat it would do is make your classes less flexible 
for the future and focussing on things that give you such small gains 
takes attention away from the bigger picture.


My understanding is that if you have 50,000 instances of ClassA, stripping 
out 3 methods from ClassA doesn't save you 50,000 x memory used by those 
methods (if you never call them). You'll just save a bit of memory in the 
class description, that's all.


Paul


I should add that I really had in mind stripping down classes generally. As 
has been said elsewhere (and caused me a Doh! moment) standard classes are 
built into the player so there's absolutely nothing to be gained at all.


Paul






Cheers. SJF.
___
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] Zipping in AS3

2008-09-19 Thread Claus Wahlers

Mac Angell wrote:


Hey everyone! I'm trying to find a solid zip/unzip library for AS3. I've
done some testing with both FZip and AS3 Zip, and I've been running into
problems with both. So I'm wondering if there are any others out there
that anyone knows about that have been tested extensively. Or if any of
you know of any applications/sites that use FZip or AS3 Zip that I could
see a demo/source code of, that might help me get over some hurdles as
well.


What's your problem with FZip?

Cheers,
Claus.
http://codeazur.com.br/


___
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