Re: [Flashcoders] coding a world clock

2007-09-06 Thread Jim Berkey

I did something for a client that may be helpful -
It's  in AS2 - easy to modify, add to, etc.:

http://jimbo.us/lab/worldClock.html

Jimbo
http://jimbo.us
- Original Message - 
From: Corban Baxter [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, September 06, 2007 10:17 AM
Subject: Re: [Flashcoders] coding a world clock


hey keith or any of you guys have you had a chance to look any further 
into

this. I have put it to the side since the time i posted but I am going to
try and get back at it very quickly.

On 9/3/07, Marcelo Volmaro [EMAIL PROTECTED] wrote:


Something like this?

private static var timeZones:Array = [
[-1, Azores,Brazil Atlantic Islands,Cape
Verde,Greenland
Scoresbysun,Guinea Bissau],
[-2, Antarctica],
[-3, Argentina,Brazil East, French Guiana,
Greenland,
Guyana,St Pierre  Miquelon,Suriname,Uruguay],
[-3.5, Canada Newfoundland],
[-4, AST: Atlantic Standard,Anguilla, Antigua,
Argentina western
prov,Aruba,Barbados,Bermuda,Bolivia,Bonaire,Brazil
Acre,Brazil West,British Virgin Islands,Canada
Atlantic,Chile,Curacao,Dominica,Dominican Republic,Falkland
Islands,Greenland Thule,Grenada,Grenadines,Guadeloupe,Leeward
Islands,Martinique,Netherlands Antilles,Nevis
Montserrat,Paraguay,Puerto Rico,Saba,St Christopher,St
Croix,St John,St Kitts Nevis,St Lucia,St Maarten,St Thomas,St
Vincent,Trinidad and Tobago,Venezuela,Virgin Islands,Windward
Islands],
[-5, EST: Eastern Standard,Bahamas,Canada
Eastern,Cayman
Islands,Colombia,Cuba,Ecuador,Galapagos
Islands,Haiti,Jamaica,Panama,Peru,Turks and Caicos 
Islands,USA

Eastern,USA Indiana East],
[-6, CST: Central Standard,Belize, Canada
Central,Costa
Rica,Easter Island,El
Salvador,Guatemala,Honduras,Mexico,Nicaragua,USA Central],
[-7, MST: Mountain Standard,Canada Mountain,Mexico
Nayarit,Mexico
Sinaloa,Mexico Sonora,USA Arizona,USA Mountain],
[-8, PST: Pacific Standard,Canada Yukon 
Pacific,Mexico Baja Calif
Norte,USA Pacific],
[-9, Gambier Island,USA Alaska],
[-9, Marquesas Islands],
[-10, Christmas Islands,Cook Islands,French
Polynesia,Johnston
Island,Society Island,Tahiti,Tuamotu Island,Tubuai Island,USA
Aleutian,USA Hawaii],
[-11, NT: Nome,American Samoa,Canton Enderbury
Islands,Midway
Island,Niue Island,Samoa],
[-12, IDLW: International Date Line West],

[0, Ascension,Burkina Faso,Canary Islands,Channel
Islands,Cote
d'Ivoire,England,Faroe
Island,Gambia,Ghana,Guinea,Iceland,Ireland Republic
of,Liberia,Madeira,Mali,Mauritania,Morocco,Northern
Ireland,Principe Island,Sao Tome e
Principe,Scotland,Senegal,Sierra Leone,St Helena,Togo,United
Kingdom,Wales],
[1.00, CET Central European,
Albania,Algeria,Andorra,Angola,Austria,Balearic
Islands,Belgium,Benin,Bosnia Hercegovina,Cameroon,Central
African Rep,Chad,Congo,Czech
Republic,Dahomey,Denmark,Equatorial

Guinea,France,Gabon,Germany,Gibraltar,Hungary,Italy,Luxembourg,Macedonia,Mallorca

Islands,Malta,Melilla,Monaco,Namibia,Netherlands,Niger,Nigeria,Norway,Poland,Portugal,San

Marino,Slovakia,Slovenia,Spain,Sweden,Switzerland,Tunisia,Vatican
City,Yugoslavia,Zaire Kinshasa Mbandaka,Croatia],
[2.00, EET Eastern

European,Belarus,Botswana,Bulgaria,Burundi,Cyprus,Egypt,Estonia,Finland,Greece,Israel,Jordan,Latvia,Lebanon,Lesotho,Libya,Lithuania,Malawi,Moldova,Moldovian
Rep Pridnestrovye,Mozambique,Romania,Russian Federation zone
one,Rwanda,South
Africa,Sudan,Swaziland,Syria,Turkey,Ukraine,Zaire Haut
Zaire,Zaire Kasai,Zaire Kivu,Zaire Shaba,Zambia,Zimbabwe],
[3.00,

Azerbaijan,Bahrain,Djibouti,Eritrea,Ethiopia,Iraq,Kenya,Kuwait,Madagascar,Mayotte,Qatar,Russian
Federation zone two,Saudi
Arabia,Somalia,Tanzania,Uganda,Yemen],
[3.50, Iran],
[4.00,
Armenia,Georgia,Mauritius,Oman,Reunion,Russian
Federation zone three,Seychelles,United Arab Emirates],
[4.50, Afghanistan],
[5.00, Kyrgyzstan,Maldives,Pakistan,Russian
Federation zone
four,Turkmenistan,Uzbekistan],
[5.50, India,Sri Lanka],
[5.75, Nepal],
[6.00, Bangladesh,Bhutan,Kazakhstan,Russian
Federation zone
five,Tajikistan],
[6.50, Myanmar],
[7.00, Cambodia,Indonesia West,Laos,Russian
Federation zone
six,Thailand,Vietnam],
[8.00, Australia Western,Brunei,China People's
Rep,Hong
Kong,Indonesia Central,Malaysia,Mongolia,Philippines,Russian
Federation zone seven,Singapore,Taiwan],
[9.00, YST: Yukon Standard,Indonesia
East,Japan,Korea Dem
Republic of,Korea Republic of,Palau,Russian Federation zone 
eight],

[9.50, Australia Northern Territory,Australia South],
[10.00, AHST: Alaska-Hawaii Standard,CAT: Central
Alaska,HST:
Hawaii Standard,Australia 

Re: [Flashcoders] coding a world clock

2007-09-06 Thread Jim Berkey

Note to Jim Berkey: First, thank you for the link. Nice touch with the
iconic location graphics. Second, I'm getting a 404 for the worldclock
source file. Just FYI.

Regards,

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

Sorry blush had to uncloak it in Dreamweaver before I uploaded. Should be 
there now. 


___
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] coding a world clock

2007-09-06 Thread Jim Berkey
It's in CS3 now. I'll save a Flash 8 version and put it up. Check in 10 
minutes. Sorry.
Also, code is in the separate mc's for each clock, not on the first frame, 
it's an old piece I haven't updated.


Jimbo
http://jimbo.us
- Original Message - 
From: Keith Reinfeld [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, September 06, 2007 12:36 PM
Subject: RE: [Flashcoders] coding a world clock



Hi Jim,

Thanks again!

Is it just me (Flash 8) or does anybody else get the 'Unexpected File
Format' error?

What version of Flash was your worldclock.fla created in?

Regards,

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



___
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] swf obfuscation - new challenge

2007-07-23 Thread Jim Berkey

Thank you Rákos,

I see now how one can get the data from Fiddler, I got it quite easily 
without knowing or seeing the location of the file online, just saving the 
response was enough.


Of course, now with Amaral's input on the php file, it is easily readable, 
so the location can be easily found.


more work, . . . I must move outside another box somehow.

Thanks,
jimbo

- Original Message - 
From: Rákos Attila [EMAIL PROTECTED]

To: Jim Berkey flashcoders@chattyfig.figleaf.com
Sent: Monday, July 23, 2007 9:49 AM
Subject: Re: [Flashcoders] swf obfuscation - new challenge




http://www.tengerstudio.com/public/jumppeg2/

That was not harder than previous ones :) I think you are going on a
wrong way - hiding the real games source URL and preventing the user
from downloading is simply impossible. If I use some kind of a traffic
monitoring stuff everything is visible (personally I use Fiddler - not
for cracking Flash games :) just for debugging my applications).

 Attila

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:Jim Berkey [EMAIL PROTECTED]
To:  Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Date:Monday, July 23, 2007, 1:50:09 PM
Subject: [Flashcoders] swf obfuscation - new challenge
--===--
Okay, another brick in the wall to keep you from grabbing a swf (the old 
joyluckclub.com peg game from flashkit again - my version 4, I upgraded 
flash 5 as1 to flash 8, as2


http://jimbo.us/Games/jumpPeg/index.html

In the interest of transparency, here is what I've put together so far:

The goal is to have the best protection possible, while maintaining:
(1) - zero code obfuscation
(2) - technically easy enough for a n00b++ to implement
(3) - Sharing/knowing the technique does not make it weaker

To this end, since so many of you last grabbed the game so quickly, I've 
added some noise to the Herring, and I think I nailed shut the door that 
Eric Priou showed us (executing the php script directly from the browser 
address bar). Hopefully the number of folks that can grab the game is 
reduced??


Here is how it's done:

Container swf (game.swf) holds a Red Herring faux game to keep the --n00bs 
busy, and a script loaded via smoke and mirrors - logo.gif is actually 
logo.swf - suffix changed after compiling - Flashplayer obviously doesn't 
use the dot-three suffix to determine what a file holds. None of this is 
necessary for the system to work, but is easy, fun and does no harm.


The code in logo.gif checks to see that it is being loaded onto a trusted 
url, and if so loads the real swf via a php script that conceals the 
directory location of the real swf, and prevents caching. Here is the php 
file that does this:


?php
$data = $_GET['data'];
header(Expires: Thu, 01 Jan 1970 00:00:00 GMT, -1 );
header(Cache-Control: no-cache, no-store, must-revalidate);
header(Pragma: no-cache);
$content = file_get_contents(pathToRealSwf/$data);
echo$content;
?

The only change you make to the php file is to change the 'pathToRealSwf/' 
to your own relative or absolute path to the directory holding the real 
swf. I eliminated a line in the script that typed the data as a 
shockwave/flash file, and removed the dot three suffix from 
'rainbow.swf' - the actual file. So now, when one runs the php script from 
the browser window, the browser doesn't know what it is opening, and just 
shows the bytecode.


If anyone wants the system so far, write me offlist and I will send the 
source files for your examination. I'll also post the system online once 
all the doors are closed that can be closed. It's probably premature to do 
this yet, there are probably more doors to close, and more bricks to add 
to the wall, but as we go along, anyone is welcome to what I've done so 
far. If you have a suggestion for making the system stronger, I'd 
appreciate the help.


So grab this version of the game, and let me know what other doors might 
be closed?


Thanks for kicking at my wall,
jimbo
___
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

Re: [Flashcoders] RE: obfuscation swf !

2007-07-18 Thread Jim Berkey
Ok, yesterday was 7 minutes of work to capture . . . another try today. Is 
the wall higher yet?


http://jimbo.us/Games/jumpPeg/

jimbo 


___
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: obfuscation swf !

2007-07-18 Thread Jim Berkey

Thanks Ian, your ideas look promising . . .

Thanks Frederic, that's on the same vein as Mark's link to Kerckhoffs' 
assumption - btw, I think I can defeat the way you found it, Frederic, with 
one more layer of php . . . maybe  . . . (you got to 'path' but not to 
'rainbow' - hmmm)


Seems we can protect from the casual swf grabber/decompiler, but as long as 
swf's are delivered in some manner to the player as one complete file, I can 
prevent it from caching on the users machine, I can hide the location of the 
file, but it can still be captured, even if it isn't a proper swf file when 
it hits the player . . .


. . . I'll be back . . .   :~)

jimbo
- Original Message - 
From: Ian Thomas [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, July 18, 2007 9:47 AM
Subject: Re: [Flashcoders] RE: obfuscation swf !



Hm. Just a side thought on that - again, making it difficult rather
than impossible. Use the same FP9 idea - loading via a binary socket -
but instead of using Blowfish or something heavyweight to decrypt,
just split the source .swf into chunks on the server, load each chunk
seperately, reassemble and loadBytes on the client side.

Easy to get around if you know what's going on, granted. But no longer
just a case of lifting a cached file from somewhere and renaming it to
SWF. Particularly if you're clever about how the chunks are ordered.

Just a thought. :-)

Ian

On 7/18/07, Jon Bradley [EMAIL PROTECTED] wrote:


The most difficult method I am aware of is by using FP9 (AS3) and
Loader.loadBytes (combined with ByteArray). You could use a secured
socket connection and load binary data, decrypted through ByteArray
and a client-server handshake (say Blowfish as the encryption method
- it'll just take forever to decrypt the data).

That still won't protect you. All one needs is a packet sniffer to
get the data (including any keys or other information) and use the
SWF that loaded the data in the first place to decrypt it. It'll take
a bit longer to get the file (a long time if implemented properly)
but you can still get the file.

http://www.bytearray.org/?p=32

good luck.

- jon

___
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] obfuscation swf !

2007-07-17 Thread Jim Berkey
If the viewer cannot get your swf, they cannot decompile it: 
http://jimbo.us/swf_protect/


- Original Message - 
From: Bart Wttewaall [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Sunday, May 07, 2006 8:10 AM
Subject: Re: [Flashcoders] obfuscation swf !


http://www.amayeta.com/software/swfencrypt/
This doesn't obfuscate, but really encrypt your swf's. I've tried
every swf decoder I could find to check if it works, and it does. All
you get is rubbish when decompiling.

2006/5/7, [EMAIL PROTECTED] [EMAIL PROTECTED]:

Is there any good way or method for obfuscation a Flash file so that swf
works fine after obfuscation and also prevent any one to understand the
code easily . Few common softwares for obfuscation are just not that good
as swf stops working after using them . Of if not obfuscation is there any
other method to prevent swf to be decompiled to fla . help will be really
appreciate .

Thx

Max




mail2web - Check your email from the web at
http://mail2web.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] obfuscation swf !

2007-07-17 Thread Jim Berkey
Instead of answering every note that claims to have 'taken' the game, don't 
write a note - prove it -


You do not have the game, you have a nearly empty container file :) You have 
the game? Congrats - upload it to your site and show us!


jimbo

- Original Message - 
From: Jesse Graupmann [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, July 17, 2007 12:46 PM
Subject: RE: [Flashcoders] obfuscation swf !



Check it out, and see if you can 'steal' this game - it is yours for the
taking:

Instead of Alert! you should have wrote, Congrats! This game is yours!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frederic
Caron
Sent: Tuesday, July 17, 2007 9:32 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] obfuscation swf !

I've just save as and uncompile .. I don't get where's the revolution?

message = Alert! This movie\'s copyrights are being infringed! A message
is being sent to the author that you have copied his work. \nOffending
website path:  + _url;

___
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] obfuscation swf !

2007-07-17 Thread Jim Berkey
So you are telling me that the game content is ad.swf? I don't think so . . 
.
- Original Message - 
From: Eric Priou [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, July 17, 2007 12:26 PM
Subject: Re: [Flashcoders] obfuscation swf !


Isn't all the swf content in that url ?
http://jimbo.us/Games/mahJongg/advert.php?data=content

so :
$ curl -LO http://jimbo.us/Games/mahJongg/advert.php?data=content
$ mv advert.php?data=content ad.swf
$ swfdump -a ad.swf

Interesting content.
Is this trick so hard to find ?
Le 17 juil. 07 à 18:06, Jim Berkey a écrit :

If the viewer cannot get your swf, they cannot decompile it: http:// 
jimbo.us/swf_protect/


- Original Message - From: Bart Wttewaall 
[EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Sunday, May 07, 2006 8:10 AM
Subject: Re: [Flashcoders] obfuscation swf !


http://www.amayeta.com/software/swfencrypt/
This doesn't obfuscate, but really encrypt your swf's. I've tried
every swf decoder I could find to check if it works, and it does. All
you get is rubbish when decompiling.

2006/5/7, [EMAIL PROTECTED] [EMAIL PROTECTED]:

Is there any good way or method for obfuscation a Flash file so  that swf
works fine after obfuscation and also prevent any one to  understand the
code easily . Few common softwares for obfuscation are just not  that 
good
as swf stops working after using them . Of if not obfuscation is  there 
any
other method to prevent swf to be decompiled to fla . help will be 
really

appreciate .

Thx

Max




mail2web - Check your email from the web at
http://mail2web.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


---
Eric Priou aka erixtekila
Dev notes : http://www.v-i-a.net/inprogress
Oregano XMLSocket server forum : http://www.v-i-a.net/forum


___
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: Re[2]: [Flashcoders] obfuscation swf !

2007-07-17 Thread Jim Berkey
Congratulations, I obviously have more holes to plug, my methods are no 
good. I will continue trying . . .


jimbo
- Original Message - 
From: Rákos Attila [EMAIL PROTECTED]

To: Jim Berkey flashcoders@chattyfig.figleaf.com
Sent: Tuesday, July 17, 2007 1:48 PM
Subject: Re[2]: [Flashcoders] obfuscation swf !




Well, just for you:

http://www.tengerstudio.com/public/mahjong/

It took no more than 5-10 minutes :)

 Attila

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:Jim Berkey [EMAIL PROTECTED]
To:  flashcoders@chattyfig.figleaf.com 
flashcoders@chattyfig.figleaf.com

Date:Tuesday, July 17, 2007, 7:21:17 PM
Subject: [Flashcoders] obfuscation swf !
--===--
Instead of answering every note that claims to have 'taken' the game, 
don't

write a note - prove it -

You do not have the game, you have a nearly empty container file :) You 
have

the game? Congrats - upload it to your site and show us!

jimbo

- Original Message - 
From: Jesse Graupmann [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, July 17, 2007 12:46 PM
Subject: RE: [Flashcoders] obfuscation swf !



Check it out, and see if you can 'steal' this game - it is yours for the
taking:

Instead of Alert! you should have wrote, Congrats! This game is 
yours!



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frederic
Caron
Sent: Tuesday, July 17, 2007 9:32 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] obfuscation swf !

I've just save as and uncompile .. I don't get where's the revolution?

message = Alert! This movie\'s copyrights are being infringed! A 
message

is being sent to the author that you have copied his work. \nOffending
website path:  + _url;

___
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] swfobject and AS3/Player 9

2007-07-14 Thread Jim Berkey
Here it is:
http://blog.deconcept.com/swfobject/#expressinstall

The new method is mandatory for F9, but works well for all versions (6.65 and 
greater - no support for any expressinstall in flashplayer before that). Can't 
put my finger on the explaination for why the new method is necessary, but it 
is.
Most recent download, and other info on this page as well.

As an aside, Geoff was teaming with Bobby van der Sluis to come up with the 
bottom-line-best-standards-compliant method for putting swf's on a web page, 
but that effort seems dead - nothing much happening there:
This also may be the last major release of SWFObject. If you haven’t already 
heard, the SWFFix project (http://www.swffix.org/devblog/) will be attempting 
to replace SWFObject as the de-facto Flash embedding standard. The project is 
still in the alpha stage, but is looking quite promising. So until then, enjoy!

jimbo

*** REPLY SEPARATOR  ***

On 7/13/2007 at 6:35 PM Count Schemula wrote:

Thanks for that.

I checked the swfobject website and did not see any information on
F9/AS3 testing and upgrading.

Did I just miss it?

On 7/13/07, Jim Berkey [EMAIL PROTECTED] wrote:
 Of course, if the swf is compiled F9/AS3, you would test for F9. You do
know that the express install has changed for F9? Now you don't include
the express install code in your main swf, but use the provided swf -
expressinstall.swf - and reference it this way:

 div id=flashcontent
 strongYou need to upgrade your Flash Player/strong
 This is replaced by the Flash content.
 Place your alternate content here and users without the
Flash plugin or with
 Javascript turned off will see this. Content here allows
you to leave out codenoscript/code
 tags. Include a link to a
href=expressinstall.html?detectflash=falsebypass the detection/a if
you wish.
 /div

 script type=text/javascript
 // ![CDATA[

 var so = new SWFObject(mySwf.swf, sotester, 300,
300, 9, #FF6600);
 so.useExpressInstall('expressinstall.swf');
 so.write(flashcontent);

 // ]]
 /script


 jimbo
 *** REPLY SEPARATOR  ***

 On 7/13/2007 at 12:33 AM Count Schemula wrote:

 If I'm doing a site in F9/AS3 is it enough to use swfobject just have
 it test for player 9 and force upgrade accordingly?
 
 It's a small personal site and I won't be making am F8/AS2 version.
 
 Thanks.
 
 --
 count_schemula
 ___
 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



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

o

___
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] swfobject and AS3/Player 9

2007-07-13 Thread Jim Berkey
Of course, if the swf is compiled F9/AS3, you would test for F9. You do know 
that the express install has changed for F9? Now you don't include the express 
install code in your main swf, but use the provided swf - expressinstall.swf - 
and reference it this way:

div id=flashcontent
strongYou need to upgrade your Flash Player/strong
This is replaced by the Flash content.
Place your alternate content here and users without the Flash 
plugin or with
Javascript turned off will see this. Content here allows you to 
leave out codenoscript/code
tags. Include a link to a 
href=expressinstall.html?detectflash=falsebypass the detection/a if you 
wish.
/div

script type=text/javascript
// ![CDATA[

var so = new SWFObject(mySwf.swf, sotester, 300, 300, 
9, #FF6600);
so.useExpressInstall('expressinstall.swf');
so.write(flashcontent);

// ]]
/script


jimbo
*** REPLY SEPARATOR  ***

On 7/13/2007 at 12:33 AM Count Schemula wrote:

If I'm doing a site in F9/AS3 is it enough to use swfobject just have
it test for player 9 and force upgrade accordingly?

It's a small personal site and I won't be making am F8/AS2 version.

Thanks.

--
count_schemula
___
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] MovieClip Buttons in Flash CS3 ActionScript 3

2007-06-28 Thread Jim Berkey
Adam,
Your button works with your assets . . . if you change all of the graphic 
elements from 'movie clips' on your _up, _over and _down frames to 'graphic' 
Type - both in the library and above the instance name in the properties panel 
when selected on stage. Grouping is all right, but no mc can be in any of the 
frames. With Flash 8 many gurus saw little need for the 'graphic' type, and 
everything, even graphics, became a movie clip. Now it seems that the lowly 
'graphic' type has it's place in a much stricter Actionscript 3.

My only query is . . . for the over state, now I cannot design a whiz-bang 
graphic tween - since it would need to be held in a movie clip container 
instead of a graphic container?

http://jimbo.us/lab/FinalAssets.fla
http://jimbo.us/lab/FinalAssets.swf


jimbo
*** REPLY SEPARATOR  ***

On 6/27/2007 at 9:22 AM Adam Pasztory wrote:

Jim,

The problem seems to be that each of my button states is a MovieClip.  In
your version, the buttons states are just raw graphics and text the
timeline
of the button.  Do a convert to symbol on your graphics, and change each
button state into a MovieClip.  The hit areas will no longer work.

This works in AS2, but not AS3, so I'm thinking it's a bug in Flash.

On 6/27/07, Jim Berkey [EMAIL PROTECTED] wrote:

 funny, mine does . . . your setup looks the same?

 http://jimbo.us/lab/buttonAs3.fla
 http://jimbo.us/lab/buttonAs3.swf

 *** REPLY SEPARATOR  ***

 On 6/27/2007 at 8:39 AM Adam Pasztory wrote:

 Didn't work.  I posted the FLA in case anyone is bored and feels like
 taking
 a look:
 http://www.pasz.com/xfer/FinalAssets.zip
 
 On 6/27/07, Jim Berkey [EMAIL PROTECTED] wrote:
 
  Hah, yes, it does work, just need to addChild:
 
  my_btn.addEventListener(MouseEvent.CLICK, myFunction);
  my_btn.buttonMode = true;
  function myFunction(event:MouseEvent):void {
  //do something
  }
  addChild(my_btn);
 
  jimbo
___
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] MovieClip Buttons in Flash CS3 ActionScript 3

2007-06-28 Thread Jim Berkey
Fumio,
Can you explain using' InteractiveObject.mouseEnabled' to allow a mc inside a 
mc acting as a button a little more? I have a mc called button_play, with the 
three frames (_up, _over, and _down), in the over frame, instead of a graphic, 
I placed a mc, gave it instance name over_mc, and on the main timeline, put:

btn_play.over_mc.mouseEnabled = false;

I got this error:
TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
at FinalAssets2_fla::MainTimeline/FinalAssets2_fla::frame1()

What code to I need to allow a mc to be on one of the frames?

http://jimbo.us/lab/FinalAssets2.fla


jimbo

*** REPLY SEPARATOR  ***

On 6/28/2007 at 9:33 AM Fumio Nonaka wrote:

This works in ActionScript 3.0, too.

You should use Graphic instances for your button's states.  Otherwise,
set the InteractiveObject.mouseEnabled properties of MovieClips for each
state to false.
_
Adam Pasztory wrote:
 The problem seems to be that each of my button states is a MovieClip.  In
 your version, the buttons states are just raw graphics and text the
 timeline
 of the button.  Do a convert to symbol on your graphics, and change
each
 button state into a MovieClip.  The hit areas will no longer work.

Good luck,
--
Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My bookshttp://www.FumioNonaka.com/Books/index.html
Flash communityhttp://F-site.org/
___
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] MovieClip Buttons in Flash CS3 ActionScript 3

2007-06-28 Thread Jim Berkey
Thanks Fumio,
Works like a charm!!

jimbo

*** REPLY SEPARATOR  ***

On 6/28/2007 at 9:48 PM Fumio Nonaka wrote:

When the statement you put is processed the play head in the btn_play
instance is in the first frame, in which the over_mc instance does not
exist.  This is what the error tells you.  Therefore
InteractiveObject.mouseEnabled for over_mc cannot be set.

   trace(btn_play.over_mc);  // Output: null

The statement should be placed in the second frame of the btn_play, or
inside the over_mc itself.
_
Jim Berkey wrote:
 Can you explain using' InteractiveObject.mouseEnabled' to allow a mc
inside a mc acting as a button a little more? I have a mc called
button_play, with the three frames (_up, _over, and _down), in the over
frame, instead of a graphic, I placed a mc, gave it instance name over_mc,
and on the main timeline, put:

 btn_play.over_mc.mouseEnabled = false;

 I got this error:
 TypeError: Error #1009: Cannot access a property or method of a null
object reference.
  at FinalAssets2_fla::MainTimeline/FinalAssets2_fla::frame1()

Good luck,
--
Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My bookshttp://www.FumioNonaka.com/Books/index.html
Flash communityhttp://F-site.org/
___
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] MovieClip Buttons in Flash CS3 ActionScript 3

2007-06-28 Thread Jim Berkey
Fuomo,
One more question, if you have the inclination . . .
I put the statement on each frame of the button mc, and it works as expected, 
but as I mouse over the shape, there is a flicker between the up state to the 
over state - I thought it might be that part of the graphic was transparent and 
losing focus, but that is not the case?

http://jimbo.us/lab/FinalAssets3.fla
http://jimbo.us/lab/FinalAssets3.swf


jimbo

*** REPLY SEPARATOR  ***

On 6/28/2007 at 9:48 PM Fumio Nonaka wrote:

When the statement you put is processed the play head in the btn_play
instance is in the first frame, in which the over_mc instance does not
exist.  This is what the error tells you.  Therefore
InteractiveObject.mouseEnabled for over_mc cannot be set.

   trace(btn_play.over_mc);  // Output: null

The statement should be placed in the second frame of the btn_play, or
inside the over_mc itself.
_
Jim Berkey wrote:
 Can you explain using' InteractiveObject.mouseEnabled' to allow a mc
inside a mc acting as a button a little more? I have a mc called
button_play, with the three frames (_up, _over, and _down), in the over
frame, instead of a graphic, I placed a mc, gave it instance name over_mc,
and on the main timeline, put:

 btn_play.over_mc.mouseEnabled = false;

 I got this error:
 TypeError: Error #1009: Cannot access a property or method of a null
object reference.
  at FinalAssets2_fla::MainTimeline/FinalAssets2_fla::frame1()

Good luck,
--
Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My bookshttp://www.FumioNonaka.com/Books/index.html
Flash communityhttp://F-site.org/
___
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] MovieClip Buttons in Flash CS3 ActionScript 3

2007-06-27 Thread Jim Berkey
One way to instantiate a mc as a button in as3 is:

my_btn.addEventListener(MouseEvent.CLICK, myFunction);
my_btn.buttonMode = true;
function myFunction(event:MouseEvent):void {
//do something
}



jimbo
*** REPLY SEPARATOR  ***

On 6/26/2007 at 9:40 PM Adam Pasztory wrote:

In ActionScript 2, I never used button symbols.  Instead I would create
buttons as MovieClips, give the frames of the buttons labels -- _up,
_down, _over -- and assign an event handler to them.

I tried this in AS3, but it didn't seem to work.  Is there some new secret
to MovieClip buttons in Flash 9?

thanks,
Adam
___
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

s

___
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] MovieClip Buttons in Flash CS3 ActionScript 3

2007-06-27 Thread Jim Berkey
Yes, I can find nothing in as3 docs about support for that shortcut (_up,_over, 
_down frame labels). The buttonMode=true only affects the cursor - changes it 
from pointer to hand.
afaik, you need to set functions for each event - possible mouse events include:
CLICK
DOUBLE_CLICK
MOUSE_DOWN
MOUSE_MOVE
MOUSE_OUT
MOUSE_OVER
MOUSE_UP
MOUSE_WHEEL
ROLL_OUT
ROLL_OVER

So I think you need to do this:

my_btn.addEventListener(MouseEvent.CLICK, myFunction);
my_btn.buttonMode = true;
function myFunction(event:MouseEvent):void {
 //do something
 }

my_btn.addEventListener(MouseEvent.ROLL_OVER, myOverFunction);
function myOverFunction(event:MouseEvent):void {
 //do something
 }
my_btn.addEventListener(MouseEvent.ROLL_OUT, myOutFunction);
function myOutFunction(event:MouseEvent):void {
 //do something
 }


I'd love to learn otherwise, though. Of course, using the simple button 
component avoids this, maybe you could just skin it to your liking? All of the 
button states are separate editable mc's in the library.
jimbo

*** REPLY SEPARATOR  ***

On 6/27/2007 at 6:24 AM Adam Pasztory wrote:

Thanks Jim,

I've set up the AS3 event handler as you've specified, and it does change
the cursor from an arrow to a pointer, but the _up, _down and _over states
don't work.  I pasted the same button symbol into an AS2 FLA file, and it
does work, so there isn't anything wrong with the way I've set my frame
labels in the button symbol.

According to the docs, it should work in AS3:
If you use the buttonMode property with the MovieClip class (which is a
subclass of the Sprite class), your button might have some added
functionality. If you include frames labeled _up, _over, and _down, Flash
Player provides automatic state changes (functionality similar to that
provided in previous versions of ActionScript for movie clips used as
buttons).

Can anyone else get this working in AS3???

On 6/27/07, Jim Berkey [EMAIL PROTECTED] wrote:

 One way to instantiate a mc as a button in as3 is:

 my_btn.addEventListener(MouseEvent.CLICK, myFunction);
 my_btn.buttonMode = true;
 function myFunction(event:MouseEvent):void {
 //do something
 }



 jimbo
 *** REPLY SEPARATOR  ***

 On 6/26/2007 at 9:40 PM Adam Pasztory wrote:

 In ActionScript 2, I never used button symbols.  Instead I would create
 buttons as MovieClips, give the frames of the buttons labels -- _up,
 _down, _over -- and assign an event handler to them.
 
 I tried this in AS3, but it didn't seem to work.  Is there some new
 secret
 to MovieClip buttons in Flash 9?
 
 thanks,
 Adam
 ___
 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

 s

 ___
 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

s

___
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] MovieClip Buttons in Flash CS3 ActionScript 3

2007-06-27 Thread Jim Berkey
Hah, yes, it does work, just need to addChild:

my_btn.addEventListener(MouseEvent.CLICK, myFunction);
my_btn.buttonMode = true;
function myFunction(event:MouseEvent):void {
//do something
}
addChild(my_btn);

jimbo

*** REPLY SEPARATOR  ***

On 6/27/2007 at 7:14 AM Adam Pasztory wrote:

Also, the client just wants the buttons delivered in a simple graphical
format, so they can add code later.  They don't want me to send them an FLA
with a ton of code in it, like in Leandro's example.

I would go ahead and just use button symbols, but my problem is that these
buttons also have an inactive state, which can be represented by a
SimpleButton object.  In AS2, I just would have added an _inactive frame
to the button.
___
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] MovieClip Buttons in Flash CS3 ActionScript 3

2007-06-27 Thread Jim Berkey
funny, mine does . . . your setup looks the same?

http://jimbo.us/lab/buttonAs3.fla
http://jimbo.us/lab/buttonAs3.swf

*** REPLY SEPARATOR  ***

On 6/27/2007 at 8:39 AM Adam Pasztory wrote:

Didn't work.  I posted the FLA in case anyone is bored and feels like
taking
a look:
http://www.pasz.com/xfer/FinalAssets.zip

On 6/27/07, Jim Berkey [EMAIL PROTECTED] wrote:

 Hah, yes, it does work, just need to addChild:

 my_btn.addEventListener(MouseEvent.CLICK, myFunction);
 my_btn.buttonMode = true;
 function myFunction(event:MouseEvent):void {
 //do something
 }
 addChild(my_btn);

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

e

___
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] MovieClip Buttons in Flash CS3 ActionScript 3

2007-06-27 Thread Jim Berkey
You're right. Unfortunately, there are precious few examples in the flash docs 
for simple designer-type actionscript  - it's all Flex type class structure.


jimbo
*** REPLY SEPARATOR  ***

On 6/27/2007 at 9:22 AM Adam Pasztory wrote:

Jim,

The problem seems to be that each of my button states is a MovieClip.  In
your version, the buttons states are just raw graphics and text the
timeline
of the button.  Do a convert to symbol on your graphics, and change each
button state into a MovieClip.  The hit areas will no longer work.

This works in AS2, but not AS3, so I'm thinking it's a bug in Flash.

On 6/27/07, Jim Berkey [EMAIL PROTECTED] wrote:

 funny, mine does . . . your setup looks the same?

 http://jimbo.us/lab/buttonAs3.fla
 http://jimbo.us/lab/buttonAs3.swf

 *** REPLY SEPARATOR  ***

 On 6/27/2007 at 8:39 AM Adam Pasztory wrote:

 Didn't work.  I posted the FLA in case anyone is bored and feels like
 taking
 a look:
 http://www.pasz.com/xfer/FinalAssets.zip
 
 On 6/27/07, Jim Berkey [EMAIL PROTECTED] wrote:
 
  Hah, yes, it does work, just need to addChild:
 
  my_btn.addEventListener(MouseEvent.CLICK, myFunction);
  my_btn.buttonMode = true;
  function myFunction(event:MouseEvent):void {
  //do something
  }
  addChild(my_btn);
 
  jimbo
___
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

i

___
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] Best way to control game character animations

2007-05-29 Thread Jim Berkey
If I'm understanding the question, I just read a blog about this . . . possibly 
Sprite sheets + scrollrect is what you are looking for??
http://mikegrundvig.blogspot.com/2007/05/as3-is-fast.html

*** REPLY SEPARATOR  ***

On 5/29/2007 at 11:54 AM Bob Wohl wrote:

can you set their visability? (AS3 noob i am)



B.

On 5/28/07, Frederico Ferro Schuh [EMAIL PROTECTED] wrote:

 Hello list,

 I've been fiddling around with character animations for use in AS3 flash
 games. What's not clear to me is the animation control.

 What's the best way to switch the current animation of the character? I
 tried having each animation in its own MovieClip, and add/remove and
 play/stop them as necessary, but this causes blinking problems in slower
 machines (you can sometimes see the character disappearing and appearing
 when the animation switches), which's not a good thing. I believe this is
 related to the asyncronous nature of the flash player.

 What I'm doing now is have a master MovieClip that contains one character
 animation in each frame, and switch between them as needed. This looks a
 little clumsy to me, as objects get created/destroyed unnecessarily, and
 it's hard to manage them.

 Is this the only way to go, or is there a better solution? Any hints on
 this
 would be really appreciated.
 Thanks.

 --
 Frederico Ferro Schuh
 MSN [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

___
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

h

___
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] Actionscript 3.0 help w/ simple HelloWorld

2007-03-22 Thread Jim Berkey

The constructor traces fine in the output window, but the TextField does
not show.  What have I done wrong?  My Export settings in F9 As3 preview
are for AS 3.0 and FP9.  In later scripts, I tried moving the textfield,
changing the color, changing the stage color to be sure it wasn't
matching the textfield and this invisible, etc...(but it should show as
black Times New Roman text by default anyway...)

I think that the flash 9 ide serves up the flash 8 stand-alone player - I 
believe that you need to replace that manually with the flash 9 standalone 
player or view your projects in a browser window with flash 9 installed in it.
jimbo

___
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] Problems with Key event

2007-03-21 Thread Jim Berkey
var keyListener:Object = new Object();
keyListener.onKeyDown = keyPressed;
Key.addListener(keyListener);


function keyPressed():Void {
trace(foo);
}

All letters and numbers work. Insert and Shift works.. But not Delete,
Home, End, PageUp, PageDown, Enter, etc..

What am I doing wrong???

I believe that it is probably working fine - but in the flash ide, when 
testing, you need to disable the keyboard shortcuts - click on Control --- 
Disable Keyboard Shortcuts in your preview window.
jimboF

___
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 run an external exe file

2007-03-21 Thread Jim Berkey
On 3/21/2007 at 11:39 AM Steve Abaffy wrote:

Hello,

   I am creating a Flash exe to run off of a CD. I have a second exe
that I want to run from the first. The second exe runs fine by itself, but
when I start it from the first all the resources of the second exe file do
not load, it looks as if they cannot be found. Both exe files are in the
same directory.  I am using the getURL(Second.exe,_blank,get); on a
button on(release).

When I've done CD's I created the opening file as an exe,so you have the 
built-in player,  auto opened it with an autorun.inf file, then loaded and 
unloaded swf's and jpg's and such into it, without any problems. Does the 
second file need to be an exe?
jimbo

___
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] Very large html document created by Flash 8 Publish

2007-01-31 Thread Jim Berkey
All of the text and links used in a swf are by default published  as comments 
in an html page outputted by the Flash IDE. The reason is to show that data to 
Google and other search engines. All of those comments may be deleted without 
any adverse effects to the swf or viewed page. And Google now claims that it 
can 'read/index' the text inside swf's anyway.
Also, many of us use Geoff's SWFObject js. to not only embed the swf more 
invisibly cross-browser, avoid the 'click to activate' in IE,  and it gives the 
opportunity to place whatever alternative content you wish in a div that is 
much more search engine friendly and offers graceful degrading.

http://blog.deconcept.com/swfobject/

hth,
jimbo

*** REPLY SEPARATOR  ***

On 1/31/2007 at 10:28 AM Paul Steven wrote:

Anyone experienced this problem.

When I publish my flash movie, it creates an html page that is over 3mb...

It appears to have lots of font information in it

Here is a snippit

html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
head
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /
titleHighER/title
/head
body bgcolor=#ff
!--url's used in the movie--
!--text used in the movie--
!--
p align=leftfont face=Verdana size=12 color=#ff
letterSpacing=1.00 kerning=1bnext /b/font/p
p align=leftfont face=Webdings size=32 color=#ff
letterSpacing=0.00 kerning=14/font/p
p align=leftfont face=Verdana size=12 color=#ff
letterSpacing=0.00 kerning=1bprevious /b/font/p
p align=leftfont face=Webdings size=32 color=#ff
letterSpacing=0.00 kerning=13/font/p
p align=leftfont face=Verdana size=12 color=#ff
letterSpacing=0.00 kerning=1Getting started/font/p
p align=leftfont face=Verdana size=12 color=#636363
letterSpacing=0.00 kerning=1Establish a baseline/font/p
p align=leftfont face=Verdana size=12 color=#636363
letterSpacing=0.00 kerning=1Learning the rules/font/p
p align=leftfont face=Verdana size=12 color=#636363
letterSpacing=0.00 kerning=1Training eyes amp; mind/font/p
p align=leftfont face=Verdana size=12 color=#636363
letterSpacing=0.00 kerning=1Become an efficient reader/font/p
p align=leftfont face=Verdana size=12 color=#636363
letterSpacing=0.00 kerning=1Pulling it together/font/p
p align=leftfont face=Verdana size=12 color=#636363
letterSpacing=0.00 kerning=1Looking ahead/font/p
p align=leftfont face=Verdana size=12 color=#959595
letterSpacing=0.00 kerning=1| nbsp;Setting some objectives

___
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] Very large html document created by Flash 8 Publish

2007-01-31 Thread Jim Berkey
The comments with text and url's have been inserted for a long time, usually 
there isn't such a large amount that one noticed it. Geoff's javascript 
solution has been generally regarded as the best/easiest to implement, fully 
xhtml compliant method to place swf's on pages for some time now.
http://adobe.com/devnet/flash/articles/swfobject.html

I place all of the searchable content in the swfobject div, right after a 
comment about installing the needed flash player to see the Rich Internet 
Content, complete with lots of h1, h2, p text that search engines love. 
Browsers with the flash player installed never see it, only the actual swf. 
Browsers without a flash player installed see this text content instead of the 
swf.
jimbo

*** REPLY SEPARATOR  ***

On 1/31/2007 at 1:56 PM Paul Steven wrote:

Thanks jimbo - I wasn't aware of this. Is this something that has recently
happened?

I will be sure to look into Geoffs SWFObject

Many thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Berkey
Sent: 31 January 2007 13:25
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Very large html document created by Flash 8
Publish

All of the text and links used in a swf are by default published  as
comments in an html page outputted by the Flash IDE. The reason is to show
that data to Google and other search engines. All of those comments may be
deleted without any adverse effects to the swf or viewed page. And Google
now claims that it can 'read/index' the text inside swf's anyway.
Also, many of us use Geoff's SWFObject js. to not only embed the swf more
invisibly cross-browser, avoid the 'click to activate' in IE,  and it gives
the opportunity to place whatever alternative content you wish in a div
that
is much more search engine friendly and offers graceful degrading.

http://blog.deconcept.com/swfobject/

hth,
jimbo

*** REPLY SEPARATOR  ***

On 1/31/2007 at 10:28 AM Paul Steven wrote:

Anyone experienced this problem.

When I publish my flash movie, it creates an html page that is over 3mb...

It appears to have lots of font information in it

Here is a snippit

html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
head
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /
titleHighER/title
/head
body bgcolor=#ff
!--url's used in the movie--
!--text used in the movie--
!--
p align=leftfont face=Verdana size=12 color=#ff
letterSpacing=1.00 kerning=1bnext /b/font/p
p align=leftfont face=Webdings size=32 color=#ff
letterSpacing=0.00 kerning=14/font/p
p align=leftfont face=Verdana size=12 color=#ff
letterSpacing=0.00 kerning=1bprevious /b/font/p
p align=leftfont face=Webdings size=32 color=#ff
letterSpacing=0.00 kerning=13/font/p
p align=leftfont face=Verdana size=12 color=#ff
letterSpacing=0.00 kerning=1Getting started/font/p
p align=leftfont face=Verdana size=12 color=#636363
letterSpacing=0.00 kerning=1Establish a baseline/font/p
p align=leftfont face=Verdana size=12 color=#636363
letterSpacing=0.00 kerning=1Learning the rules/font/p
p align=leftfont face=Verdana size=12 color=#636363
letterSpacing=0.00 kerning=1Training eyes amp; mind/font/p
p align=leftfont face=Verdana size=12 color=#636363
letterSpacing=0.00 kerning=1Become an efficient reader/font/p
p align=leftfont face=Verdana size=12 color=#636363
letterSpacing=0.00 kerning=1Pulling it together/font/p
p align=leftfont face=Verdana size=12 color=#636363
letterSpacing=0.00 kerning=1Looking ahead/font/p
p align=leftfont face=Verdana size=12 color=#959595
letterSpacing=0.00 kerning=1| nbsp;Setting some objectives

___
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

Re: [Flashcoders] very basic movie freezing up (???)

2007-01-31 Thread Jim Berkey
Stops for me on frame 10, just like you said, only in browsers. Never saw 
anything like that. I even copied the frames to a new flash file, with no 
change.

*** REPLY SEPARATOR  ***

On 1/31/2007 at 12:10 PM Max Kaufmann wrote:

The following movie freezes up for no discernable reason, there's not even
any actionscript or tweening or anything.  It's just shapes in keys:
http://www.mentalpicture.net/misc/test.html

The small web file (http://www.mentalpicture.net/misc/test.swf) runs fine
directly in the flash player, just not in a browser.  ANY browser.

Here's my source file: http://www.mentalpicture.net/misc/test.fla

Umm... help?

--max


___
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] YouTube Performance

2007-01-10 Thread Jim Berkey
Do you have any sound events or progressively downloading sounds independent of 
the sound in the flv? Flash sounds seem to prevent the player from dropping 
frames as needed to keep the flv playing seamlessly.
jimbo

*** REPLY SEPARATOR  ***

On 1/10/2007 at 3:32 PM Sumeet Kumar wrote:

Hi



I m building a flash player in which I need to play flv with progressive
download.

My flv plays with lot of jerks and it stops to buffer every 3 seconds.
if I try the same flv file from YouTube.com,the performance was very
much better. Any Reasons?



Thanks

Sumeet Kumar





___
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] flashing first frame

2006-12-12 Thread Jim Berkey
A quick-n-dirty way to prevent the first frame from loading before the getURL 
command happens is to add a few empty frames after the getURL command, so that 
the swf has somewhere to go while the page takes its sweet time to open.
jimbo

*** REPLY SEPARATOR  ***

On 12/12/2006 at 12:33 PM nik crosina wrote:

Hi,

Small issue with getURL. We want to load a new html page at the end of
a swf. So we use getURL on the last frame to do this. Problem is - on
some occasions we get a flash of the first frame before the new page
is loaded.

How can we avoid this? Is this a little bug, or could this be in our
code some where?

Thanks guys.

--
Nik C
___
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

B

___
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-28 Thread Jim Berkey
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] Thanks ---Moving to AS2, array always undefined

2006-10-13 Thread Jim Berkey
I lurk here to learn code, but I have to tell you, I stay because of Dave Watts 
and the 'non' control of the list. This morning, looking forward to a rough day 
of work, this thread caused laughter that led to near tears, and the weight of 
my day is suddenly lighter.

Thank you for not punishing everyone that doesn't 'top post' or 'bottom post' 
or 'cut the footers' or whatever rules of engagement some lists demand.

Thank you for allowing those that want to enforce more rules to speak also, 
every voice is good.

Thank you for not listening to those that want to enforce strict rules. Strict 
rules are for coding, not communicating. Flash may not forgive sloppy code, but 
sloppy communication is human. Many days I feel too in-human after a rough day 
of strict typing, and have been brought back to wonderful human imperfection by 
this list.

This list rulz!

*** REPLY SEPARATOR  ***

On 10/12/2006 at 6:10 PM Steven Sacks | BLITZ wrote:

fin.

___
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] flv not playing in IE with Flash 9

2006-10-06 Thread Jim Berkey
I notice that you are using: so.addParam(wmode, transparent);
Do you need that? I've heard that the wmode paramater can do strange things to 
some browsers?

*** REPLY SEPARATOR  ***

On 10/5/2006 at 1:49 PM Ammon Lauritzen wrote:

Ok, simple issue really, and I seem to have found evidence of other
people experiencing it as well - just no answers posted to their pleas
for help :)

I have a flash video (the player swf is compiled for flash 8) that
should be visible at the bottom of http://walk-ez.com/fans.aspx.

And it is visible. Under Firefox and Opera. Under IE, it does not work
on machines with flash 9, only those that have yet to be upgraded from
8.

I've tried with and without fla-i mean swfobject, with and without
various parameters being passed in to the swf, and off of a variety of
servers. None of this seems to make any sort of difference.

Thoughts? Is this a known issue?

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

i

___
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 get the URL of the page that a moive is embedded on?

2006-09-15 Thread Jim Berkey
http://www.mochibot.com/

*** REPLY SEPARATOR  ***

On 9/14/2006 at 1:45 PM Jeff Mastropietro wrote:

I need a 100% effective way to get the URL of the page that a flash 
movie is embedded in.  It cannot rely on JavaScript.  Any ideas?  We are 
trying to track the pages that are embedding our flash movies.

Thanks,
Jeff
___
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

e

___
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] Scrubbing offline flvPlayback with code

2006-09-12 Thread Jim Berkey
If the video is short, and is playing from a cd, why not make every frame a 
keyframe when you encode the flv?
jimbo

*** REPLY SEPARATOR  ***

On 9/12/2006 at 1:18 PM Danny Kodicek wrote:

  We wrote one recently for a client. You can download it from here:
  http://www.view.uk.com/temp/video.player.zip

 Wow, thanks Jason, that's really helpful.

I've been examining this and it's great, but it suffers the same problems
that my version did: it doesn't scrub the video to an exact time, only to
the nearest keyframe. Our videos are only a few seconds long and may have
no
more than one keyframe in the middle. Anyone got a solution that allows you
to set a time precisely?

Danny

___
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] getURL and IE 6.0.

2006-09-04 Thread Jim Berkey
Try it without the second paramater:

test_btn.onRelease= getThatURL;
function getThatURL() {
getURL(http://www.example.com/script.php;);
}


*** REPLY SEPARATOR  ***

On 9/4/2006 at 4:04 AM Adrian Ionut Beschea wrote:

Hello, 

I want to use getURL to open the exact same window whenever a user pushes
the button. 

The code is this : 

test_btn.onRelease= getThatURL;
function getThatURL() {
getURL(http://www.example.com/script.php,window_name;);
}

It works fine in Firefox, but in IE 6.0. it keeps opening new windows. 
Am I doing something wrong ? 
Is there a workaround this problem ? 

Thanks. 
Adi.

PS I am exporting for flash 7 as version:  2.0

   
-
Get your email and more, right on the  new Yahoo.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

o

___
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] getURL and IE 6.0.

2006-09-04 Thread Jim Berkey
I need the browser to open a new window  but if I press my button
multiple times I want to get to that same  window.



Ahhh, an interesting concept. I'm surprised that it works in Firefox. Does it 
open a new browser with window, or a new tab? Maybe when tabbed IE 7 is out 
this would be possible?



___
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] Vob to FLV without Sound

2006-09-02 Thread Jim Berkey
I use Ulead Video Studio 10 for this. I import Vob, convert to mpeg1, then with 
the Flash Video Encoder I can convert mpeg1 to flv.
jimbo

*** REPLY SEPARATOR  ***

On 9/2/2006 at 1:18 PM Sönke Rohde wrote:

Hi,

Thanks for clearing this up but I expected Squeeze to handle this
internaly.
Does anybody know a solution where video and audio of Vob-files are
converted together?

Thanks,
Sönke

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Count Schemula
 Sent: Friday, September 01, 2006 7:49 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Vob to FLV without Sound

 Vob files are multiplexed.

 A lot of times I have to rip the audio out as a seperate file, rip the
 VOB to an intermediate format like Quicktime Animation and then use a
 video editor to export the video track and the audio track back out as
 a single file and then go to final compression.


 On 9/1/06, Sönke Rohde [EMAIL PROTECTED] wrote:
  Hi,
 
  I tried to convert a Vob to FLV using Sorenson Squeeze 4.2.
 The preview
  plays audio but when I try to encode it the sound is missing.
 
  Thanks,
  Sönke
 
  ___
  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
 


 --
 count_schemula

 a href=http://www.thelargeglass.com/flashNo0b/;files for No0bs/a
 ___
 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

i

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

2006-08-25 Thread Jim Berkey
There is a tute on this very thing here - check out the Creating 3D Carousels 
- their nav is a 3-d carousel of players, rotating on an oval. Not terribly 
difficult, and a very kewl look.
http://gotoandlearn.com

Currently you need to download the flv tutes and watch.
jimbo


*** REPLY SEPARATOR  ***

On 8/25/2006 at 6:50 AM Elena Blanco wrote:

Sorry, I pasted the wrong link. Here it is
http://myspace.com/adidassoccer



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Elena
Blanco
Sent: Thursday, August 24, 2006 8:23 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Flash effect

Hello

I need to replicate an effect very similar to the following
http://myspace.com/adidassoccerbv

Rotating movieclips, scaling and fading. Any idea on how this might have
been accomplished?

Thank you for the suggestions,
El

___
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] (no subject)

2006-08-19 Thread Jim Berkey
You can change that and the other text strings, and the icons in a standalone 
exe projector, (http://www.angusj.com/resourcehacker/) but I don't believe you 
can change it in the users flash player.
jimbo

*** REPLY SEPARATOR  ***

On 8/19/2006 at 11:17 PM [EMAIL PROTECTED] wrote:

does anyone know how to change the flash player title bar from
Macromedia Flash Player 8 to whatever i wan't?

thanks,
lewis

-
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software
Visit www.ntlworld.com/security for more information

___
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

c

___
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] desperate! works locally, not on server

2006-08-11 Thread Jim Berkey
Many times this can be caused by case differences - locally MySwf.swf and 
myswf.swf are the same, but on the server, they are not. Maybe check the case 
of all the links?
jimbo
*** REPLY SEPARATOR  ***

On 8/11/2006 at 6:24 AM Lisa Haitz wrote:

I was told this is where the experts are...I'm trying to mount a flash
document I didn't write.

  http://www.libraries.uc.edu/instruction/Module1/Module_1.html

  All files are here in this folder:
  http://www.libraries.uc.edu/instruction/Module1/


  The problem is, when I test the movie, debug the movie, play it, etc...
on my machine, or any other machine locally, it works fine. If we open the
local file in a browser- works fine.

  But, when viewed at the above url, two things dont work:

  1-slides do not advance correctly
  2-narration doesnt play (which might be due to the first problem).

  The way this was put together has me stumped- the action script looks
right- so I think there must be something I am missing.

  Would appreciate any insight!

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

a

___
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] Movement in an oval shape

2006-08-10 Thread Jim Berkey
Check out the '3d Carousels' tutorials
http://www.gotoandlearn.com/

jimbo

*** REPLY SEPARATOR  ***

On 8/10/2006 at 2:05 PM Paul Steven wrote:

I have written some code to move some stars in a circle.

This is a snippet of the code:

vStar_Object._x = (Math.cos((vStar_Object.circlePos/180)*Math.PI))*160 +
vStar_Object.centerX;
   vStar_Object._y =
(Math.sin((vStar_Object.circlePos/180)*Math.PI))*160 +
vStar_Object.centerY;


   vStar_Object.circlePos =
vStar_Object.circlePos + vStar_Object.speed;


if (vStar_Object.circlePos == 360) {
   vStar_Object.circlePos = 0;
}

if (vStar_Object._alpha  100) {
   vStar_Object._alpha +=1;
}

This seems to work just fine.

Anyway I need to change this so they move in an oval shape (like an egg on
its side)

Not being a mathematics expert I wondered if anyone can suggest how I can
amend my code to do so.

Thanks

Paul

___
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] Components in Flash 4/MX

2006-07-27 Thread Jim Berkey
This might help:

http://www.communitymx.com/content/article.cfm?cid=A06B3C7D7B74030D

jimbo


*** REPLY SEPARATOR  ***

On 7/27/2006 at 6:42 PM Weyert de Boer wrote:

Does anyone know some good resources how to make components for Flash 
MX/4 ?

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


Re: [Flashcoders] Components in Flash 4/MX

2006-07-27 Thread Jim Berkey
Here's another by Joey Lott - possibly a duplicate of the first link:

http://www.person13.com/articles/components/creatingcomponents.html



*** REPLY SEPARATOR  ***

On 7/27/2006 at 6:42 PM Weyert de Boer wrote:

Does anyone know some good resources how to make components for Flash 
MX/4 ?

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


Re: [Flashcoders] Fullscreen from SWF

2006-07-07 Thread Jim Berkey
My understanding is that it is not possible to make the current browser window 
fullscreen via any code. It is possible to open a new browser window full 
screen via pop-up, but any browser pop-up blockers would stop this ( google for 
'javascript fullscreen') - so in effect, there is no bullet-proof way to do 
this.

*** REPLY SEPARATOR  ***

On 7/7/2006 at 7:34 AM 8ball Developer wrote:

I'm trying to make the browser window containing my swf go full screen. I
NEED to make this work accross browsers/platforms (IE, Safari, Firefox/PC,
Mac). Does anyone have code that works and are you willing to share :).
Thanks.

P.S. I promise not use this on a site, I hate windows that change size too.
Offline project!
___
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] Wierd Problem with ftp and flash

2006-06-06 Thread Jim Berkey
If a flash 8 swf uploaded properly (binary), then the v.7 swf probably would 
have uploaded binary also, I would think  -  most servers want 'passive 
transfer' used, you might check that setting.

*** REPLY SEPARATOR  ***

On 6/6/2006 at 9:29 AM Tom Haschenburger wrote:

So, I uploaded my flash file using Homesite and it didn't work live
unless I uploaded a compiled version for flash player 8. Well I needed
flash player 7 compatibility. After many bizarre attempts and hours to
get it to work by changing publishing settings...no progress. Finally, I
decided to use cuteFtp to upload my file and bingo, it works.

Has anyone else experienced this problem? Does the Ftp client need to be
set to binary or ascii or something?

Thanks,
T
___
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] _url

2006-05-26 Thread Jim Berkey
There is no easy way to totally protect the contents of a swf, but you can 
easily keep hot-linkers and swf downloaders from success:
http://jimbo.us/swf_protect/index.html

Of course, it's still pretty easy to decompile most swf's, since it is an open 
format.
*** REPLY SEPARATOR  ***

On 5/26/2006 at 12:27 PM Dennis - I Sioux wrote:

Hey Johan,

Thanks for the feedback.

The reason i asked was to prevent deeplinking..
In some way the js is an option to make it somewhat harder.. but it is
prevered that when another site downloads the game and hosts it itself
that
it will work.. also the js is easy to workaround.. it's a good start
though.. .. the second opion is easier to tamper with so that's not of use
in this case..

Thanks though.. if you have any more thoughs i'd love to hear them.

Cheers,

Dennis


- Original Message -
From: Johan Karlsson [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, May 26, 2006 1:15 PM
Subject: RE: [Flashcoders] _url


I don't think you can. Not in a reliable way that is. You could make a get
 url that runs some javascript that looks up the window.location.href and
 sends it to a variable inside flash using setVariable() method
 (http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15683)

 But I'm not sure that this will work if the swf and html is on different
 domains.

 Other ways are to let the HTML page itself pass it's url. But that easily
 tampered with.

 /Johan

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Dennis -
 I Sioux
 Sent: den 26 maj 2006 10:30
 To: Flashcoders mailing list
 Subject: [Flashcoders] _url


 Hey,

 I'm wondering if anyone knows a way to get the url of the site that is
 embedding an swf..(instead of the one hosting it)
 The _url will give the url where the swf is hosted.. but i want to get
the
 url from the server that is showing it.

 Anyone?

 Many thanks,


 Dennis
 ___
 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] FLV preloading question

2006-04-17 Thread Jim Berkey
My understanding is that preloading implies that you are loading the entire 
movie before playing, whereas buffering would be to load a small amount 
before starting a progressive stream playback. I think that by definition, 
if you are using progressive streaming flv's, you want to size them so that 
they *stream* - and other than a very short buffer, there should be no need 
for preloading.

jimbo
- Original Message - 
From: Wouter Steidl [EMAIL PROTECTED]

To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Monday, April 17, 2006 12:12 PM
Subject: [Flashcoders] FLV preloading question




Hi list!

I`m working on a project that uses a lot of FLVs,

My issue is this:

The visitor of the website is watching a flv (1st flv ) and when he is 
done

he can choose an option that will result in showing another FLV (2nd flv).
What would be the best way to preload the 2nd flv while the user is
watching the 1st FLV?

And while I`m at it, can anyone explain the difference between buffering a
flv and preloading a flv ?

Thx a lot!

Wout

___
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] Re: Q: Flash Object vs UFO for flash detection and aseolas workaround

2006-04-15 Thread Jim Berkey
Sounds wonderful, why don't you take it a step beyond words and show us js 
dummies how that would be done? We'd all worship at your shrine.

jim
- Original Message - 
From: Jim Kremens [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Saturday, April 15, 2006 8:19 AM
Subject: [Flashcoders] Re: Q: Flash Object vs UFO for flash detection and 
aseolas workaround



He said it well:

'As it stands, all of the features are crammed into one class file, the
FlashObject.js, making it very hard to add/remove functionality without
fundamentally reprogramming the entire tool.'

IMHO, the code is very procedural, not object oriented.  The  cues for
this are the endless conditional statements.  A good, encapsulated
architecture can greatly minimize these...

Jim Kremens

On 4/15/06, elibol [EMAIL PROTECTED] wrote:
Bryan if you thought that he could give you a valid answer to the 
questions
you're asking I don't think you would of asked them in the first place 
since

to think otherwise you would have come to a valid answer yourself. I think
you've taken someone elses opinion far too personally, otherwise I believe
your question would be generally presented rather than personally scolding
someone.

I will assume that you really are just curious, and if this is the case,
then hearing the answer from me should make no difference.

The Express Install feature for FlashObject originally had its own page 
with

comments, I would of liked to link you to that so you could see my own
reasoning for why it wasn't well implemented.

To give you a basic outline of how I would of done things differently:

The FlashObject class would just embed swf files. Any additional concerns
would be seperated from this class, where each class would interface to
operate with one another. Additional composite classes would serve to
package feature combinations to maintain an easy implementation by the 
user.


As it stands, all of the features are crammed into one class file, the
FlashObject.js, making it very hard to add/remove functionality without
fundamentally reprogramming the entire tool.

I hope this satisfies your curiosity,

M.

On 4/15/06, bryan.rice [EMAIL PROTECTED] wrote:


 On Apr 14, 2006, at 5:05 PM, Jim Kremens wrote:

  Did you ever look at the code?

   I have taken a look at the javascript and I find it pretty straight
 forward (though not commented)...what is that you don't like about
 it?  Just curious.  How would you write it differently?

 blue skies,
 bryan
 ___
 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




--
Jim Kremens
___
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] CSS with TextArea

2006-03-22 Thread Jim Berkey

I use this with good success:
//init TextArea component
myText.html = true;
myText.wordWrap = true;
myText.multiline = true;
myText.label.condenseWhite=true;
/**/
//load css
myStyle = new TextField.StyleSheet();
myStyle.load(fla.css);
myText.styleSheet = myStyle;


- Original Message - 
From: [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 22, 2006 9:43 AM
Subject: [Flashcoders] CSS with TextArea



Hi,

I want to apply a CCS on on text in a textArea.

I try:

textStyle= new TextField.StyleSheet();
textStyle.load(style.css);

textArea.setStyle(_style);
but, this don't work!

I want to set a textArea.
but, I get StyleSheet from TextField
I think this is the problem...

Somebody can help me?

Rodrigo Schramm
___
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] Question for XML Style Junkies

2006-03-16 Thread Jim Berkey
I don't know a ton about xml, but I use p and p class=headline and br 
/ and hr / and a href=http://somewhere.com;Somewhere.com website/a 
tags directly in the xml file amongst text without problems. a separate css 
file defines the elements. I've never used the CDATA tags or seen the need 
for them in xml files?


- Original Message - 
From: Merrill, Jason [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, March 16, 2006 12:08 PM
Subject: [Flashcoders] Question for XML Style Junkies


My XML file takes the following form:

?xml version=1.0 encoding=iso-8859-1?
home
  banner imageUrl=media/banner.jpg x=0 y=0/
  bar title=Home x=10 y=0 width=750 height=30/
  panels
 panel title=Message x=10 y=10 height=150 width=250
button title=Read Article action=switchTab/
content title=![CDATA[SomebrHTML Text in brhere]]
![CDATA[Lorem Ipsum Paragraph Text Here]]
/content
 /panel
 panel title=HR Toolbox x=220 y=10 height=150 width=150
button title=Send e-mail action=sendEmail
param1=message/
content title=![CDATA[SomebrHTML Text in brhere]]
![CDATA[Lorem Ipsum Paragraph Text Here]]
/content
 /panel
 panel
 ...etc. ...etc.
  /panels
/home

However, after I load it into Flash, it gets truncated to:

?xml version=1.0 encoding=iso-8859-1?
home
  banner imageUrl=media/banner.jpg x=0 y=0 /
  bar title=Home x=10 y=0 width=750 height=30/
  panels
 panel title=Message x=10 y=10 height=150 width=250
button title=Read Article action=switchTab/
 /panel
  /panels
/home

I am assuming the way I am using CDATA tags are throwing it off somehow.
For example, I have a CDATA tag inside an attribute value under the
Home/Panel/Panel[0]/Title attribute value and this is where it seems to
break.  Is this bad form and/or causing Flash to choke?  If not, what
could be causing this?  If this is bad XML form, how would you
reorganize it to work in Flash?

---
FYI - FWIW:
I am loading the XML in a standard way:

var xmlObject = new XML();
xmlObject.ignoreWhite = true;
xmlObject.onLoad = Delegate.create(this, loadSuccess);
xmlObject.load(home.xml)

and the delegate function just moves the playhead once the file is
loaded - when I get to the frame after it's loaded, I do a trace on the
XML and see the truncation as described.
--
Ideas?

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com





NOTICE:
This message is for the designated recipient only and may contain privileged 
or confidential information. If you have received it in error, please notify 
the sender immediately and delete the original. Any other use of this e-mail 
by you is prohibited.

___
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] multi-threading / xml progress meter solutions?

2006-03-02 Thread Jim Berkey

Here is the Live Docs spot where I got the code:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1586.html

- Original Message - 
From: Mike Boutin [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, March 02, 2006 3:56 PM
Subject: Re: [Flashcoders] multi-threading / xml progress meter solutions?



Yes I also tried this with the same results.

Merrill, Jason wrote:


var pctLoaded:Number = Math.floor(my_xml.getBytesLoaded() /
my_xml.getBytesTotal() * 100);



Does that really work?  I know you said you got it from the help docs
and all, but I always thought the Flash player, when it came to loading
XML, ran single threaded in the sense that all other caluculations had
to stop until the XML was loaded.  I ask because with the code you
posted, I tried it on a 2mb XML file and pctLoaded traces NaN, and
my_xml.getBytesLoaded traces 0 the entire time the file is loading.


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com












-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Jim Berkey
Sent: Wednesday, March 01, 2006 1:20 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] multi-threading / xml progress meter


solutions?


I found this xml dynamic preloader in the flash 8 docs that works like


a


charm. You need to tweak the location of the preloader bar, and the


name of


your xml file, but it's pretty sweet for larger xml loads.

var barWidth:Number = 200;
var barHeight:Number = 6;

this.createEmptyMovieClip(pBar_mc, );
var bar:MovieClip = pBar_mc.createEmptyMovieClip(bar_mc, 10);
bar.beginFill(0xFF, 100);
bar.moveTo(0, 0);
bar.lineTo(barWidth, 0);
bar.lineTo(barWidth, barHeight);
bar.lineTo(0, barHeight);
bar.lineTo(0, 0);
bar.endFill();
bar._xscale = 0;

var stroke:MovieClip = pBar_mc.createEmptyMovieClip(stroke_mc, 20);
stroke.lineStyle(0, 0x00);
stroke.moveTo(0, 0);
stroke.lineTo(barWidth, 0);
stroke.lineTo(barWidth, barHeight);
stroke.lineTo(0, barHeight);
stroke.lineTo(0, 0);

pBar_mc.createTextField(label_txt, 30, 0, barHeight, 100, 21);
pBar_mc.label_txt.autoSize = left;
pBar_mc.label_txt.selectable = false;
pBar_mc.label_txt.textColor = 0xFF;
// location of preloader on the movie stage
pBar_mc._x = -160;
pBar_mc._y = 0;

var my_xml:XML = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(success:Boolean) {
  pBar_mc.onEnterFrame = undefined;
  if (success) {
myText.text = my_xml;
pBar_mc._visible=false;
pBar_mc.label_txt._visible=false;
  trace(XML loaded successfully);
  } else {
  trace(Unable to load XML);
  }
};
my_xml.load(Publications.xml);

pBar_mc.onEnterFrame = function() {
  var pctLoaded:Number = Math.floor(my_xml.getBytesLoaded() /
my_xml.getBytesTotal() * 100);
  if (!isNaN(pctLoaded)) {
  pBar_mc.bar_mc._xscale = pctLoaded;
  pBar_mc.label_txt.text = pctLoaded + % loaded;
  if (pctLoaded = 100) {
  pBar_mc.onEnterFrame = undefined;
  }
  }
}
- Original Message -
From: Mike Boutin [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 01, 2006 1:05 PM
Subject: Re: [Flashcoders] multi-threading / xml progress meter


solutions?




Yes I have this problem too, except the xml im loading can be rather


large


and it causes flash player to freeze up for a few seconds when


parsing.


- Original Message -
From: Scott Pobiner [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 01, 2006 9:02 AM
Subject: [Flashcoders] multi-threading / xml progress meter


solutions?




Hello flashcoders,

I was wondering what solutions people have for activity while


trying  to


load and parse XML data?  My application takes a solid 2-3 seconds


to


load and all attempts to build preloaders and progress meters seem


to


fail.  It seems that the application is hanging while it sorts out


the


XML data.

I suppose that this topic might also be valuable for other


applications.


Thoughts?  Comments?

Thanks all,

Scott



___
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

Re: [Flashcoders] multi-threading / xml progress meter solutions?

2006-03-01 Thread Jim Berkey
I found this xml dynamic preloader in the flash 8 docs that works like a 
charm. You need to tweak the location of the preloader bar, and the name of 
your xml file, but it's pretty sweet for larger xml loads.


var barWidth:Number = 200;
var barHeight:Number = 6;

this.createEmptyMovieClip(pBar_mc, );
var bar:MovieClip = pBar_mc.createEmptyMovieClip(bar_mc, 10);
bar.beginFill(0xFF, 100);
bar.moveTo(0, 0);
bar.lineTo(barWidth, 0);
bar.lineTo(barWidth, barHeight);
bar.lineTo(0, barHeight);
bar.lineTo(0, 0);
bar.endFill();
bar._xscale = 0;

var stroke:MovieClip = pBar_mc.createEmptyMovieClip(stroke_mc, 20);
stroke.lineStyle(0, 0x00);
stroke.moveTo(0, 0);
stroke.lineTo(barWidth, 0);
stroke.lineTo(barWidth, barHeight);
stroke.lineTo(0, barHeight);
stroke.lineTo(0, 0);

pBar_mc.createTextField(label_txt, 30, 0, barHeight, 100, 21);
pBar_mc.label_txt.autoSize = left;
pBar_mc.label_txt.selectable = false;
pBar_mc.label_txt.textColor = 0xFF;
// location of preloader on the movie stage
pBar_mc._x = -160;
pBar_mc._y = 0;

var my_xml:XML = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(success:Boolean) {
   pBar_mc.onEnterFrame = undefined;
   if (success) {
 myText.text = my_xml;
 pBar_mc._visible=false;
 pBar_mc.label_txt._visible=false;
   trace(XML loaded successfully);
   } else {
   trace(Unable to load XML);
   }
};
my_xml.load(Publications.xml);

pBar_mc.onEnterFrame = function() {
   var pctLoaded:Number = Math.floor(my_xml.getBytesLoaded() / 
my_xml.getBytesTotal() * 100);

   if (!isNaN(pctLoaded)) {
   pBar_mc.bar_mc._xscale = pctLoaded;
   pBar_mc.label_txt.text = pctLoaded + % loaded;
   if (pctLoaded = 100) {
   pBar_mc.onEnterFrame = undefined;
   }
   }
}
- Original Message - 
From: Mike Boutin [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 01, 2006 1:05 PM
Subject: Re: [Flashcoders] multi-threading / xml progress meter solutions?


Yes I have this problem too, except the xml im loading can be rather large 
and it causes flash player to freeze up for a few seconds when parsing.



- Original Message - 
From: Scott Pobiner [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 01, 2006 9:02 AM
Subject: [Flashcoders] multi-threading / xml progress meter solutions?



Hello flashcoders,

I was wondering what solutions people have for activity while trying  to 
load and parse XML data?  My application takes a solid 2-3 seconds  to 
load and all attempts to build preloaders and progress meters seem  to 
fail.  It seems that the application is hanging while it sorts out  the 
XML data.


I suppose that this topic might also be valuable for other  applications. 
Thoughts?  Comments?


Thanks all,

Scott



___
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] way to get window.location from flash?

2006-03-01 Thread Jim Berkey
Sounds more like you might want a tracking service embedded in your swf, 
like this one:

http://www.mochibot.com/

- Original Message - 
From: Alan Queen [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 01, 2006 2:16 PM
Subject: Re: [Flashcoders] way to get window.location from flash?


thx, but i'm actually looking for the url in the browser not the url of the
flash movie itself..

in otherwords if the browser's url is:

http://www.mydomain.com/index.html

and the flash file is embedded from:

http://www.someotherdomain.com/flash/myfile.swf

I'd like to know the browser's location from myfile.swf





On 3/1/06, Bart Wttewaall [EMAIL PROTECTED] wrote:


crap.. I meant:
trace(_root._url)

2006/3/1, Bart Wttewaall [EMAIL PROTECTED]:
 trace(_root.url)

 2006/3/1, Alan Queen [EMAIL PROTECTED]:
  Is there a way get the window's location ( url ) from flash without
embedded
  a javascript helper function on the page?
 
  --
  - Alan Queen
  ___
  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





--
- Alan Queen
___
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] sound problem

2006-02-23 Thread Jim Berkey
Do you mean in a 'tabbed' browser, so that the tab with the sound on it 
stays active after moving to another tab? That's the only time I've 
encountered that.
- Original Message - 
From: Thomas Arnoldi [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 23, 2006 12:20 PM
Subject: [Flashcoders] sound problem



Hi all,

I wonder if anyone found a solution: The problem is that I have a loaded a
external soundfile in a swf file and if the user leaves the page, the 
sound

keeps playing.

Thanks Thomas.


Thomas Arnoldi
[EMAIL PROTECTED]
www.syntheticdesign.dk http://www.syntheticdesign.dk/


___
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] Loading Swf files in site (protectingbandwithfromother sites)

2006-02-20 Thread Jim Berkey
sorry, I read too fast, this won't work with submitted swf's if you can't 
get into them. Might try to see if you created a container swf that loaded 
the submitted swf might work?


How about if you put a bit of actionscript in your swf to prevent it from
being displayed on any other url? It's not perfect - the swf can be broken
into and the code found, but it prevents regular surfers from grabbing the
swf and placing it on any other url, (including hot-linking to your swf from
another url), and also prevents viewing the swf if it is downloaded to a
hard drive.
thttp://jimbo.us/Games/Test.html
http://jimbo.us/Games/Test.swf
http://jimbo.us/Games/Test.fla

Try loading/viewing this swf on any other url, or downloading and viewing
the swf from your hard drive. Just two frames of code, placed before your
real content.

- Original Message - 
From: Dennis - I Sioux [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, February 20, 2006 7:59 AM
Subject: Re: [Flashcoders] Loading Swf files in site 
(protectingbandwithfromother sites)




Hey,

Thanks for the tip..
We checked it out but what the way you adviced will be working with a 
referer..

Meaning that the browser will give the last url to the server(/apache)..
Problem is that not all(/no) browser gives that var along with the request

Many thanks though.. any other thoughts?

Best Regards,

Dennis


- Original Message - 
From: Adrian Lynch [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, February 20, 2006 12:19 PM
Subject: RE: [Flashcoders] Loading Swf files in site (protecting 
bandwithfromother sites)




I've only heard of this in regards to images, but it's termed hotlinking.
There's bound to be a bunch of solutions to it.

http://www.google.co.uk/search?hl=enq=prevent+hotlinkingbtnG=Google+Search
meta=

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dennis -
I Sioux
Sent: 20 February 2006 10:21
To: Flashcoders mailing list
Subject: [Flashcoders] Loading Swf files in site (protecting bandwith
fromother sites)


We are trying to protect our swf-files from loading by others (protecting
our bandwidth).

Searching the net, no solution could be found for this. We want our users
flashfiles to be loaded from our site,
but rejected when called from other sites to secure our bandwidth.

NOTE: The flashfiles are submitted content, so we can't change them.

Does anyone have a suggestion on how to do this correctly?


-
On a more technical note (for those that wish to know what we tried) :

- We tried PHP to parse the files, using an swf header. This works in 
most

cases, but appearantly some swf files do not work
correctly (it looks fine at first, but things go bad when using the swf).
Even though the parsed file is both in Header
as in content equal (to the bit, checked that in filesize and in code) 
the

code behaves differently than the
original swf.(for instance when a key is pressed a characters animation 
will

play but won't be moved around).

- Now we'r trying to secure a webdirectory (with ModRewrite), to not load
swf files when not refered to by our site, but object and embed
tags do not pass on a referer in the header, thus blocking all requests 
or

simple not blocking any.


Many Thanks

Dennis

___
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] FLV not showing, please help

2006-01-26 Thread Jim Berkey



Can somebody please take a look at my code. The flv doesnt show, but the 
audio I do hear.


Not sure if this is what you are experiencing, but I do know that a version 
8 flv displayed in a version 7 browser plug-in will play audio with no 
video.


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


Re: [Flashcoders] Frame or duration limit on FLV

2006-01-18 Thread Jim Berkey
I've got a project with roughly 150 MPEG videos (anywhere from 3-20 
minutes

each) that I'm preparing to convert to FLV. I'm aware of this tech note
regarding the 16,000 frame limit for .fla/.swf (
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14437 ) 
but

my client just emailed to say that he'd heard of a duration limit of 8
minutes.

Anyone have any info on this?


If there is a limit, it is very large. On2, the maker of the newest codec, 
has a full length feature film on its website:
http://www.on2.com/video_samples/flix-video-samples/ 


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


Re: [Flashcoders] [OT] Color Scheme Websites

2005-12-08 Thread Jim Berkey

Maybe this one?
http://www.colorschemer.com/

- Original Message - 
From: mika [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 08, 2005 8:26 AM
Subject: [Flashcoders] [OT] Color Scheme Websites


Hello

I once saw a link on the list to a great site which presented favorites
color schemes from designers. I cannot find it again at all. Anyone see what
site i'm talking about ?

Anyhelp apreciated thanks

mika
___
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] Spinning wheel

2005-11-24 Thread Jim Berkey

Here's a google link you might find some useful info at:
http://int.cysd.k12.pa.us/mummert/wof/wof.swf
http://int.cysd.k12.pa.us/mummert/wof/wof.fla


- Original Message - 
From: quinrou . [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, November 24, 2005 5:01 AM
Subject: Re: [Flashcoders] Spinning wheel


u could even use the motion tween prototypes (http://laco.wz.cz/tween/) or
fuse (http://www.mosessupposes.com/Fuse/) to get the rotation motion and use
one of the robert pernner easing equation in order to ease out the rotation
of the wheel.

mind u motion tween will bump up ur file size by 6k straight away and fuse
will bump it up by ~14k.

check out those 2 packages they are pretty handy.

good luck


On 11/24/05, Eric E. Dolecki [EMAIL PROTECTED] wrote:


Don't think I need Flade to pull this off. Although its nice.

What I whipped up so far:

import Timer;

function randomize( min:Number, max:Number ):Number {
var generator = Math.random()*(max-min);
generator = Math.round(min+generator);
return generator;
}

function spin():Void {
// Spinning time between 10 and 20 seconds
var nTime = randomize( 1, 2 );
var newTimer = new Timer();
var friction = nTime/200;
wheel.onEnterFrame = function(){
this._rotation += friction;
friction -= friction/30;
if (!newTimer.end){
newTimer.wait( nTime );
} else {
//trace( nTime/1000 +  secs passed!);
trace(this._rotation);
delete this.onEnterFrame;
}
}
}

spin();

Now, the divisions are merely magic numbers - they seem to work
fairly well... but I don't think this is the right way to do it.

Also, if I pick random points on the circle surface, how do I know
which is closest to the top (say the little pointer as centered top
above the wheel)?

edolecki



On Nov 23, 2005, at 8:01 PM, Alias wrote:

 Check out Flade:
 http://www.cove.org/flade/default.aspx

 HTH
 Alias


 On 11/23/05, Eric E. Dolecki [EMAIL PROTECTED] wrote:
 before i code one up myself - does anyone have the basic math for a
 wheel of fortune type of spinning wheel? if it had a flapper that
 would be a bonus. otherwise i can just randomize the total time of
 spin, and let er rip, slowing the rotation down over time. random
 number of possible hits on the wheel.

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