Re: [Flashcoders] FileReference and mac file types

2006-10-29 Thread Carl Welch

Thanks guys. First I tried setting the mac file types to tink's list
(ie: macType:"MPG3;MP3_;Mp3_;MPEG"). Didn't work. Then I read Josh's
page and he suggested not putting any mactype... It worked. Sweet.

Thanks again.

On 10/29/06, John VanHorn <[EMAIL PROTECTED]> wrote:

heres another good article:
http://www.joshbuhler.com/2006/05/30/mac-file-types-one-more-thing/

On 10/29/06, Carl Welch <[EMAIL PROTECTED]> wrote:
>
> I have an project that needs to allow users to only upload mp3 files.
> It works fine on a PC. But on a mac the mp3 files are greyed out and
> the user is unable to select a file. Here is my code below: What am I
> missing?
>
>
> var fileRef:FileReference = new FileReference();
> fileRef.addListener(listener);
> browse.onRelease = function() {
> upload.enabled = true;
> fileRef.browse([{description:"Audio files", extension:"*.mp3",
> macType:"mp3"}]);
> };
>
>
> Thanks for your help...
> --
> Carl Welch
> http://www.carlwelch.com
> [EMAIL PROTECTED]
> 805.403.4819
> ___
> 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
>



--
John Van Horn
[EMAIL PROTECTED]
___
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




--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: Re: [Flashcoders] CSS question..

2006-10-29 Thread grimmwerks

Thanks Alain - one more question.

I'm trying to have a way for a client to change the styles of text
using CSS; originally I thought CSS killed an inputText, but it still
seems to work. But I'm unsure how best to grab the text, assign   around the text and throw it back...
___
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: CSS locks input text?

2006-10-29 Thread grimmwerks

Crud; trying to code around this, but it seems that once you apply css
to a textfield you can no longer input text.

This KILLS someting I'm working on.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] FileReference and mac file types

2006-10-29 Thread John VanHorn

heres another good article:
http://www.joshbuhler.com/2006/05/30/mac-file-types-one-more-thing/

On 10/29/06, Carl Welch <[EMAIL PROTECTED]> wrote:


I have an project that needs to allow users to only upload mp3 files.
It works fine on a PC. But on a mac the mp3 files are greyed out and
the user is unable to select a file. Here is my code below: What am I
missing?


var fileRef:FileReference = new FileReference();
fileRef.addListener(listener);
browse.onRelease = function() {
upload.enabled = true;
fileRef.browse([{description:"Audio files", extension:"*.mp3",
macType:"mp3"}]);
};


Thanks for your help...
--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819
___
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





--
John Van Horn
[EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] FileReference and mac file types

2006-10-29 Thread John VanHorn

the mac file type for an mp3 will be (note the spaces in the strings - mac
file types are 4 characters) "MP3 " or "Mp3 ".i think. mac file types
and pc file types are not the same.

check this article: http://www.tink.ws/blog/macintosh-file-types/

i did some stuff with FileReference a while back and concluded that it was
easier, and maybe safer to take the name, or type property of a
FileReference object and do a toLowerCase().indexOf("mp3") on that to ensure
the right file types.

On 10/29/06, Carl Welch <[EMAIL PROTECTED]> wrote:


I have an project that needs to allow users to only upload mp3 files.
It works fine on a PC. But on a mac the mp3 files are greyed out and
the user is unable to select a file. Here is my code below: What am I
missing?


var fileRef:FileReference = new FileReference();
fileRef.addListener(listener);
browse.onRelease = function() {
upload.enabled = true;
fileRef.browse([{description:"Audio files", extension:"*.mp3",
macType:"mp3"}]);
};


Thanks for your help...
--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819
___
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





--
John Van Horn
[EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] FileReference and mac file types

2006-10-29 Thread Muzak

http://www.google.com/search?hl=en&q=filereference+mactype&meta=

http://www.tink.ws/blog/macintosh-file-types/
http://www.joshbuhler.com/2006/05/30/mac-file-types-one-more-thing/

regards,
Muzak

- Original Message - 
From: "Carl Welch" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Monday, October 30, 2006 5:35 AM
Subject: [Flashcoders] FileReference and mac file types


>I have an project that needs to allow users to only upload mp3 files.
> It works fine on a PC. But on a mac the mp3 files are greyed out and
> the user is unable to select a file. Here is my code below: What am I
> missing?
>
>
> var fileRef:FileReference = new FileReference();
> fileRef.addListener(listener);
> browse.onRelease = function() {
> upload.enabled = true;
> fileRef.browse([{description:"Audio files", extension:"*.mp3",
> macType:"mp3"}]);
> };
>
>
> Thanks for your help...
> -- 
> Carl Welch


___
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] CSS locks input text?

2006-10-29 Thread grimmwerks

Is this true? I'm changing over from textFormatting to CSS and now my
inputText no longer works...
___
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] Looking for a good FlexCoders list

2006-10-29 Thread Bjorn Schultheiss
I'm sorry.
My Rules in outlook moved the post into my flexcoders folder and i thought
the post was sent to the Flexcoders mailing list.

Go Flexcoders :)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn
Schultheiss
Sent: Monday, 30 October 2006 3:09 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Looking for a good FlexCoders list

Is he serious?
Or are we misinterpreting the question?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Sunday, 29 October 2006 4:04 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Looking for a good FlexCoders list

Erhm, FlexCoders maybe? ;-)

http://tech.groups.yahoo.com/group/flexcoders/
flexcoders@yahoogroups.com

regards,
Muzak

- Original Message - 
From: "Troy Rollins" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Saturday, October 28, 2006 6:55 PM
Subject: [Flashcoders] Looking for a good FlexCoders list


> Recommendations? URL for signup?
>
> TIA.
> --
> Troy


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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] FileReference and mac file types

2006-10-29 Thread Carl Welch

I have an project that needs to allow users to only upload mp3 files.
It works fine on a PC. But on a mac the mp3 files are greyed out and
the user is unable to select a file. Here is my code below: What am I
missing?


var fileRef:FileReference = new FileReference();
fileRef.addListener(listener);
browse.onRelease = function() {
upload.enabled = true;
fileRef.browse([{description:"Audio files", extension:"*.mp3",
macType:"mp3"}]);
};


Thanks for your help...
--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819
___
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] another CSS / htmlText question

2006-10-29 Thread grimmwerks

Got another CSS/htmlText flash question.

What I've been working with is this:

I've got a screen layout program that allows the client to select
background images, and how many columns they want. Then, when any
column is selected they get a live input textbox they can put in the
text they want for that column. They can select a section of text they
want to apply a style. I've got all this working fabulously - ie even
with the focus going off because of the combobox.

What I'm doing is calling a function that gets the begin..endIndex of
the textbox and applies the chose textFormat by setNewTextFormat; it
then sends the changed htmlText to the screen's textbox.

Well, now I want to change to CSS rather than saving the styles (which
will allow me to change things later).

I want to be able to select the text ie 'bob says hi' and add the
selected CSS stylename such as

txt = " + selectedTextString + "".

This is all easy to do the first time - the selected section gets
replaced with this and the htmlText gets set. But since the preview
box can have OTHER htmlText -- well, if I'm getting the string based
on the TEXT of a member; how can I get the correct offset from the
htmlText of a member? do a substring with the actual selected string?
Is that the only way?
___
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 Combobox ...

2006-10-29 Thread Arse @ Snepo

Make sure the value is a string. i.e.:

my_cb.dataProvider = [{data:1, label:"01"}, {data:2, label:02}];

will show labels: 01 and 2 as 01 is a string whereas 02 isn't.



Stephen Ford wrote:

I am trying to use "01" as a label for one of the items in my combobox, however flash won't display 
"01" - it cuts off the zero and just displays "1".
 
Anyone know a way around this.
 
Thanks,

Stephen.___
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

  



--
*Anthony Eden*: Inventor at Snepo 
contact | [EMAIL PROTECTED]  | 0411 5622 02


___
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] Looking for a good FlexCoders list

2006-10-29 Thread Bjorn Schultheiss
Is he serious?
Or are we misinterpreting the question?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Sunday, 29 October 2006 4:04 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Looking for a good FlexCoders list

Erhm, FlexCoders maybe? ;-)

http://tech.groups.yahoo.com/group/flexcoders/
flexcoders@yahoogroups.com

regards,
Muzak

- Original Message - 
From: "Troy Rollins" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Saturday, October 28, 2006 6:55 PM
Subject: [Flashcoders] Looking for a good FlexCoders list


> Recommendations? URL for signup?
>
> TIA.
> --
> Troy


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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Flash Combobox ...

2006-10-29 Thread Stephen Ford
I am trying to use "01" as a label for one of the items in my combobox, however 
flash won't display "01" - it cuts off the zero and just displays "1".
 
Anyone know a way around this.
 
Thanks,
Stephen.___
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] CSS question..

2006-10-29 Thread Alain Rousseau
Also you should use font-size (in px) not size. I'm not sure if 
text-transform works or letter-spacing or margins for that matter. Keep 
you CSS simple and all should be well.


HTH

Alain

grimmwerks wrote:

I'm trying to use a }   



.secondary_button {
font: 18px Eureka-Italic;   
color: #ff;

text-align: right;
margin-bottom: 8px;
}

.body{
font: 21px/25px QuadraatSans-Regular;
color: #ff;
margin-bottom: 8px;
}

.EX_Title{
font: 35px/38px QuadraatHead-Bold;
color: #ff;
margin-bottom: 8px;
}

.EX_Subtitle{
font: 21px/27px QuadraatHead-BoldIta;
color: #ff;
margin-bottom: 16px;
}

.EX_Date{
font: 25px/29px QuadraatHead-Light;
color: #ff;
margin-bottom: 16px;
}

.FV_Section{
font: 25px QuadraatHead-Bold;
size: 25px;
color: #ff;
letter-spacing: 1px;
margin-bottom: 8px;
}

.FV_Time{
font: 30px/25px QuadraatSans-Regular;
color:  #ff;
}

.FV_Year_Duration{
font: 30px/25px QuadraatSans-Regular;
margin-bottom: 16px;
color: #ff;
}

.FV_Location{
font: 20px/23px QuadraatSans-Regular;
margin-bottom: 33px;
color: #ff;
}

.FV_Film_Title{
font: 27px/27px QuadraatHead-Bold;
color: #ff;
}

.FV-ATM_Program_Title{
font: 35px/38px QuadraatHead-Bold;
margin-bottom: 8px;
color: #ff;
}

.FV-ATM_Date{
font: 25px/29px QuadraatHead-Light;
color: #ff;
}

.FV-EFK-DS_Program_Title{
font: 27px/27px QuadraatHead-Bold;
margin-bottom: 8px;
color: #ff;
}

.FV-EFK-DS_Date{
font: 40px/38px QuadraatHead-Bold;
letter-spacing: 1px;
color: #ff;
}

.PP-SE_Weekday{
font: 25px/25px QuadraatHead-Bold;
letter-spacing: 1px;
color: #ff;
}

.PP-SE_Date{
font: 40px/38px QuadraatHead-Bold;
letter-spacing: 1px;
margin-bottom: 16px;
color: #ff;
}

.PP-SE_Program_Title{
font: 27px/27px QuadraatHead-Bold;
margin-bottom: 16px;
color: #ff;
}

.PP-SE_Time{
font: 20px/23px QuadraatSans-Regular;
color: #ff;
}

.PP-SE_Location{
font: 20px/23px QuadraatSans-Regular;
margin-bottom: 16px;
color: #ff;
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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


[Flashcoders] Flex 2 Eclipse ANT task

2006-10-29 Thread Luke Schreur
Hi list,

I don't know if there are any Flex 2 SDK users out there that like to
use the Flex 2 SDK in conjunction with Eclipse, but I've put together an
ANT task for Eclipse so you can compile your AS3/MXML projects from
within Eclipse. You can find the project at www.flex2ant.org (hopefully
all DNS's are updated by now).

- Luke

___
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] Highscore submit security with independent library

2006-10-29 Thread Mark Winterhalder

Translating to the library thing, the only way to create a semi-secure
highscore submitting system is by coding it myself, and never giving
anyone the source?


No, as Weyert already said, SWFs can be decompiled. I don't know how
decompilers react to non-Flash-IDE compilers, like MTASC or haXe --
maybe they could make it more difficult.
But even if you do your algorithms with flasm, it would only make it
harder for the attacker, not impossible. If all they can win is a
T-shirt, they probably won't bother (and if they do anyway, they
deserve it). If it was be a widely used library, however, then the
effort would pay.

Mark
___
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] Highscore submit security with independent library

2006-10-29 Thread Michael Bedar
It does not mean that you can't distribute actionscript source, just  
that the logic can't all be in the client side AS.  In general,  
relying on the secrecy of the algorithm is not good security.



On Oct 29, 2006, at 2:51 PM, Tjeerd Boerman wrote:


Thanks Ron, this is response really helped me!

Translating to the library thing, the only way to create a semi- 
secure highscore submitting system is by coding it myself, and  
never giving anyone the source?
That would mean what I envisioned (users creating their own games  
with this library to use on the site) is impossible, since every  
game would need custom
security code so I can validate the game flow on the server, to  
achieve some security, correct?


Cheers!

T. Boerman




Ron Wheeler wrote:
On-line gambling applications are possible where single  
transactions are worth significant amounts of money.


You need to think very carefully about the design and be sure that  
the server can validate the score independently of the client.
One possible line of thinking is to send the server regular  
progress indications and validate the users path through the game.  
The next transaction not only has to be valid in itself but also  
has to be valid in terms of all previous transactions. If the  
sequence of progress points gets broken, then you refuse to accept  
the final score. This is a simple state engine on the server.


Keeping part of the game logic on the server is the best way to  
ensure that access to the client code is not enough to break the  
game. ie. send a transaction to the server and get back the  
outcome, mark the result on the server and let the client setup  
the game to the state returned by the server for the next  
interaction. This way, a fake client can not simply send a  
sequence of transactions. You can also enforce a minimum amount of  
time between transactions and steer someone to a dead end position  
if they play too fast (ie use an automatic transaction generation  
system).


If the user already has a winning path through the game and has  
recorded how to do it, you may get a lot of high scores from 1  
person. That is another problem. If you randomize the outcomes on  
the server side, you can make sure that each game must follow a  
different path.


Just as every security measure has a successful hack, every hack  
can be countered. Welcome to the battleground.
Vigilance is one of the big expenses in real casinos. The best on- 
line gaming companies recognize that they always have to be  
looking for evidence of new hacks, for gamers finding new way to  
collude and for all kinds of fraud that they have not foreseen.


Ron

Tjeerd Boerman wrote:

Hey, Thanks for your response

So you are saying I can't start a serious ladder for these games,  
with reasonable amounts of security?


PS: I'm not following a flash course here, thats for sure ;)

Greets,
Tjeerd

Weyert de Boer wrote:

Hi Tjeerd,

Never period, as long you have access to the files in use by the  
game or any applications. You can cheat period. Sometimes it's  
harder to get around... I would expect you have learned all the  
tricks in Enschede!


Yours,
Weyert de Boer

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

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



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

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



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

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



___
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] Highscore submit security with independent library

2006-10-29 Thread Tjeerd Boerman

Thanks Ron, this is response really helped me!

Translating to the library thing, the only way to create a semi-secure 
highscore submitting system is by coding it myself, and never giving 
anyone the source?
That would mean what I envisioned (users creating their own games with 
this library to use on the site) is impossible, since every game would 
need custom
security code so I can validate the game flow on the server, to achieve 
some security, correct?


Cheers!

T. Boerman




Ron Wheeler wrote:
On-line gambling applications are possible where single transactions 
are worth significant amounts of money.


You need to think very carefully about the design and be sure that the 
server can validate the score independently of the client.
One possible line of thinking is to send the server regular progress 
indications and validate the users path through the game. The next 
transaction not only has to be valid in itself but also has to be 
valid in terms of all previous transactions. If the sequence of 
progress points gets broken, then you refuse to accept the final 
score. This is a simple state engine on the server.


Keeping part of the game logic on the server is the best way to ensure 
that access to the client code is not enough to break the game. ie. 
send a transaction to the server and get back the outcome, mark the 
result on the server and let the client setup the game to the state 
returned by the server for the next interaction. This way, a fake 
client can not simply send a sequence of transactions. You can also 
enforce a minimum amount of time between transactions and steer 
someone to a dead end position if they play too fast (ie use an 
automatic transaction generation system).


If the user already has a winning path through the game and has 
recorded how to do it, you may get a lot of high scores from 1 person. 
That is another problem. If you randomize the outcomes on the server 
side, you can make sure that each game must follow a different path.


Just as every security measure has a successful hack, every hack can 
be countered. Welcome to the battleground.
Vigilance is one of the big expenses in real casinos. The best on-line 
gaming companies recognize that they always have to be looking for 
evidence of new hacks, for gamers finding new way to collude and for 
all kinds of fraud that they have not foreseen.


Ron

Tjeerd Boerman wrote:

Hey, Thanks for your response

So you are saying I can't start a serious ladder for these games, 
with reasonable amounts of security?


PS: I'm not following a flash course here, thats for sure ;)

Greets,
Tjeerd

Weyert de Boer wrote:

Hi Tjeerd,

Never period, as long you have access to the files in use by the 
game or any applications. You can cheat period. Sometimes it's 
harder to get around... I would expect you have learned all the 
tricks in Enschede!


Yours,
Weyert de Boer

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

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



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

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



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

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



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

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


Re: [Flashcoders] How-To access Flash Player from C++ on OSX ?

2006-10-29 Thread Nicolas Cannasse
> Hello Everybody !
> 
> I've already been Flash Player together with custom C++ solutions under 
> Windows and it's working nicely.
> 
> However, at the moment i am very interested on cross-plattform development 
> using flash for user interfaces on both windows and OSX, but i've got very 
> little experiences on OSX development, especially concerning the topic "how 
> to access flash player on OSX !?".
> 
> Can anybody help?
> 
> (Currently i'm using XCode. I've seen you can use Cocoa, Webkit, Carbon, ...  
> I've managed to do some simple Cocoa-based userinterfaces - But how to embedd 
> Flash Player?)
> 
> Thanks!

You might have a look at SWHX : http://haxe.org/swhx
It enables you to control the Flash Player from haXe/Neko. And since you
can add C/C++ libraries to Neko, you can also interact with the Flash
Player this way.

Nicolas
___
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] Highscore submit security with independent library

2006-10-29 Thread Ron Wheeler
On-line gambling applications are possible where single transactions are 
worth significant amounts of money.


You need to think very carefully about the design and be sure that the 
server can validate the score independently of the client.
One possible line of thinking is to send the server regular progress 
indications and validate the users path through the game. The next 
transaction not only has to be valid in itself but also has to be valid 
in terms of all previous transactions. If the sequence of progress 
points gets broken, then you refuse to accept the final score. This is a 
simple state engine on the server.


Keeping part of the game logic on the server is the best way to ensure 
that access to the client code is not enough to break the game. ie. send 
a transaction to the server and get back the outcome, mark the result on 
the server and let the client setup the game to the state returned by 
the server for the next interaction. This way, a fake client can not 
simply send a sequence of transactions. You can also enforce a minimum 
amount of time between transactions and steer someone to a dead end 
position if they play too fast (ie use an automatic transaction 
generation system).


If the user already has a winning path through the game and has recorded 
how to do it, you may get a lot of high scores from 1 person. That is 
another problem. If you randomize the outcomes on the server side, you 
can make sure that each game must follow a different path.


Just as every security measure has a successful hack, every hack can be 
countered. Welcome to the battleground.
Vigilance is one of the big expenses in real casinos. The best on-line 
gaming companies recognize that they always have to be looking for 
evidence of new hacks, for gamers finding new way to collude and for all 
kinds of fraud that they have not foreseen.


Ron

Tjeerd Boerman wrote:

Hey, Thanks for your response

So you are saying I can't start a serious ladder for these games, with 
reasonable amounts of security?


PS: I'm not following a flash course here, thats for sure ;)

Greets,
Tjeerd

Weyert de Boer wrote:

Hi Tjeerd,

Never period, as long you have access to the files in use by the game 
or any applications. You can cheat period. Sometimes it's harder to 
get around... I would expect you have learned all the tricks in 
Enschede!


Yours,
Weyert de Boer

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

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



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

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



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

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


Re: [Flashcoders] Highscore submit security with independent library

2006-10-29 Thread Weyert de Boer

Hi Tjeerd,

The problem is that you can decompile flash movies with something like 
ActionScript Viewer. Meaning you can just easily browse the code. In 
readable form, by my knowledge you would always have a bit of the 
algoritmn in the flash movie to make it all. Meaning you can see how 
they send the data over. For example, you can find out how the 'salt' is 
generated within the movie, or any other verification 'bits'. It's hard. 
That's all.


Yours,
Weyert
___
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] How-To access Flash Player from C++ on OSX ?

2006-10-29 Thread Frank Baumgartner


Hello Everybody !

I've already been Flash Player together with custom C++ solutions under Windows 
and it's working nicely.

However, at the moment i am very interested on cross-plattform development 
using flash for user interfaces on both windows and OSX, but i've got very 
little experiences on OSX development, especially concerning the topic "how to 
access flash player on OSX !?".

Can anybody help?

(Currently i'm using XCode. I've seen you can use Cocoa, Webkit, Carbon, ...  
I've managed to do some simple Cocoa-based userinterfaces - But how to embedd 
Flash Player?)

Thanks!

Frank Baumgartner


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

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


Re: Re: [Flashcoders] Flex Builder 2 for Mac - 6 things you need to know

2006-10-29 Thread Chris Allen

On 10/27/06, Dave Wood <[EMAIL PROTECTED]> wrote:

I have Safari running. Safari has no problem accessing other local
files.

I have re-booted: still no joy.

I have run the uninstaller and re-installed from scratch, rebooted
yet again: still no joy

Clicking those links displays absolutely nothing:(



It might be that your computer is blocking or already using that port
58332, however unlikely that is. Also, as was already pointed out,
this looks like it's a generated page being run in some servlet
container that must have been setup during the installation process.
Perhaps that part of the install failed on your machine and this
JSP/Servlet server isn't working for you.

Anyway, the important thing to know is it's not just a local file and
it's being served up by a server, even though that server is running
(or should be) on your local computer.

-Chris
___
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] Highscore submit security with independent library

2006-10-29 Thread Tjeerd Boerman

Hey, Thanks for your response

So you are saying I can't start a serious ladder for these games, with 
reasonable amounts of security?


PS: I'm not following a flash course here, thats for sure ;)

Greets,
Tjeerd

Weyert de Boer wrote:

Hi Tjeerd,

Never period, as long you have access to the files in use by the game 
or any applications. You can cheat period. Sometimes it's harder to 
get around... I would expect you have learned all the tricks in Enschede!


Yours,
Weyert de Boer

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

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



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

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


[Flashcoders] Re: CSS question..

2006-10-29 Thread grimmwerks

I realize now it's only dealing with font-family...
___
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] CSS question..

2006-10-29 Thread grimmwerks

I'm trying to use a 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] Highscore submit security with independent library

2006-10-29 Thread Weyert de Boer

Hi Tjeerd,

Never period, as long you have access to the files in use by the game or 
any applications. You can cheat period. Sometimes it's harder to get 
around... I would expect you have learned all the tricks in Enschede!


Yours,
Weyert de Boer

___
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] swf and domains, what domain made the call?

2006-10-29 Thread Mick G

Perhaps when you instruct with what EMBED code to use on myspace, do it like
this...

EMBED src="mydomain.com/myfile.swf?id=123"
That ID could be a unique ID to a certain account. In flash you can do
whatever database calls you need and check if that userID has the access you
need. If the swf is called without the ID, then don't allow it.

OR...

I'm not sure if this will work, but you could use...
EMBED src="mydomain.com/myfile.php" - your php could check who the referrer
is, and do whatever checking you need, then load your SWF and spit out a
SWF-file type.

- Mick


On 10/28/06, Diversity <[EMAIL PROTECTED]> wrote:


Not quite what I am looking for. Here is my situation.

I have a swf on my server. This swf will be allowed to be posted on
other sites such as myspace (if the user that created the account has a
certain account type). Since it can be posted on myspace the actual swf
will be in an embed tag on myspace with an src pointing to my server.
What I need to do is once this swf gets called is see what the referring
domain is and see if the creator of that content has an account that
allows embedding on external sites.

if(domain == "myserver" || domain == "www.myserver){
// serve up content this is on our server no account check needed
}
else{
// WAIT!!! check if this content creator can embed outside of our
domain
}


I hope I got my point across and I hope what i am trying to accomplish
is actually doable. I tried localConnections domain function but that
gave me the domain of the swf which was on my server not the domain of
the html file that called/embedded the swf.


Jim Berkey wrote:
> Would this do what you are looking for?
> http://www.mochibot.com
>
>
> jimbo
>
> *** REPLY SEPARATOR  ***
>
> On 10/28/2006 at 6:24 PM Diversity wrote:
>
>
>> Anyone with any suggestions?
>>
>>
>> Diversity wrote:
>>
>>> With flash and its cross domain security is there anyway for me to
>>> read what the calling domain is of the swf?
>>>
>>> Example
>>>
>>> swf located on my server, being called from domain.com. How can I see
>>> that its domain.com calling the swf and not myserver.com making the
>>> call? _url gives me the swf location not the calling domain.
>>>
>>> Thanks,
>>> Diversity
>>> ___
>>> Flashcoders@chattyfig.figleaf.com
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>> Brought to you by Fig Leaf Software
>>> Premier Authorized Adobe Consulting and Training
>>> http://www.figleaf.com
>>> http://training.figleaf.com
>>>
>>>
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
>
> _
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
___
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