Re: [Flashcoders] Anyone local to Exton, PA?

2010-06-29 Thread Joe Minkiewicz
Not that it helps, but I grew up in West Chester.



On Mon, Jun 28, 2010 at 3:36 PM, Bill S. lists...@fo.com wrote:

 Just wondering if anyone on here is near me (Exton, PA)?

 thanks
 ~Bill

 ___
 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] Mouse.hide() doesn't work in AIR

2010-06-25 Thread Joe Cutting

Hello,
  I've found a bug in Adobe AIR for the Mac. Mouse.hide() doesn't work.
Apparently this is a known bug that has been around for a while and 
there's a work around here:

http://blog.formatlos.de/2008/11/16/air-hiding-the-mouse/

This works ok as long as you start the AIR file from the Finder by 
clicking. However, if you set it to start automatically at login the 
Mouse.hide still
doesn't work. I've tried using an applescript file which runs on 
login to start the application after a delay and it still doesn't work.


This is a critical piece of functionality for any touchscreen kiosk 
so if anyone has any other suggestions I'd be very keen to know
(I'm more of a Windows type than a Mac one so there may be something 
obvious I've missed).


BTW I've tried this on OS 10.4 and OS 10.6, AIR 1.52 and AIR 2.0 
which are all much the same.

Everything works fine on Windows XP.

Cheers

Joe







Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Reverse Compiling

2010-06-23 Thread Joe Minkiewicz
You could also get a free 2GB Dropbox account, put all your current project
files in there, then move them to an external drive when the project's over.
They save every version of your files for (I think) 30 days so it's like a
poor man's version control.

Also, I haven't used the feature yet but the shared hosting plan I use for
my personal website includes svn and git repository hosting. If you have
similar you wouldn't have to set up your own server and client to use them.

Later,
Joe




On Tue, Jun 22, 2010 at 1:47 PM, jonathan howe jonathangh...@gmail.comwrote:

 Obvious but perhaps helpful: Installing a source control server on the same
 machine that you're working won't get you too far in terms of disaster
 recovery.

 For the lightweight developer who does not have a setup for a separate
 machine running as a server or hosted solution, I would just recommend the
 usual frequent backups on an external drive. Iterate your fla filenames
 from
 time to time as they can become corrupt. I also use LiveMesh to sync
 between
 several machines, which in essence becomes a cloud-based ersatz backup,
 (although without any provisions for rollback/versioning).

 -jonathan



 On Tue, Jun 22, 2010 at 10:16 AM, Kerry Thompson al...@cyberiantiger.biz
 wrote:

  Gustavo Duenas wrote:
 
   how can I install a subversion server on a mac?
 
  Do you want an SVN client on a Mac, or do you want to have a Mac SVN
  server?
 
  I've installed SVN on a Linux server, and the client on Mac and PC.
  I've never used the Mac as the host, though.
 
  Here's a link to the SVN Mac download page:
  http://subversion.apache.org/packages.html. If you look around a
  bit, there's quite a bit of documentation.
 
  Cordially,
 
  Kerry Thompson
   ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



 --
 -jonathan howe
 ___
 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] Smokescreen: Flash without the plugin

2010-06-01 Thread Joe Minkiewicz
This has begun making the rounds recently but I didn't see it posted here
yet: http://smokescreen.us/.

Check out the demos, it's pretty crazy what they are able to accomplish. I
tried implementing it this morning with some swfs at the place I'm
contracting at but they haven't worked. I do a lot of prototypes of possible
new software that are mainly just glorified slideshows. Some of them play
through even though I have stop points and some only load the first frame
but don't play. I can't wait until the official release so I can play around
some more. Even if it can't handle 100% of what Flash Player can do, for
what I'm doing here it would be great to have the option to play them on an
iPad for presentation purposes.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Swfs not loading in FF on PC

2009-11-20 Thread Joe Minkiewicz
Thank you Zeh! I'll update my boilerplate.



Yes. While loading a SWF using wmode=transparent, loaderInfo doesn't fire
 ProgressEvent.PROGRESS and Event.COMPLETE events for itself inside FireFox.

 The solution is using a separate ENTER_FRAME event to check on the loading
 state. You can read the bytesLoaded and bytesTotal (they're correctly
 updated), it's just the events that never fire.

 This is more or less what I use with a hack event, on top of my normal
 events:

protected function startSelfLoading(): void {
addEventListener(Event.ENTER_FRAME, onSWFLoadingProgressHack,
 false, 0, true); // This is needed because Flash won't fire SWF loading
 events if wmode=transparent!
root.loaderInfo.addEventListener(ProgressEvent.PROGRESS,
 onSWFLoadingProgress, false, 0, true);
root.loaderInfo.addEventListener(Event.COMPLETE,
 onSWFLoadingComplete, false, 0, true);
}

protected function onSWFLoadingProgress(e:ProgressEvent): void {
swfLoadingPhase = e.bytesLoaded / e.bytesTotal;
}

protected function onSWFLoadingProgressHack(e:Event): void {
// This is needed because Flash won't fire SWF loading events if
 wmode=transparent!
swfLoadingPhase = root.loaderInfo.bytesLoaded /
 root.loaderInfo.bytesTotal;
if (swfLoadingPhase = 1) {
// Just for safety's sake, wait a few frames after it has
 finished loading
framesAfterLoaded++;
if (framesAfterLoaded  5) onSWFLoadingComplete(null);
}
}

protected function onSWFLoadingComplete(e:Event): void {
swfLoadingPhase = 1;
removeEventListener(Event.ENTER_FRAME,
 onSWFLoadingProgressHack);
root.loaderInfo.removeEventListener(ProgressEvent.PROGRESS,
  onSWFLoadingProgress);
root.loaderInfo.removeEventListener(Event.COMPLETE,
 onSWFLoadingComplete);
// Show website, etc
}

 Loading secondary SWFs seem to work normally. It's just want the firts SWF
 is loading itself.

 Zeh

 On Thu, Nov 19, 2009 at 3:54 PM, Joe Minkiewicz joe.min...@gmail.com
 wrote:

  I run into this issue a lot (I may have even posted here before asking
 for
  help about it).
 
  Has anyone run into an issue with swfs randomly not loading correctly in
  FireFox on PC? I have one regular client and once in awhile they say the
  swfs don't load—it's always FF on PC, Mac and other browsers work fine.
  I've
  never been able to figure it out. It's not 100% reproducible and on my PC
  virtual machine everything's fine. The best I can come up with is to turn
  off wmode=transparent but sometimes they need that and I'm not sure it's
 a
  real fix.
 
  I'm wondering if it's something to do with how I code the swfs? Maybe
  something to do with the preloader code? But it could also be something
  with
  their computers since they're the ones that see it. Any ideas? I've tried
  google but everything I find is old (FF2) or the fixes don't apply to my
  situation.
 
  Thanks,
  Joe


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


[Flashcoders] Swfs not loading in FF on PC

2009-11-19 Thread Joe Minkiewicz
I run into this issue a lot (I may have even posted here before asking for
help about it).

Has anyone run into an issue with swfs randomly not loading correctly in
FireFox on PC? I have one regular client and once in awhile they say the
swfs don't load—it's always FF on PC, Mac and other browsers work fine. I've
never been able to figure it out. It's not 100% reproducible and on my PC
virtual machine everything's fine. The best I can come up with is to turn
off wmode=transparent but sometimes they need that and I'm not sure it's a
real fix.

I'm wondering if it's something to do with how I code the swfs? Maybe
something to do with the preloader code? But it could also be something with
their computers since they're the ones that see it. Any ideas? I've tried
google but everything I find is old (FF2) or the fixes don't apply to my
situation.

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


[Flashcoders] swfs always open in Flash IDE (snow leopard)

2009-10-21 Thread Joe Minkiewicz
Some time after upgrading to 10.6 all swfs automatically open in the CS4 IDE
when I double click from the finder. I can do a Get Info and change the
default for each file but the Change All button is grayed out. I've tried to
do a google search but no luck as I'm not exactly sure what to search for.
Does this happen to anyone else? I had an issue similar on Leopard when I
installed the standalone debug player but I think I could do the Change All
back then. Thanks,
Joe
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] fullscreen weirdness (solution)

2009-09-03 Thread Joe Cutting
Ok, here's an update on this. I built a test rig and managed to 
reproduce the problem and found out that

it only happens:
- If you're using Firefox (IE and safari are fine)
- If you're NOT using StageScaleMode.NO_SCALE
- If the buttons which call the fullscreen change are using 
MouseEvent.MOUSE_DOWN, it doesn't happen if they're using MouseEvent.CLICK


So the solution is to make sure that the buttons you use to select 
fullscreen mode are using MouseEvent.CLICK not MouseEvent.MOUSE_DOWN.


This still leaves me with two versions - the SwfObject one and the 
CS4 Javascript one. The links are below:

CS4 Javascript
http://www.joecutting.com/demos/MySpace/starLoader.html
SwfObject
http://www.joecutting.com/demos/MySpace/starLoaderSO.html

Ian reported problems with the Javascript version and Chrome. I'd be 
interested to hear if anyone else has problems with one or the other.


Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Fullscreen wierdness

2009-09-02 Thread Joe Cutting

Hello,
  I'm having some problems with full screen mode. I've got a game 
which really needs to be played in fullscreen mode.
So users have to press a button at the start which sets fullscreen 
mode. They can close it at any time by pressing a close button

which makes it smaller again but redisplays the original fullscreen button.

So what's happening is this:

1) User presses the fullscreen button - flash goes to fullscreen
2) User plays game, all the active areas work, no problem
3) User clicks the close button - flash stops going fullscreen
4) User presses the fullscreen button - flash goes fullscreen
*** Weird unexpected behaviour here ***
5) User clicks on an active area - flash stops going fullscreen by 
itself - none of my close code is being called

6) User clicks the fullscreen button - flash goes into fullscreen mode
7) User plays game, active areas work normally, flash stays in fullscreen mode

You can try this yourself at:
http://www.joecutting.com/demos/MySpace/starLoader.html

If anyone has any ideas why flash ends fullscreen mode, I'd be very 
grateful. As I said, I'm 99% certain that my code isn't explicitly 
ending the fullscreen
mode although there maybe something else I'm doing which causes flash 
to revert.


Any suggestions welcome

Cheers

Joe




Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] fullscreen weirdness

2009-09-02 Thread Joe Cutting


You're definitely doing something peculiar - in Chrome, after I click
to go fullscreen on your movie, nothing is clickable at all! I have to
press Esc to get out of full screen. In Firefox it seems to work okay.

I'd switch to using SWFObject for embedding your movie in HTML; that's
what I use, and I've had no problems with full-screen usage on any
browser.

Thanks for looking into this. The complex javascript I was using is 
the default which is generated by

Flash CS4!
I've had a go at making a SWFObject version and also tested in 
Internet Explorer 8.

Here's the SwfObject version:
http://www.joecutting.com/demos/MySpace/starLoaderSO.html
and here's the CS4 javascript original
http://www.joecutting.com/demos/MySpace/starLoader.html

IE8 doesn't have a problem with either version. Firefox 3.52 has the 
same problem with both versions, except that sometimes

the flash disappears completely with the SO version.

Any more thoughts would be appreciated

Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] swf not loading in Firefox on Windows

2009-08-03 Thread Joe Minkiewicz
Hey Everyone,   Have any of you encountered a problem where swf content
won't load properly in Firefox (2.x and/or 3.x) in WIndows? I've handed off
a swf to a client but they come back and said it stays on the 'loading'
screen for some people. I found this article:
http://news.cnet.com/8301-17939_109-10027752.html but my swf doesn't contain
any flvs. I can't think of a reason that it would act differently in
different browsers. (Isn't that the point of using flash in the first
place?) My only guess so far has been to check for errors in the embed code
but nothing seems out of place. Any of suggestions?
Thanks,
Joe
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] OT Philadelphia opportunities: contract and permanent

2009-02-28 Thread Rinaldi, Joe
Hello all,
 
A Flash developer I put a lot of stock in suggested I reach out to you all and 
your vast network regarding a few opportunities in and around Philadelphia.  
 
It looks like the sluggish economy is finally starting to dust itself off and 
get off its rear end.  As a result I'm working on one permanent position and a 
few contract roles available immediately.  Some of the contract work can be 
completed remotely if you're available for periodic on-site meetings.
 
If you or a colleague is an ActionScript developer with some exposure to Flex 
(cross platform to hand held devices a plus) and you're interested in 
partnering with a creative staffing/consulting resource please reach out or 
have them reach out to me directly.  
 
You can learn more about my company here:
 
http://www.aquent.com
 
and you can reach me at:
 
jrina...@aquent.com
http://www.linkedin.com/in/joerinaldi http://www.linkedin.com/in/joerinaldi 
 
Thanks for your time!
 
Joe Rinaldi
 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: Flash White Screen of Death

2009-01-02 Thread Joe Cutting
I can confirm that Adobe has released an update which fixes this 
problem in Flash CS4.
The version they initially shipped on CD still had the problem but 
the update fixes it.

No news on an update for CS3 - I haven't tried the Java fix so it might do it.

Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-24 Thread Joe Cutting


What you've got here is the case of a corrupted library item.  It happens
sometimes and there's only one thing you can do about it.

What we had to (and you have to) do is go through your library symbols one by
one, deleting each one until you find the sucker, and then replacing 
it if need

be.

Thank you for this. It's good to know that I'm not the only one who's 
had this. I also gives me
some way of looking for the problem. Currently my library has 297 
items and removing them isn't straightforward because they're 
referenced in the code so it creates knock on errors. So it may all 
take some time.


Presumably this type of thing will get better with flash CS4 as 
.fla files will become an open XML based format and we'll be able 
to write out our own validators/checkers.


Cheers

Joe




Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: flash project with Ecard component

2008-07-24 Thread Joe Cutting

 I was curious if
 anyone had done something similar or any ideas on how to go about this?
 I'm having trouble deciding what technology to use (database xml or text
 files)
 to store the data in. a webdeveloper friend of mine says the message
 could be encoded in the url itself, if anyone out there has any prior
 experience
Yes, I've done this just as you said by encoding the message in the url.
You can try it here.

http://www.thebuzzwebsite.co.uk/getinvolved/ReadEmail.php

The php ends up being very simple as you don't have to store every message.
The downsides are:
- You need to encode the message within the url otherwise people can 
just read it in the url
- You need to restrict the length of the message otherwise the url 
ends up being really long. This is not a problem for the browser but 
can be a problem if the url gets emailed.

- You don't have a record of what was sent in case of abuse

However, this one has been up and working for 6 months now and the 
client's happy so its not a bad way to go.


Cheers

Joe




Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-23 Thread Joe Cutting
I've suddenly started having a very serious problem with a large 
project I'm working on in Flash CS3 (Flash 9- AS3)


When I go to test movie the project compiles ok but ignores all the 
Actionscript in the file
When I try debug it comes up with You cannot debug this SWF because 
it does not contain Actionscript


I've tried:
- saving and compacting
- Deleting the ASO files
- Copying everything to a new fla
- Unchecking the Reduce file size and increase performance box

The only thing I've found is that if I copy only a few library items 
to a new file that file doesn't have the problem - but it
doesn't seem particularly consistent. If I add items until the 
problem occurs it doesn't always go away when I remove them.


I'm also getting occasional 5003: Unknown error generating byte 
code cropping up


I've noticed that several other people have been having this problem:
http://www.actionscript.org/forums/showthread.php3?t=161118

As I said the project is large, but not enormous - the fla is about 
3.5MB and the swf ends up around 270k.
Are there any known limits to Actionscript code, classes or packages 
that I should be aware off.


Any suggestions would be great because I'm tearing my hair out. The 
only thing I've seen that I haven't tried is switching to Flex

which really isn't ideal at this stage in the project.

Cheers

Joe





Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: Best AS3 MenuBar component for Flash CS3

2008-05-09 Thread Joe Cutting


I've been pretty impressed with the Jumpeye components
(www.jumpeyecomponents.com), but I'm not sure if the menu components come
with a skin that looks like the other CS3 components. They're really easy to
skin, though.

Thanks for this I had a look at the jumpeyecomponents but like you I 
couldn't see a way of making them fit with the rest of the CS3 
components. Since I first posted I've made some more progress with 
the ASTRA components. It seems it is possible to use check, disable 
and instancName with the menu - it just isn't documented. For the 
record you can use the same property names as for the AS2 menu component.

Eg:
menuitem label=red type=check instanceName=redInstance  /
menuitem label=orange enabled=false/
menuitem label=yellow type=check selected=true /

Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681

As of 31st May 2007 we have another new office
so please note our new address.
Phone number and email stay the same.  
___

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


[Flashcoders] Best AS3 MenuBar component for Flash CS3

2008-05-08 Thread Joe Cutting

Hello,
  I'm looking for recommendations for a menu bar component for Flash 
CS3. I'm looking for something
which matches the graphic look of the other Adobe UI components. I'd 
also like something which is very flexible and doesn't need your 
whole UI to be part of its framework.
I've been looking at the Yahoo Astra components 
(http://developer.yahoo.com/flash/astra-flash/) and they look pretty 
good but I'm having problems working out how to get fine control over 
them - for example how to I set a particular menu item to be checked?


Any recommendations welcome - I'm interested in commercial as well as 
free products.


Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681

As of 31st May 2007 we have another new office
so please note our new address.
Phone number and email stay the same.  
___

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


[Flashcoders] [OT] Improve my design skills

2007-08-17 Thread Joe Cutting


I'm currently mainly a coder, but I also love graphics design and design in
general. I would love to improve my overall design awareness. Does anyone
have any book (or any other resource such as website, magazine, mailing
list, whatever) to recommend ? If so, I would be grateful!

By far the best books for non designers to learn the nuts and bolts 
of graphic design are

The Non-Designers Design Book and
The Non-Designers Type Book
both by Robin Williams.
available from Amazon and elsewhere.
For those of us coming from an engineering the step by step approach 
these books will teach you
far more than the traditional be inspired by this approach to 
graphic design. Those coming from a design

background will probably find it a bit narrow.

Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681

As of 31st May 2007 I have another new office
so please note my new address.
Phone number and email stay the same.  
___

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] Can you reactivate my account please

2007-07-29 Thread Joe Wheeler
Thanks,

 

Joe

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

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


[Flashcoders] Re:Displaying Chinese character set via XML

2007-07-26 Thread Joe Cutting


I cannot get a dynamic text field to display Chinese characters from
XML. Results vary from question marks in the field, to undefined,
to blank. What should happen is that Flash derives elements from the
XML and displays them in the textfield. I'm using XMLSA to parse the xml.

I've no experience of importing chinese characters from XML but I did 
once do something similar with
Azeri (as spoken in Azerbaijan). I seem to remember having problems 
with Textpad as an XML editor and
ended up using a freeware editor called Notepad++ (google it). Can't 
remember the exact issue but it was something to do with unicode encoding.


Hope that helps

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681

As of 31st May 2007 I have another new office
so please note my new address.
Phone number and email stay the same.  
___

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] Entry level flash programming position in York, UK

2007-06-13 Thread Joe Cutting
We're a small, friendly company who create computer exhibits and 
installations for museums and public spaces and we're looking for a 
entry level actionscript programmer. This position would suit a 
recent graduate.

Previous projects have involved:

-Giving children a 5000v electric shock
-Simulating the Scottish Grand Prix
-Racing round the walls of York
-Building Have I got news for you in Newcastle
-Putting cartoon mice in the Science Museum

More details at http://www.joecutting.com/programmingjob.asp
Only applicants able to work on site will be considered.



Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681

As of 31st May 2007 I have another new office
so please note my new address.
Phone number and email stay the same.  
___

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

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


[Flashcoders] Re: Special font issue

2007-06-04 Thread joe
Tom,


Yes it is correct. But it doesn't work...The whole text is displayed
correctly in the right font but euro signs are just leftout.
while plain static text displays the euro sign perfectly..

I spent some time on this problem and eventually solved it. I can't remember
the details but the solution is based on two key bits of information

There are actually two character codes for the Euro symbol - a unicode one and
an ASCII one. Different typefaces have them in different places:

So I use character code \u20AC to put a Euro in the menu (AS2 menu component)
And character code \u00A4 to insert a euro character in Futura.

I found the only reliable way to embed the Euro character is to create a dummy
dynamic textfield with the Euro in it and set to your specified font and
typestyle (bold etc). Make sure the font is embedded and explicitly specify
the euro in the emded box.

Hope this is helpful

Joe


___
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] Detect Flash version in AS3

2007-05-23 Thread Joe Cutting

Hello,
  I'm building a web project in AS3 using Flash CS3. Originally my idea was
that the swf would do a version check at the start of the program and 
if the user wasn't running

Flash 9 they would be redirected to download the upgrade.
Now, I've done some thinking about this and realised that if the user 
isn't running Flash 9 then they
won't be able to run the swf at all so it wouldn't be able to run the 
version check.
Can anyone confirm that this is the case? If so it looks like that 
the only ways to check if

users can run AS3 swfs are:
- use some kind of javascript like SWF Object
- use another version detection swf written in AS2. My understanding 
is that this would have to call the

AS3 swf rather than wrapping it.

I'd be interested to know how other people have got on with this issue.

Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

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 and USB port

2007-05-18 Thread Joe Lister
Director can almost certainly access USB ports, probably via an Xtra 
(director plugin).  Perhaps you could embed your flash in a Director 
movie?  You would have to do some Lingo coding to access act as a bridge 
between the USB and flash, but these days there is a pretty good set of 
Lingo commands for interacting with actionscript.


Joe

Pedro Furtado wrote:

Usb is like a serial port. So zinc does support it, dunno about mProjector.
Try it with hyperterminal.

hth

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of quinrou .
Sent: sexta-feira, 18 de Maio de 2007 10:41
To: Flashcoders mailing list
Subject: [Flashcoders] flash and USB port

Hi all,

I was wondering if anyone knew how can Flash 8 or 9 can access the USB port?
Would I need to use a third party software such as ZInc or mProjector?

I had a look at Zinc and mProjector and it looks like none of them are
supporting USB. Does anyone know which application would do that?

Many thanks
seb
___
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] First bug in Flash CS3?

2007-05-10 Thread Joe Cutting

Hello,
 I think I've found the first bug in flash CS3. To reproduce it, 
open a new Actionscript File document and paste in this:


package {

public function distanceAbove(other:Item):Number {
return (myY + myHeight / 2.0) - (other.myY - 
other.myHeight / 2.0);

}

}

Checking the syntax should produce no errors.
Now click the AutoFormat button and you should get:

package {
public function distanceAbove(other:Item):Number {
return myY + myHeight / 2.0 - other.myY - 
other.myHeight / 2.0;

}

}

Which is different code which will produce a different result.

Solution: Don't use the AutoFormat which isn't the end of the world 
but is reminiscent of the the AutoFormat bug in Flash 8. Ho Hum.


Here's hoping for a fix soon.

Best wishes

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

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] Pile of Objects Physics

2007-04-26 Thread Joe Cutting

Tom, Robert,
   Thanks for this. I've seen Fisix but was put off by the rather nebulous
we can negotiate licensing terms for commercial projects. Glad to hear
you've used flade successfully. The version number (0.2 alpha) and 
lack of documentation
were a concern but I'll have another look. For those interested the 
other avenues
I found were this guy (http://lab.polygonal.de/category/physics/) who 
has a great engine
in development for a year or so but doesn't look like he's 
distributing it and  Erin Catto
(http://www.gphysics.com/) who has a freeware engine but its in C++ 
and would need translating.


Many thanks for all your advice

Joe

Just a quick note:
Flade is AS2 and is no longer in development.
APE is AS3 by the creator of Flade (Alex Cove).
Fisix is AS3 by another group.

Tom Gooding wrote:
 I think fisix engine is an AS3 continuation of APE. I've used the flade
 library (which I think in turn is the precursor of APE) for some rigid
 body simulations before and it's pretty good (especially if you need to
 support 9 version players), documentation is non existent though, you
 need to look at the example code to infer usage.

 FLADE: http://www.cove.org/flade/




Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

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] Pile of Objects Physics

2007-04-25 Thread Joe Cutting

Hello,
  I'm looking at simulating the physics of a pile of irregular 
objects in Flash. The idea is that you drop irregular object on the 
pile and it decides where to stop, if you remove an object then it 
decides whether the ones above it fall etc.

Has anyone seen any good tutorials, books or code to do this.
I'm aware of the APE project (http://www.cove.org/ape/) but it looks 
a bit over specced and not very finished.
Some one of this list also mentioned the O reilly game physics book 
(http://www.oreilly.com/catalog/physicsgame/) but hadn't trried it out.


I'd be grateful for any pointers to get me started on this.

Cheers

Joe




Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

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

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


[Flashcoders] Re: The great CS3 Swindle

2007-04-02 Thread Joe Cutting
This sort of thing is not new. I remember way 
back in the 1990's when a colleague of mine was 
buying Authorware 4.0 and realised that the US 
version was over $1000 cheaper than the UK one.
He complained to the mailing list and got several 
replies offlist. Most were from US based software 
suppliers saying call me on this number with 
your credit card and we'll ship a copy to you 
directly. One was from Macromedia UK which said 
Please don't buy from the US - we won't support 
you if you do. Given that he wasn't aware that 
they were providing support anyway you can guess what he did.


My feeling is that the price difference comes 
down to the dollar exchange rate. Adobe are a US 
based company and need to get paid in dollars. As 
far as I can see the dollar is currently at 
pretty much an all time low compared to the Euro 
and Pound. Adobes accountants have set the Euro 
price so that the dollar can rise to its previous 
level without Adobe losing out. For the 
accountants this makes sense as their job is to 
maximise revenue - not to worry about customer 
relations. It also assumes that the dollar will 
bounce back - which may or may not happen.


So why doesn't Adobe just change the Euro prices 
as the dollar exchange rate changes? Well 
historically, distributors and customers really 
hate it if the price keeps changing - they have 
to reprint catalogues or put phone for a price 
which is unpopular. However those same 
distributors and customers are noticing that they 
hate it more being overcharged by hundreds of 
dollars and the customers are considering buying 
from abroad which isn't good for the distributors 
either. The other big change is that these days 
I'm willing to bet that most software is bought 
over the web anyway which makes updating the 
price much simpler. So my suggestion is that 
Adobe should abandon fixed prices for non-dollar 
customers and instead say we will recalculate 
prices based on the exchange rate every 6 months 
and will tell you the dates when we do this. 
That way customers don't feel that they're being 
ripped off, the process may be more complex than 
they're like but at least its transparent and open.
Macromedia and Adobe have really pushed the whole 
open and honest approach over the last few 
years with things like the beta preview 
programme, blogs and people like John D. Its a 
shame that the price people haven't caught up. By 
the way has anyone noticed that Microsoft's 
pricing of Vista in the UK is roughly double the 
US price - of course the difference is that I 
would like to use the new version of Flash...


Well that's my 2 cents or £4.50 for those in the UK...

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

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

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


RE: [Flashcoders] The great CS3 Swindle

2007-03-29 Thread Joe Wheeler
Unfortunately you can't update a European licence with a US update so I'd
have to transfer my existing licences to the US. I'm actually moving to the
states in a few months so I'll just have to wait for a bit.

However there is one interesting thing I found out. Apparently Adobe will be
offering a FREE update to CS3 for anyone that buys CS2 from now until CS3 is
available...


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gustavo
Duenas
Sent: 29 March 2007 02:46
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] The great CS3 Swindle



Hi Joe,  do you have friends in the US? someone with an address, you just
buy the programs in the US with your credit card and then your friends can
send this to you using dhl , fedex or ups, sounds logic?  
I used to do that several times buying programs when I was living in
Ecuador, South America..or you can just go on vacation and shopping Spree!!!

heheheh!

Regards


Gustavo Duenas


When I was living in the
On Mar 28, 2007, at 10:27 AM, Joe Wheeler wrote:

 Has anyone checked out the international prices on CS3?

 I can hardly believe how badly the UK is getting fleeced.

 I'm upgrading from CS1 Creative Suite and Studio 8 to CS3 Design 
 Premium. In the US that's $599.00 dollars, but in the UK pounds it 
 works out to £703.82.
 Take the exchange rate into account and UK customers are paying...


 1,384.51 USD!!!

 Sales tax in the UK is 17.5% but the Adobe price hike is a whopping 
 231% - W T F?

 ___
 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] Image resizer that maintains ratio

2007-03-29 Thread Joe Wheeler
Would that optimize it?  I could be wrong but I thing both these version's
would compile to the same byte code.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
| BLITZ
Sent: 29 March 2007 01:52
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Image resizer that maintains ratio

mc._width = maxW;
mc._height = maxH;
(mc._xscale  mc._yscale) ? mc._xscale = mc._yscale : mc._yscale =
mc._xscale;
 

 
 You could probably optimize a little bit by removing the Math 
 function...
 
 mc._width  = maxW;
 mc._height = maxH;
 if ( mc._xscale  mc._yscale ) {
   mc._xscale = mc._yscale;
 }
 else {
   mc._yscale = mc._xscale;
 }
 
 I don't think I can be done more effiently than that. Anyone?
___
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] The great CS3 Swindle

2007-03-29 Thread Joe Wheeler
I'm not sure - I think it only counts to products bought since the CS3
announcement. Give your local Adobe online store a ring and see what they
say.

J

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel
Sent: 29 March 2007 09:11
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] The great CS3 Swindle

does this apply if you bought studio 8 as well in the last 2 weeks :s

On 3/29/07, Joe Wheeler [EMAIL PROTECTED] wrote:

 Unfortunately you can't update a European licence with a US update so 
 I'd have to transfer my existing licences to the US. I'm actually 
 moving to the states in a few months so I'll just have to wait for a 
 bit.

 However there is one interesting thing I found out. Apparently Adobe 
 will be offering a FREE update to CS3 for anyone that buys CS2 from 
 now until CS3 is available...


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo
 Duenas
 Sent: 29 March 2007 02:46
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] The great CS3 Swindle

 

 Hi Joe,  do you have friends in the US? someone with an address, you just
 buy the programs in the US with your credit card and then your friends can
 send this to you using dhl , fedex or ups, sounds logic?
 I used to do that several times buying programs when I was living in
 Ecuador, South America..or you can just go on vacation and shopping
 Spree!!!

 heheheh!

 Regards


 Gustavo Duenas


 When I was living in the
 On Mar 28, 2007, at 10:27 AM, Joe Wheeler wrote:

  Has anyone checked out the international prices on CS3?
 
  I can hardly believe how badly the UK is getting fleeced.
 
  I'm upgrading from CS1 Creative Suite and Studio 8 to CS3 Design
  Premium. In the US that's $599.00 dollars, but in the UK pounds it
  works out to £703.82.
  Take the exchange rate into account and UK customers are paying...
 
 
  1,384.51 USD!!!
 
  Sales tax in the UK is 17.5% but the Adobe price hike is a whopping
  231% - W T F?
 
  ___
  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




-- 
j:pn
http://www.lennel.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] Free Upgrade CS2 to CS3???

2007-03-29 Thread Joe Wheeler
It was what the guy at the Adobe Store (UK) told me - he was trying to
pacify me after the whole US/US price thing - I hope it wasn't a lie! 

I was looking at Design Premium and he offered me an upgrade to CS2 for £492
and told me quote a free upgrade will be available to customers that buy
CS2 until CS3 becomes available. Still nearly double the US price for CS3
but I digress...

Macromedia did offer a deal exactly like that we I upgraded from Flash 7 to
Flash 8. I had 45 days to fax over a proof of purchase. Of course I ended up
forgetting and forking out the full price about six months later.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Hoffman
Sent: 29 March 2007 18:06
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Free Upgrade CS2 to CS3???

I hope the information I just got is wrong, so please post here if you learn
anything different from Adobe.

I just had a long talk with Deborah at US Adobe sales and she was unable to
find any free update offer from CS2 to CS3, regardless of how recently one
had purchased CS2.

The best US price she could find for an upgrade was $799, and that was going
from CS2 Production Premium to CS3 Production Premium. All other upgrade
paths are called upsell rather than upgrade because
CS3 Production Premium includes more applications.

So, I have Studio 8 Pro, Photoshop CS, Premiere Pro 1.5, Audition 1.5, and
an old version of Illustrator, and it appears the cheapest I can upgrade to
the CS3 Production Premiere will be $1199 US. I guess it could be worse -- I
could be living in Europe.

I would LOVE to hear that I'm wrong, and that there actually is a free
update if I buy CS2 Premium or CS2 Production Premium in the next few days.
That would save me a small bundle.

Marc Hoffman

At 12:11 AM 3/29/2007, you wrote:

However there is one interesting thing I found out. Apparently Adobe 
will be offering a FREE update to CS3 for anyone that buys CS2 from 
now until CS3 is available...


___
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] Scaling Up an Image in Proportion to width or height

2007-03-29 Thread Joe Wheeler
Or, if it's a movieclip you're working with you can simply:

Scale the width..

_width = 500

And then set the height using the scale property

_yscale = _xscale

Works up and down

j
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
| BLITZ
Sent: 29 March 2007 18:42
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or
height

Simple.

You solve for the ratio:

var ratio:Number = _width / _height;


You resize the _width:

_width = Math.max(newWidth, 500);


You set _height to the _width * ratio:

_height = _width * ratio;


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] Free Upgrade CS2 to CS3???

2007-03-29 Thread Joe Wheeler
Sorry I think my last post crossed yours in the ether. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lars Schwarz
Sent: 29 March 2007 18:46
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Free Upgrade CS2 to CS3???

thanks mick. i agree. let's make this the last post on cs3 prices please.

Am 29.03.2007 um 19:26 schrieb Mick G:

 I'm just wondering if all the CS3 talk is getting a little out of 
 control for this list. I understand it's a tool we all use, but I 
 personally like to see this list closer to the flashcoding topic 
 rather than discussing our favorite Adobe applications and upgrade 
 paths.

 I don't want to start a huge thread on debating the rules of the list, 
 just throwing a suggestion out there.

 :-)


 On 3/29/07, Marc Hoffman [EMAIL PROTECTED] wrote:

 I hope the information I just got is wrong, so please post here if 
 you learn anything different from Adobe.

 I just had a long talk with Deborah at US Adobe sales and she was 
 unable to find any free update offer from CS2 to CS3, regardless of 
 how recently one had purchased CS2.

 The best US price she could find for an upgrade was $799, and that 
 was going from CS2 Production Premium to CS3 Production Premium. All 
 other upgrade paths are called upsell rather than upgrade because
 CS3 Production Premium includes more applications.

 So, I have Studio 8 Pro, Photoshop CS, Premiere Pro 1.5, Audition 
 1.5, and an old version of Illustrator, and it appears the cheapest I 
 can upgrade to the CS3 Production Premiere will be $1199 US. I guess 
 it could be worse -- I could be living in Europe.

 I would LOVE to hear that I'm wrong, and that there actually is a 
 free update if I buy CS2 Premium or CS2 Production Premium in the 
 next few days. That would save me a small bundle.

 Marc Hoffman

 At 12:11 AM 3/29/2007, you wrote:

 However there is one interesting thing I found out. Apparently
 Adobe
 will
 be
 offering a FREE update to CS3 for anyone that buys CS2 from now
 until
 CS3
 is
 available...


 ___
 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

bitrocker  typographique
Lars Schwarz
Gottorpstrasse 20
26122 Oldenburg
T +49(0)441 2171 354 0
F +49(0)441 2171 354 2
M [EMAIL PROTECTED]
W www.bitrocker.com
W www.typographique.de




___
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] Image resizer that maintains ratio

2007-03-28 Thread Joe Wheeler
You could probably optimize a little bit by removing the Math function...

mc._width  = maxW;
mc._height = maxH;
if ( mc._xscale  mc._yscale ) {
mc._xscale = mc._yscale; 
} 
else {
mc._yscale = mc._xscale;
} 

I don't think I can be done more effiently than that. Anyone?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman
Sent: 27 March 2007 16:06
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Image resizer that maintains ratio

ok, thanks joe for the explanation. Seems a lot of static / redundancy is
being generated by what you describe.

On 3/27/07, Joe Wheeler [EMAIL PROTECTED] wrote:

 I think the problem is the length of time it's taking for post to appear.
 Some of my posts have been going missing for a long time before 
 showing up.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Hans 
 Wichman
 Sent: 27 March 2007 08:23
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] Image resizer that maintains ratio

 The more I read these post, the more I wonder whether people actually 
 read what others have already replied.

 On 3/26/07, Joe Wheeler [EMAIL PROTECTED] wrote:
 
  Here's how I do it:
 
  function maintainAspect ( mc:MovieClip, maxW:Number, maxH:Number ) 
  :Void {
 mc._width  = maxW;
 mc._height = maxH;
 mc._xscale = mc._yscale = Math.min( mc._xscale, mc._yscale ); 
  }
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Guilherme Cruz
  Sent: 26 March 2007 18:15
  To: flashcoders@chattyfig.figleaf.com
  Subject: Re: [Flashcoders] Image resizer that maintains ratio
 
  The _scale property is a percentage value if you have a 800x600 
  image and set _xscale=50 and _yscale=50, you get a 400x300 image
 
 
 
 
  On 3/26/07, Hans Wichman  [EMAIL PROTECTED] wrote:
  
   Hi,
   that IS weird, because if your image is 800x600, you are saying:
  target_mc._xscale = target_mc._yscale = 800;
  
   which is probably not what you want^^
  
   greetz
   JC
  
  
   On 3/26/07, eric e. dolecki [EMAIL PROTECTED] wrote:
   
Ok that is SO weird. I was just thinking about this...
   
myListener.onLoadInit = function( target_mc:MovieClip ):Void {
   target_mc._xscale = target_mc._yscale = Math.max( 
target_mc._width, target_mc._height ); };
   
- Eric
   
   
On 3/26/07, Adrian Lynch [EMAIL PROTECTED] wrote:

 Any examples out there?

 I've got as far as resizing a user supplied image and am about 
 to work
on
 the ratio remaining fixed. Just thought I'd throw this out 
 there as I think it may be tricky.

 Ta.

 Adrian

 ___
 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 e. dolecki
senior interactive engineer
http://www.ericd.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
  
  ___
  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

[Flashcoders] The great CS3 Swindle

2007-03-28 Thread Joe Wheeler
Has anyone checked out the international prices on CS3?
 
I can hardly believe how badly the UK is getting fleeced. 
 
I'm upgrading from CS1 Creative Suite and Studio 8 to CS3 Design Premium. In
the US that's $599.00 dollars, but in the UK pounds it works out to £703.82.
Take the exchange rate into account and UK customers are paying...


1,384.51 USD!!!

Sales tax in the UK is 17.5% but the Adobe price hike is a whopping 231% - W
T F?
 
___
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 find yesterday?

2007-03-27 Thread Joe Wheeler
var yesterday:Date;
yesterday = new Date();
yesterday.setDate( yesterday.getDate() - 1 );



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Stuhr
Sent: 27 March 2007 10:19
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] How to find yesterday?

[EMAIL PROTECTED] schrieb:
 Is this simple?
 
 cur_day = new Date();
 //trace(cur_day.getDate());
 Var1=cur_day.getDate()-1;//27
 trace(var1);//26

the above doesn't take into account Day 1 of the current Month:

function getYesterday ()
{
var t:Date = new Date ();
var daysBack:Number = 1;
var today:Date = new Date (t.getFullYear (), t.getMonth (),
t.getDate
() - daysBack);
return (today.getDate ());
}


cheers

micha
___
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] Image resizer that maintains ratio

2007-03-27 Thread Joe Wheeler
I think the problem is the length of time it's taking for post to appear.
Some of my posts have been going missing for a long time before showing up. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman
Sent: 27 March 2007 08:23
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Image resizer that maintains ratio

The more I read these post, the more I wonder whether people actually read
what others have already replied.

On 3/26/07, Joe Wheeler [EMAIL PROTECTED] wrote:

 Here's how I do it:

 function maintainAspect ( mc:MovieClip, maxW:Number, maxH:Number ) 
 :Void {
mc._width  = maxW;
mc._height = maxH;
mc._xscale = mc._yscale = Math.min( mc._xscale, mc._yscale ); }



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Guilherme Cruz
 Sent: 26 March 2007 18:15
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] Image resizer that maintains ratio

 The _scale property is a percentage value if you have a 800x600 
 image and set _xscale=50 and _yscale=50, you get a 400x300 image




 On 3/26/07, Hans Wichman  [EMAIL PROTECTED] wrote:
 
  Hi,
  that IS weird, because if your image is 800x600, you are saying:
 target_mc._xscale = target_mc._yscale = 800;
 
  which is probably not what you want^^
 
  greetz
  JC
 
 
  On 3/26/07, eric e. dolecki [EMAIL PROTECTED] wrote:
  
   Ok that is SO weird. I was just thinking about this...
  
   myListener.onLoadInit = function( target_mc:MovieClip ):Void {
  target_mc._xscale = target_mc._yscale = Math.max( 
   target_mc._width, target_mc._height ); };
  
   - Eric
  
  
   On 3/26/07, Adrian Lynch [EMAIL PROTECTED] wrote:
   
Any examples out there?
   
I've got as far as resizing a user supplied image and am about 
to work
   on
the ratio remaining fixed. Just thought I'd throw this out there 
as I think it may be tricky.
   
Ta.
   
Adrian
   
___
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 e. dolecki
   senior interactive engineer
   http://www.ericd.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
 
 ___
 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] actionscript/flash performance

2007-03-27 Thread Joe Wheeler
2200 clips is a lot - I'm not surprised you're running into problems. There
is quite a large overhead with each movieclip you instantiate (anyone know
how many kb an individual mc weighs?).

I think your idea of using a single clip is a much better idea. You'd have
to clear() and redraw from scratch each time there's an update but with a
clever bit of animation you could probably make that manageable (if you only
plotted 100 points per frame at 31fps, you should be able to achieve roughly
3100 points/second ). I'd create a flyweight class to abstract the shapes
you have been drawing into the pen movieclips - essentially it would just
hold the point data (call it PenData?). I'd then create and update loop
which runs through the PenData instances and draws them at a rate of 100 per
frame into your single movieclip. Next time there's an update, clear the
movieclip and start again...

You are pushing the limits but I think it's worth trying. 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael King
Sent: 27 March 2007 17:57
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] actionscript/flash performance

Hey all,

I finally have a question to ask!

I'm working on a project that, in simplest terms, is an event visualizer. 
It takes event data coming in from an XMLSocket (or a standard PHP script
pulling from a database for replays), creates an empty movie clip, stores
it in a simple object/array combination to aide in timestamping, then it
uses removeMovieClip() to discard the clip when it's a minute or so old.

Warning, I'm a complete noob when it comes to ActionScript, I have a little
bit of Javascript experience, and a good amount of PERL and Python, so I can
handle criticisms, and hopefully they can be explained in a language I
understand. :)

I have three keyframes, 1, 2 and 20, with 20 being the loop back to give me
a nearly one second tick mark, when things are not overloaded.

At 1, I instantiate an Array (_root.lines), import WDDX, and create a custom
function on the MovieClip prototype for some initial markers, along with a
few longitude/latitude-to-map-coordinates functions, and a function for
drawing curved vectors.  I initialize some starting points for some global
counters on _root here, as well.  Lastly, there's a map of the globe for the
scene background, and the custom function marks three locations on the map.

At 2, I populate the initial location marks at level 1, calculate the
current date/time by instantiating Date(), and store the results on _root
for later retrieval (we'll call it _root.ratio_start).  I then pull in the
data stream, currently I limit it to 2500 lines (events, really, it can be a
little more than 500 characters in XML per event).  I calculate the start
point (one of the three marks) based on the data provided, then use the
latitude and longitude calculate an end point.  Here's the part I'm not sure
is the most efficient:

// Increment the counter to give us a pseudo-unique number.
_root.counter++;
// make a timestamp
date_now = new Date();
// make an empty movie clip with a unique, but dynamic, name pen =
createEmptyMovieClip(vector_ + root.counter + _mc, root.counter+2); //
Set the line style pen.lineStyle(2,0x00CC00); // Store it in a simple object
for later retrieval and timestamp comparison container = {pen: pen,
timestamp: date_now); // Pus it into the lines array.
_root.lines.push(container);
// Draw the vector
curvePoint(pen, x, y, x, y);


From there, it just moves along with no more code until I get to frame 20:

// make a timestamp
date_now = new Date();
// Get the benchmark up until this point _root.ratio_end = date_now; //
Calculate the ratio between the time it actually took, and one second, for
throttling purposes _root.ratio = 1000 / (_root.ratio_end.getTime() -
_root.ratio_start.getTime()); // _root.millisecondsToMinute = 1000 * 60, get
the fraction  (multiple) of
1 minute.
_root.timeLimit = _root.millisecondsToMinute * _root.ratio; temp_count = 0;

for (i = 0; i  _root.lines.length; i++) {
// Calculate the difference between the current time, and the time
this line was turned into a clip.
timeDiff = date_now.getTime() - _root.lines[i].timestamp.getTime();
if (timeDiff  _root.timeLimit) {
// Keep track of how many we remove for debugging purposes.
temp_count++;
// Remove the movie clip the only way I know how.
_root.lines[i].pen.removeMovieClip();
// remove this entry from the array.
_root.lines.splice(i,1);
}
}

// Occasionally reset the unique counter
if (_root.counter = 32000) {
_root.counter = 0;
}

// Loop back to frame 2, pull more data, etc.
_root.gotoAndPlay(2);


Now, on to my actual question/comment.  I've noticed that if the rate of
incoming data goes above about 2200, it fails to keep up with the
throttling, and will start to bog down.  It will remove 

RE: [Flashcoders] Flash CS3 Announced

2007-03-27 Thread Joe Wheeler
Illustrator had anti-aliased previews ages before Freehand which is why I
switched. Freehand made artwork look clunky on screen which doesn't help the
designer design IMHO. I do still miss the way some of the FH tools worked
though.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
| BLITZ
Sent: 27 March 2007 20:05
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash CS3 Announced

 Freehand was terrible IMO. 

I know quite a few people who feel exactly opposite of you.  They absolutely
hate Illustrator and mourn the loss of what they believe to be a clearly
better product.  My experience is that most people who don't like Freehand
never actually gave it a proper chance or were content because they already
knew Illustrator and couldn't motivate to learn something new that does the
same thing.  

Freehand was ahead of Illustrator in features and ease of use for quite some
time and Freehand forced Illustrator to compete in what was once a monopoly
(Corel Draw?  Yeah, right!).  I don't use either program so I have no
opinion.  :)

Fireworks is different than Photoshop in some key ways.  It's not going away
anytime soon.  At Adobe MAX in Las Vegas last year, Adobe was pretty clear
that Fireworks was not only not going away, it was being given new features
and tighter integration with other Adobe products.
___
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] Image resizer that maintains ratio

2007-03-26 Thread Joe Wheeler
Here's how I do it:

function maintainAspect ( mc:MovieClip, maxW:Number, maxH:Number ) :Void
{
mc._width  = maxW;
mc._height = maxH;
mc._xscale = mc._yscale = Math.min( mc._xscale, mc._yscale );
}



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Guilherme
Cruz
Sent: 26 March 2007 18:15
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Image resizer that maintains ratio

The _scale property is a percentage value if you have a 800x600 image and
set _xscale=50 and _yscale=50, you get a 400x300 image




On 3/26/07, Hans Wichman  [EMAIL PROTECTED] wrote:

 Hi,
 that IS weird, because if your image is 800x600, you are saying:
target_mc._xscale = target_mc._yscale = 800;

 which is probably not what you want^^

 greetz
 JC


 On 3/26/07, eric e. dolecki [EMAIL PROTECTED] wrote:
 
  Ok that is SO weird. I was just thinking about this...
 
  myListener.onLoadInit = function( target_mc:MovieClip ):Void {
 target_mc._xscale = target_mc._yscale = Math.max( 
  target_mc._width, target_mc._height ); };
 
  - Eric
 
 
  On 3/26/07, Adrian Lynch [EMAIL PROTECTED] wrote:
  
   Any examples out there?
  
   I've got as far as resizing a user supplied image and am about to 
   work
  on
   the ratio remaining fixed. Just thought I'd throw this out there 
   as I think it may be tricky.
  
   Ta.
  
   Adrian
  
   ___
   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 e. dolecki
  senior interactive engineer
  http://www.ericd.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

___
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] setting a timer in flash 8

2007-03-26 Thread Joe Wheeler
Don't forget to clear the interval inside the function you call - otherwise
it will repeat on and on. It's also best practice to clear an interval
before you set it (in case it gets set twice). 

If you only want the function called once you can also use
_global.setTimeout( func, time ).

J

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Parvaiz
Patel
Sent: 26 March 2007 13:51
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] setting a timer in flash 8

Hi Gustave,
 
Here is the answer to your query.
 
The best way for any timing related task is to use Interval.
 
Here is the syntax:
var variable name:Number = setInterval(function name to call, time
interval in millisecond);
 
function function name to call(){
 
//do your task here..
 
}
 

 
The following is the example for your inderstanding  testing.
 
 
 
this.createTextField(date_txt, this.getNextHighestDepth(), 10, 10, 100,
22); date_txt.autoSize = true; date_txt.selectable = true;
 
var date_interval:Number = setInterval(updateTime, 500, date_txt);
 
function updateTime(my_txt:TextField) {
my_txt.text = new Date().toString(); trace(my_txt.text); }
 
 
I hope, this is well enough to solve your problem.
 
Thanks  regards,
 
Parvaiz Patel.  
 
 
 
 
 Gustavo Duenas wrote:
 Hi, I'm trying to set a timer to trigger a event after 20 seconds or 
 less, but so far i have this code, but with no results someone help 
 me? .
 I don't know how could I got into but some help might be needed


 this is the code: is inside the first frame of a movie clip and the 4

 frame has: gotoAndPlay(1);


 var now = getTimer();
 var seconds:Number = now/1000;
 var later:Number = seconds+20;
 this.onEnterFrame= function (){
 if(seconds == later){
 trace(llegamos);
}
 }
 trace(seconds);



 Regards


 Gustavo Duenas



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

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



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

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



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

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

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

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


RE: [Flashcoders] Got milk? (the game)

2007-03-26 Thread Joe Wheeler
The burning question is - what was the budget?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mauricio
Furtado Massaia
Sent: 26 March 2007 22:41
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Got milk? (the game)

See how it how it was built at : http://www.h4che.com/Milko/

=P


On 3/23/07, laurent untereiner [EMAIL PROTECTED] wrote:

 Selon Matthias Dittgen [EMAIL PROTECTED]:

  The big plus for this game is the idea.

 It's the key! sure it's technicaly trop fort, but I think the first 
 parameter for a success game is the idea.

 I seek literature on this subject, some ideas?


  And there's too much preloading which lasts too long, even with fast
 DSL.
  That's annoying.
  The big plus for this game is the idea.
 
  2007/3/22, Kerem Ýþeri [EMAIL PROTECTED]:
   Really amazing game but i dont think there is hard programming 
   behind
 it.
   Maximum 2 developer can handle the coding. I think graphics and 
   3d's
 are so
   cool. It takes a lot of time to get these kind of qualified and
 optimized
   renders. Its beautiful.
  
   Respect!! :)
  
   Kerem.
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of 
   [EMAIL PROTECTED]
   Sent: Thursday, March 22, 2007 4:16 PM
   To: flashcoders@chattyfig.figleaf.com
   Subject: RE: [Flashcoders] Got milk? (the game)
  
   WOW!
  
  
   http://www.gettheglass.com
  
   How much time for this game project? How much developer?
  
   C'est magnifique!
  
   --
   Laurent Untereiner
  
skype : laurentuntereiner
aim   : luntereiner
icq   : 294429730
msn   : [EMAIL PROTECTED]
  
http://www.untereiner.com 
  
   mes photos sur fotolia: http://www.fotolia.fr/p/116/partner/116
   ___
   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
  
   __ NOD32 1.1391 (20060201) Information __
  
   This message was checked by NOD32 antivirus system.
   http://www.eset.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
  
 


 --
 Laurent Untereiner

  skype : laurentuntereiner
  aim   : luntereiner
  icq   : 294429730
  msn   : [EMAIL PROTECTED]

  http://www.untereiner.com 

 mes photos sur fotolia: http://www.fotolia.fr/p/116/partner/116
 ___
 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] Got milk? (the game)

2007-03-23 Thread Joe Wheeler
That dice is cheaty! It's a dirty cheaty dice.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kerem Iseri
Sent: 22 March 2007 19:25
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Got milk? (the game)

Really amazing game but i dont think there is hard programming behind it.
Maximum 2 developer can handle the coding. I think graphics and 3d's are so
cool. It takes a lot of time to get these kind of qualified and optimized
renders. Its beautiful.

Respect!! :)

Kerem.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 4:16 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Got milk? (the game)

WOW!


http://www.gettheglass.com

How much time for this game project? How much developer?

C'est magnifique!

--
Laurent Untereiner

 skype : laurentuntereiner
 aim   : luntereiner
 icq   : 294429730
 msn   : [EMAIL PROTECTED]

 http://www.untereiner.com 

mes photos sur fotolia: http://www.fotolia.fr/p/116/partner/116
___
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

__ NOD32 1.1391 (20060201) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.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] High CPU usage problems

2007-03-23 Thread Joe Wheeler
Triple check the intervals - they are notorious for causing problems.

It's always a good idea to clear intervals before you set them - that way if
they accidentally get set twice you'll know the first one will get
cleared...

clearInterval( myInt );
myInt = setInterval( myFunc, 1000 )


J



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Makely
Sent: 22 March 2007 16:04
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] High CPU usage problems

If you are doing a lot of createEmptyMovieClip() and attachMovie(), then
make sure that those movieclips are getting removed when you are done with
them.  If you are fading those clips away, but never removing them from the
stage with removeMovieClip() (*not* delete), CPU performance will surely
suffer as the number of invisible movieclips increases.

Also double-check to see if your intervals are actually getting cleared.  If
you are using intervals to do multiple tweens, make sure that they ALL get
cleared.  Also beware of intervals declared in loops because if you are not
careful, you can overwrite an interval with a new one.  This leaves the
previous one uncleared and unaccessible as well.

--
andy makely

On 3/22/07, Carl Welch  [EMAIL PROTECTED] wrote:


 I programmed the Portfolio Section. Bring up the task manager and 
 watch the performance graph. You can watch it start to bogg down after 
 a while of clicking around the portfolio section. Its loading xmls 
 (one for the Side
 Menu) and the other for the thumbnails and theire respective data. 
 There are quite a few createMovieClips and AttachMovieClips and some 
 setIntervals - which I do clear when I'm done. When I create a tween 
 object I try to kill

 it when I'm done using it with delete myObject; - not sure if that 
 even works.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

___
Flashcoders@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: File works in Flash 9 player but not in 8

2007-03-23 Thread Joe Wheeler
It could be the amount of streams you're trying to open simultaneously. Try
queuing the loading so that you only load one at a time - the overall load
time should be about the same - something like this?

var strXmlPath:String =
file1.xml,flie2.xml,file3.xml,file4.xml,file5.xml,file6.xml,file7.xml,file8
.xml,file9.xml,file10.xml;
var arrXmlPaths:Array;
var xml:XML; 

function parseXML(str:String):Void
{
arrXmlPaths = str.split(,);
loadNext();
}

function loadNext ( Void ) :Void
{
xml = new XML();
xml.ignoreWhite = true;
xml.onLoad = xmlFileDoneLoading;
  xml.load( arrXmlPaths.shift() );
}

function xmlFileDoneLoading():Void
{
//have all the xml files loaded?
if ( arrXmlPaths.length )
{
// no
loadNext();
}
else {
// yes, so do stuff
}
}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of me myself
Sent: 22 March 2007 15:43
To: Flashcoders mailing list
Subject: [Flashcoders] Re: File works in Flash 9 player but not in 8

In case it matters, the problems occur after 11 xml files, not 10.

On 3/22/07, me myself [EMAIL PROTECTED] wrote:
 Here's a really weird one: I created a Flash 8 swf -- using 
 Actionscript 2.0 -- compiled it as a Flash 8 swf, but it doesn't work 
 in the Flash 8 player. It does, however, work in the Flash 9 player.

 The file loads data in from multiple xml files. It actually works 
 fine, even in Flash 8, if I only try to load from nine xml files, but 
 as-soon-as I ad a tenth file, it stops working. By stops working, I 
 mean that when the swf runs, I only see the Stage background.

 This same swf (without being changed in any way or recompiled) works 
 fine in the Flash 9 player.

 The 8 player doesn't seem to be balking at the amount of xml, because 
 if I cut the code from the tenth xml file and paste it into the 9th 
 file, everything works fine. It just seems to choke on ten files.

 //works in Flash player 8 and 9
 var strXmlPath:String =
 file1.xml,flie2.xml,file3.xml,file4.xml,file5.xml,file6.xml,file7.xml
 ,file8.xml,file9.xml;

 //works only in Flash player 9
 //var strXmlPath:String =
 file1.xml,flie2.xml,file3.xml,file4.xml,file5.xml,file6.xml,file7.xml
 ,file8.xml,file9.xml,file10.xml;

 var xml:XML = new XML();
 var arrXmlPaths:Array = new Array();
 var arrXmlLoaders:Array = new Array(); var numXmlFilesLoaded:Number = 
 0;

 function parseXML(str:String):Void
 {
 var xml:XML = new XML();
 var strXml:String;

 xml.ignoreWhite = true;

 arrXmlPaths = str.split(,); //get list of xml files
 for (var i:Number = 0; i  arrXmlPaths.length; i++)
 {
 strXml = arrXmlPaths[i];
 arrXmlLoaders[i] = new XML();
 arrXmlLoaders[i].ignoreWhite = true;
 arrXmlLoaders[i].onLoad = xmlFileDoneLoading;
 arrXmlLoaders[i].load(strXml);
 }
 }

 function xmlFileDoneLoading():Void
 {
 numXmlFilesLoaded++;
 divideXmlIntoArrays(this);

 //have all the xml files loaded?
 if (numXmlFilesLoaded == arrXmlPaths.length)
 {
 parseMediaArray();
 parseMediaHolderArrayAndMakeMediaHolders();
 parseAndSetUpImmediateRelationships();
 }
 }

___
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] Flash crashing dilemna - when adding an inputtextfield

2007-03-23 Thread Joe Wheeler
That error is usually caused by an infinite loop. Are there any loops in the
game that get triggered by the user having a high score?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven
Sent: 22 March 2007 19:09
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash crashing dilemna - when adding an
inputtextfield

I am really struggling to get to the bottom of this bug and I have now spent
over 2 days desparately trying everything including recreating the entire
game in a new flash file in case anything was corrupt.

Basically the game crashes if I type into a text input field. If I do not
then it doesn't.

I cannot fathom what would be carried forward to the actual game from this
simple action. The text input field isn't even on screen anymore when the
game is in play.

Does the act of typing into a text input field change anything that could
affect my game? 

Really frustrating as I need to be able to allow the user to enter their
name.

Anyone

Thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven
Sent: 22 March 2007 11:41
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash crashing dilemna - when adding an input
textfield

I have a really weird bug going on in a game I am making. Game is
developed in Flash 8 PC. (Published Flash 8 Actionscript 2)

My game was crashing the second time I played it so I have spent the last
day and a half tracking down the cause.

I have narrowed it down to a text input field. This is where the user enters
their name if they get a high score. If a user goes to this screen before
playing the game a second time, then a few seconds into playing the game the
second time, the game hangs with an error saying a script in this movie is
causing the flash player to run slow or something to that effect which
requires me to choose to stop this script. The game often hangs at this
stage and I have to force quit Flash.

If they do not get a high score they do not go to this frame of the flash
movie with the text input field and playing the game a second time does not
cause it to crash.

I have tried recreating this text input field, changing the font, changing
the instance name but still seems to cause the game to hang on playing it a
second time.

If anyone has any idea why this is happening or how I can determine what
script is causing the error, I would be extremely grateful.

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

___
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] QT in IE returning null value to flash

2007-03-23 Thread Joe Wheeler
Does the object tag have the id movie1 (not just the embed tag)? 

Also, how are embedding the movie, I could be wrong but it think the stoopid
active-x activation thing causes problems - try using UFO or SWFObject to
embed the movie.

The other thing you could try is writing the JS function from inside flash -
For example,  I use this quite a lot to get the page url:

response = ExternalInterface.call( function(){return
document.location.href;} );


J

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman
Sent: 22 March 2007 16:24
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] QT in IE returning null value to flash

Hm.  I haven't used ExternalInterface at al (I'm stuck with Flash 7), so I'm
not really sure what the problem could be.  Though you might be able to do
it as a callback (have the javascript function call some function in your
Flash movie to give it the value).  The control flow for that would be a bit
odd, but it might work if you can't get it to return correctly.

  -Andy

On 3/20/07, Bob Wohl [EMAIL PROTECTED] wrote:
 yeah, I can alert the value (real fun with a set interval =P). Just 
 getting it from JS seems to be the issue.

 yep, QuickTime, their documentation rocks for javascript ;)




 Bob

 On 3/20/07, Andy Herrman [EMAIL PROTECTED] wrote:
  Have you tried getting the value out using just Javascript (no Flash 
  involved)?  See if that works.  It might make it easier to debug 
  (removing a layer of complexity).  Maybe IE has some security in 
  place that's preventing the access of the values from QT (you mean 
  quicktime?  I always think of QT as the C++ toolset made by
  trolltech.)
 
 -Andy
 
  On 3/20/07, Bob Wohl [EMAIL PROTECTED] wrote:
   Hello all,
  
  
   I've researched quite a bit over the past week to no avail on how 
   in IE i get a return of null when pulling the time from a QT file 
   but in FireFox i get the proper time...
  
  
   flash call -
   myTime = ExternalInterface.call(DisTime, document.movie1);
  
  
   js -
   function DisTime(anObj){
  var obj = eval(anObj);
 return obj.GetTime();
  }
  
  
   seems simple enough but I cannot for the life of me find out why 
   IE sees it as null.
  
   Any ideas, pointers?
  
  
   Thanks!
   Bob
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software Premier Authorized Adobe 
   Consulting and Training http://www.figleaf.com 
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training 
  http://www.figleaf.com http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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

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

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


RE: [Flashcoders] Object.registerClass ...

2007-03-18 Thread Joe Wheeler
Together with __Packages you can also use Object.registerClass to bind a
class to a dynamically created movieclip. If used in conjunction with a
static create method you can make creating extended movieclip instances real
easy...

// MyClass.as
class com.misuseit.MyClass extends MovieClip 
{
public static var LINKAGE_ID:String =
__Packages.com.misuseit.MyClass;
public static var SYMBOL_OWNER:Function = MyClass;
public static var SYMBOL_LINKED:Boolean =
Object.registerClass( LINKAGE_ID, SYMBOL_OWNER );

private static var $nextId:Number   = 0; 
 
public static function create( parent:MovieClip, name:String,
depth:Number, init:Object ) :MyClass
{
var mc:MovieClip;
name= name || MyClass + ( $nextId++ );
depth = depth || parent.getNextHighestDepth();
mc  = parent.attachMovie( LINKAGE_ID, name, depth, init
);
return MyClass( mc );
}
} 

// To instantiate on a timeline
var myClip:MovieClip;
myClip = MyClass.create( this );

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas
Sent: 18 March 2007 10:24
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Object.registerClass ...

Stephen.
  Object.registerClass is used all the time in AS2 to connect library
objects to implementing classes - so it's definitely relevant.

Essentially, you use Object.registerClass to tell the system what type of
class should be associated with a clip when it is attached via
attachMovie(). It's the same as specifying the linkage in the linkage
dialog, but is done dynamically in the code (and therefore it's possible to
attach the same symbol as different classes, if you need to - it's also
handy if your library is supplied by a graphic designer who isn't informed
enough to insert the appropriate linkages.)

HTH,
   Ian

On 3/18/07, Stephen Ford [EMAIL PROTECTED] wrote:
 Is Object.registerClass no longer relevant when using AS2 and OOP
structure.I understand AS2 class structure, inheritance, etc but am trying
to understand how it was done in AS1 and if I need to know any of the
techniques used before AS2.
___
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] wordpress and flash integration

2007-03-18 Thread Joe Wheeler
Hi Kerem,

If you don't use the wordpress php files you're not using wordpress - all
you'd have left is a complicated data base structure and a bunch of raw
data.

If you really want to use flash and wordpress you need to look at ways of
getting the wordpress php files to talk to flash - you can't use flash
instead of the wordpress php files, you'd need both. 

You might want to have look at writing a plug-in for wordpress (wp plug-ins
are also written in php btw). The alternative is to hack wordpress, but
you'll never be able upgrade when a new version of wordpress comes out and,
again, other plugins will be a problem. If you go the hacky way, the php
files in the admin folder or wordpress\wp-includes\wp-db.php are probably as
good a place as any to start with.

In theory, you could write a plug-in (in php and actionscript) which enables
you to create a Flash admin layer over the top of the php application. It
would be quite a big job and very hard to make extensible for other plug-ins
(most require html forms and JavaScript on the client). You'd probably be
better of by just replacing a small bit of the admin interface - pick the
bit that annoys you most.

Try a Google search for wordpress admin hooks or wordpress plugin api -
it's not very well documented but you might find something useful.

Good luck
J

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
Sent: 17 March 2007 13:54
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] wordpress and flash integration

Hi Kerem.

It depends what you want to parse.
   
You could use the RSS feed as a way of getting data into Flash as it is
XML, which Flash can deal with very easily.
   
If you want to talk to the database more directly, you will have to
consider using Flash Remoting - have a look to see if anyone has created an
AMFPHP - server side code for Flash Remoting in PHP - plugin for Wordpress.

http://amfphp.org/


http://www.google.co.uk/search?hl=enq=flash+remotingbtnG=Google+Searchmet
a=
http://www.google.co.uk/search?hl=enq=flash+remotingbtnG=Google+Searchme
ta=

HTH

Glen

Kerem İşeri wrote:
 Hi everyone... 

  

 I am starting a new project, it will be my first trial on the 
 subject.. I thought that I could use wordpress as a database for 
 contents and pictures for my site.

 It will be so cool if I can make it, because I will get rid of the 
 coding on php and admin panel of this project, wordpress has a very 
 userfriendly admin interface it self built in. Anyways,

 Anybody tried this before ? or does anybody know how can I parse 
 wordpress pages for the flash?

  

 Thanks a lot.

  

 Kerem.

 ___
 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] Subscription problems

2007-02-28 Thread Joe

Sorry to jump on the bandwagon but since nothing is being done, I would like
to point out that my subscription has been altered from web-only to
individual emails. I have tried to unsubscribe on a few occasions and no
confirmation email has been sent despite figleaf saying it has.

I apologise for the annoyance to regular people on this board, but none of
us have a choice since nobody seems to be listening to our requests.

So this is a call for help... Please, admin, unsubscribe me - since I don't
seem to be able to through your website!

Thanks...


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

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


[Flashcoders] XMLConnector and password

2007-02-08 Thread Joe Cutting

Hello,
  Has anyone managed to get the XMLConnector component working with RSS sites
which are protected by a HTTP username and password system?

I've tested my feed using the feed URL

http://username:[EMAIL PROTECTED]/

and it works fine in FireFox (not IE7 but there you go)

I've tried the same URL in the XMLConnector (Flash 8) and it gives 
Error opening URL
Has anyone had any success with this? Even if you've not managed it 
that would be useful so

I know not to keep on trying.

Best wishes

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

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

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


[Flashcoders] Re: Restricting an Input Field to Visible Area

2007-02-08 Thread Joe Cutting

Richard


I've got an input field that I want to restrict users to only being
able to post as much as will fit into the field without scrolling
(approx. 500 chars). I can set the field to a max. chars of 500, but
this doesn't take into account line breaks, which allow the user to
write much less than 500 chars, but still extend past the visible box.

Try this

textField.onChanged = function() {
while (this.maxscroll1) {
this.text = this.text.substr(0, -1);
}
}

textField.onScroller = function() {
while (this.maxscroll1) {
this.text = this.text.substr(0, -1);
}
}

where textField is the name of your input field. You need to trap 
both scroller and

onChanged events to make it bullet proof.

Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

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] OT: Adobe download site slow

2007-01-03 Thread Joe Cutting

Has anyone else noticed that the Adobe download site being very slow?
I've tried it several times in the last week from two different 
locations (in the UK)
and it never really gets above 5k/sec (on my 500k/sec line). This is 
a particular
problem with clients using IE who are trying to install the Flash 
Player. All they see
is a empty box with no indication that the download is happening at 
all. Firefox is
no faster but at least you see the download progress so you know 
something is happening.


I'm fairly sure Adobe is aware of this as well as the effect on their 
reputation as a web company
and is working on a fix but its a bit embarrassing to have to tell 
clients normally its really fast but

right now you need to wait half a hour.

Apart from that Happy New Year to you all...

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

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 hardware for Flash

2006-11-15 Thread Joe Cutting



I have neither of these, but my feeling is that you're over-thinking it.
Computers are cheap enough that even spending a small amount of money on a
'generically decent' machine should yield something that will work well as a
dedicated kiosk.

Hmm, I think this used to be the case but actually several things are 
muddying the waters
- Generically decent business PCs tend to come these days with fast 
processors but rather low spec

graphics and not all of them have expansion slots
- If you want decent graphics you tend to have to buy a gaming 
system which from the likes of Dell can push the price up a lot
- The advent of dual processor systems has also meant that those 
decent PCs tend to come with a dual processor chip with a fairly low
clock speed. Great for running several applications at once - 
probably not really the best way of running Flash
- If you're in the kiosk game there's a lot of pressure to use small 
form factor PCs. These tend to be difficult to expand and don't have 
good graphics either.
If you're going to use one of these it would be nice to know exactly 
how much you're sacrificing.


For what its worth, these days I tend to go for a HP Athlon based 
Tower model with lots of expansion ports and then put a mid range 
nVidia graphics

card in it. Seems to go pretty well but I haven't done a lot of comparisions.

Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  ___
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] Best hardware for Flash

2006-11-14 Thread Joe Cutting

Hello,
  I'm looking into specifying hardware for running Flash projector 
based kiosks. The aim is to get the best possible Flash performance 
while avoiding spending
money on technology that isn't going to make any difference. Given 
that the usual performance benchmarks don't really apply to Flash I 
was wondering if

anyone had any particular insight or had done any tests.

At the moment I've been working on the following vague assumptions 
based on my experience and reading of various reviews.


Processor speed is important, but the type of processor is as well.
Roughly speaking, Pentium Ds are the slowest per Hz, Athlons and 
Pentium M's are next followed by Core 2's which are the fastest.


Dual processors or more may give you a slight increase due to the 
system using the other processor for operating system tasks
but this isn't going to be much more than 10% because Flash isn't 
multi threaded.


Similarly 64 bit systems may increase speed a bit as the operating 
system may get a bit of an advantage but this isn't going to be much

as neither standard Windows nor Flash is 64 bit (yet).

On board memory chips usually use a shared memory architecture which 
uses the system memory for graphics. This seems substantially slower
than graphics cards with their own dedicated video RAM. However, 
given that Flash doesn't use 3D engines its not really worth shelling 
out a lot for a really high
spec card. However adding a mid range graphics card can improve 
performance. At the moment I'm using nVidia because the drivers that 
come with their

cards seem to be the most reliable.

Unless your project is really huge you're not going to need much 
memory over 1Gb or a particularly large or fast hard drive because 
most Flash projects

can loaded into the memory at start.

I'd be interested if anyone can add to these thoughts or has 
information that contradicts them.


Best wishes

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  ___
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] apologies for any bounced emails

2006-10-24 Thread Joe Lister
Hi list

I would like to apologise for any mails that have bounced from this address. 
ISP troubles, now all sorted.  Sorry.

Joe


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

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


[Flashcoders] Re: Boolean question

2006-10-21 Thread Joe Wheeler
In AS2 using the Boolean constructor will instantiate a Boolean object - an
object wrapper for the primitive type. If you want to perform logical
operations on the value of a Boolean object you must remember to use the
objects valueOf() method. Otherwise it's the object, rather than its value,
that gets evaluated - and as Fumio pointed evaluating any object as a
Boolean will result in a positive. 

var primative:Boolean = false;
var object:Boolean = new Boolean(false);
trace( [ typeof primative, !primative, !primative.valueOf() ] );
trace( [ typeof object, !object, !object.valueOf() ] );

// AS2 output:
// boolean,true,true
// object,false,true

In AS3 the two statements are equivalent...

// AS3 output:
// boolean,true,true
// boolean,true,true


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

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


[Flashcoders] Re: htmlText and maxscroll

2006-10-19 Thread Joe Cutting

Jason,
  Thanks for this. As you say, if I continue using the .text 
attribute it will still work but

will remove the html formatting which isn't what I want.
I tried using your routine which removes the last character or tag 
from a html text and it
doesn't quite do what I need. The main problem is that the 
maxscroll property for htmlText seems
to behave in a different way to normal text and almost always seems 
to be greater than 1 regardless of
how many times you call getTextMinusOneCharacter - this results in 
the input field removing text which should

be kept.

Anymore thoughts on this would be welcome.

Joe

Date: Thu, 19 Oct 2006 08:41:14 -0600
From: Jason Lutes [EMAIL PROTECTED]
Subject: RE: [Flashcoders] htmlText and maxscroll
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain;   charset=us-ascii

Try using your original handler function even though the text field is
now HTML-enabled, because removing the last 'htmlText' character simply
pops off a (non-visible) closing tag's (likely /textformat) final
angle bracket.

If this method destroys HTML formatting on your text, you can always use
the following code.

function getTextMinusOneCharacter(targetText:String,
presumeHTML:Boolean):String
{
  var lastBracketIndex:Number = targetText.lastIndexOf('');
  while (lastBracketIndex  0  targetText.charAt(lastBracketIndex - 1)
== '')
  {
lastBracketIndex = targetText.lastIndexOf('', lastBracketIndex -
1);
  }
  lastBracketIndex--;
  if (lastBracketIndex  0  presumeHTML !== false)
  {
targetText = targetText.slice(0, lastBracketIndex) +
targetText.slice(lastBracketIndex + 1);
  }
  else
  {
targetText = targetText.slice(0, targetText.length - 1);
  }
  return targetText;
}

this.textBox.onChanged = function():Void
{
  if (this.maxscroll  1)
  {
this.htmlText =
this._parent.getTextMinusOneCharacter(this.htmlText);
  }
};

Original post

I'm trying to restrict text input into a field so that you can only
enter as much as will fit into the field and the rest gets cut off.

I was using code like

textBox.onChanged = function() {
 while (this.maxscroll1) {
 this.text = this.text.substr(0,-1);
 }
}

This works fine as long as its just plain text. However I need to use
html text so that the user can apply formatting.

If I try using

textBox.onChanged = function() {
 while (this.maxscroll1) {
 this.htmlText = this.htmlText.substr(0,-1);
 }
}

then Flash goes into an infinite loop. I did some debugging and it
looks like the value of maxscroll isn't the same for htmlText and so
removing the last character doesn't reduce maxscroll in the same way,



Joe Cutting
Computer exhibits and installations
www.joecutting.com
96 Heslington Road, York, YO10 5BL
01904 627428
___
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] Local Connection - max connections on a Mac?

2006-09-12 Thread Joe Mease
I recently built a iTunes similar html/Flash hybrid site, where each song
result has an embedded flash object sample player, based on streaming FLVs.

Using the mediator pattern, I have created a single flash component that
manages the streaming audio, through a single netStream object. And each
sampler instance sends data via the LocalConnection object.

The problem I am seeing, is that, on a mac, only the first 7 results
communicate properly with the mediator object. We have resorted he results,
and still only the first 7 results communicate properly.

Is there a known limitation of how many LocalConnection objects can co-exist
on a mac?

Thanks for the help!

Joe

___
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] View HDV in Flash

2006-08-29 Thread Joe Cutting
I've got a lovely Sony HC1 High Definition camcorder and I'd like to 
be able to view its output in Flash.
Unfortunately although the camera settings lists it as a camera if I 
select it I just get a blank output.
As anyone managed to get this or any other High Definition camera to 
display in Flash?


For what its worth, I've tried the Director Track Them Colors Pro 
Xtra - it only displays if the camera is in normal
DV mode not HD, Microsoft Movie Maker is the same. Proper HDV editing 
programs like Vegas and Mediastudio are

fine but thats not too helpful.

Any thoughts or solutions very welcome.

Joe


Joe Cutting
Computer exhibits and installations
www.joecutting.com
96 Heslington Road, York, YO10 5BL
01904 627428
___
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] Best books about design

2006-08-25 Thread Joe Cutting
The best books I've come across for an introduction to graphic design 
for programming

types are
The Non-Designer's Design Book and
The Non-Designer's Type Book

both by Robin Williams, published by PeachPit




Joe Cutting
Computer exhibits and installations
www.joecutting.com
96 Heslington Road, York, YO10 5BL
01904 627428
___
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] Best way to learn OO Analysis and Design with ActionScript (James Marsden)

2006-08-18 Thread Joe Cutting
Back when I was at college studying CS we were taught that the way to 
decide which objects to use was
to write a simple description of what your program should do. Then go 
through the description and find all the nouns
- these are your main objects. You can also go through and find all 
the verbs, these are the some of the functions of those objects.

This still seems to work pretty well.

So, if your program description is-
Pacman moves through a maze eating dots. Ghosts chase pacman. Every 
time pacman eats a dot the score increases

Then your main objects are

Pacman
Maze
Dot
Ghost
Score

Some of your main functions are
Pacman - move
Pacman - eat
Ghost - chase
Score - increase

Unfortunately I think this was before MVC became popular so I'm a 
beginner on that one too. My experience is that it
works really well for editing data type programs like 
wordprocessors etc but its either more tricky/not worth the while for

some presentation type applications.

Cheers

Joe


Joe Cutting
Computer exhibits and installations
www.joecutting.com
96 Heslington Road, York, YO10 5BL
01904 627428
___
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] Format input textfield with a menu

2006-08-16 Thread Joe Cutting

Hello,
  I'm trying to build a system which lets users format selected text 
from an input field using a drop down menu.
So the idea would be that you could select some text, go to the 
format menu, choose italic and the selection  would be italicised.

I'm using the Adobe MenuBar and Menu components from Flash 8.

The problem is that clicking on the menu removes the selection from 
the text. I can use Selection.getEndIndex and
Selection.getBeginIndex to record the selection state and so I know 
which bit of the text to format. This works fine.
The problem is when you click on the menu the selection still 
disappears which is ugly and awkward for the user and even when I
use SetSelection to put the selection back once the menu item has 
been chosen the MenuBar fires some event which removes it again.


So my question is, Has anybody else done this and made it work?
 I've considered
- Clever hacks to fake the selection being there - only there 
doesn't seem to be a easy way to inverse the text in a textfield to 
fake a selection box.
- Is there a way to stop the MenuBar taking the focus and clearing 
the selection?
- Are there other MenuBar components out there which don't take the 
focus and selection so wouldn't have this problem.


I've been looking at other text editors built in Flash like 
www.flashtexteditor.com and they either use buttons for text 
formatting or suffer from the selection disappears problem
so it may be insolvable. Either way I'd be interested to hear what 
other people have done.


Cheers

Joe


Joe Cutting
Computer exhibits and installations
www.joecutting.com
96 Heslington Road, York, YO10 5BL
01904 627428
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Re: Flash 9 ready for kiosk use?

2006-08-11 Thread Joe Cutting



 I've just downloaded the Adobe Flash 9 Public alpha and used it to 
compile one of my old kiosk
 projects. As far as I can see it has none of memory leak issues 
which affected Flash 8 and stopped

 it being suitable for kiosks. This is great

This is very interesting. Is it just a matter of loading a Flash 8 fla,
and making a Flash 9 swf? Or would we need to convert from AS2 to AS3, etc.?


Yes. Just load it up, set the player version to 9 and away you go.

To answer my original question I did some digging and discovered that 
people were having some issues
with FP9 occasionally crashing when using AS3. Although these may 
have been fixed by now I decided that using AS3 with an alpha 
development environment and a v.0 player probably wasn't a good way 
to go right now as using another player or dev environment would 
require a rewrite back to AS2.0. As it is I'll stick to AS2 and the 
FP9 player and if I have problems I can always downgrade.


Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
96 Heslington Road, York, YO10 5BL
01904 627428
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Flash 9 ready for kiosk use?

2006-08-01 Thread Joe Cutting
I've just downloaded the Adobe Flash 9 Public alpha and used it to 
compile one of my old kiosk
projects. As far as I can see it has none of memory leak issues which 
affected Flash 8 and stopped

it being suitable for kiosks. This is great.

Has anyone else found any memory leak issues with the Flash 9 player?
This is really important for me because I'm about to start a large 
kiosk project and any memory leak issues would

be a show stopper.
 This project is going to be delivered in the next few months but 
its going to be around for a while and
I can see that the code is going be regularly updated. Does anyone 
have any thoughts on whether I should use AS3 or AS2.
The project doesn't actually need any of the new features of AS3 but 
given that that's the way things are going should I make the jump now?
Or given that the Flash 9 IDE is only still alpha should I avoid it 
for commercial work?


Any thoughts or help would be appreciated

Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
96 Heslington Road, York, YO10 5BL
01904 627428
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Re: Flash Player 6 on PSP

2006-04-28 Thread Joe Cutting

John Dowdell wrote

Yes, the file format runs on multiple devices, but not all content will
run identically on all devices. In hallway talks with other Adobe
staffers today this is something we'll have to work on, cross-device
creation guides, not just for SWF but also for HTML and video.

Hmm, some time ago I saw some comments from an Adobe staffer 
regarding an open source
flash player project. They made some very good points regarding the 
problems of forking the player - in that
it would lead to consumer confusion as to what were the capabilities 
of each player and what they needed installed to run what.


It seems to me that as Flash is being rolled out for more different 
devices this forking problem is raising its ugly head.
Not only do we have to cope with different versions of Flash on 
personal computers but we also have different versions for phones 
(Flash lite 1.0 and Flashlite 2.0) and now a cut-down version of 
Flash 6 for the PSP. Now I suspect that Adobe are
aware that this is a problem but are being squeezed between the 
politics of what manufacturers want to put on their machines and the 
technical limitations of these devices.


As to what we do about it I have two suggestions. One of them is 
pretty straightforward - the other less so.


1) Create a definitive FlashMark benchmark program which lets you 
test your hardware and see how fast it goes.
Manufacturers would also be encouraged to publicize the results from 
their devices. I can see this being popular with companies like Nokia 
because they could encourage you to buy a new phone because its 
FlashMark was much better than your old one. It would also be useful 
for benchmarking PCs, rather than the usual 3D game/video encoding 
benchmarks which get used at the moment and with the rollout of dual 
core chips are becoming increasingly less useful for gauging flash 
performance. Ideally you'd also be able to run the development 
environment at a lower FlashMark to simulate running on another device.


2) Get stricter with manufacturers regarding the capabilities of 
different players. Introduce a simple system of player capabilites 
and then run a certification scheme whereby you certify that 
different devices will run a certain level of player
with no glitches. I suspect that Adobe is moving towards this and 
that players will settle down a bit more when version 8.5 comes out 
and at the moment they're waiting for it and willing to tolerate 
dodgy players to encourage a wider takeup.


The great strength of Flash as a distribution platform is that I can 
write a program and know that it will run on almost any PC in general 
without me having to worry that the user won't have the right 
libraries or that a particular function might not work. This is 
obviously going to get more difficult with a larger number of devices 
but I think its a worth working at.


Hmm, that's enough from me - what do other people think? It would be 
great to have an official road map from Adobe because the other 
defining feature of all this device development is that information 
seems to come out on a bit by bit which

makes it difficult to plan ahead with any certainty.

Joe

___
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] Help with shared library fonts

2006-03-11 Thread Hypno Joe
*I am using Flash8*

Is there a way to keep fonts in an external movie and load them
dynamically into a movie when needed?

The flash movie I am currently working on is a text editor that is all
generated dynamically.  A text box is generated on the main movie like
this:

this.createTextField(message_txt, 200, 10, 10, 560, 200);
message_txt.embedFonts = true;

The main text box is styled using TextFormat.

var messageformat:TextFormat;
meassageformat = new TextFormat();
messageformat.size = 20;
messageformat.font = hightower_font;

I have a button that calls in an external SWF that contains a list of
different fonts for the text box.  The fonts are embedded in the movie
and exported for action script and runtime sharing.   They change the
font like this:

this.aucion_mc.onRelease = function () {
messageformat = new TextFormat();
messageformat.font = aucion_font;
_root.message_txt.setTextFormat(messageformat);
}

The fonts show up in the external SWF as it is loaded into the main
movie but when one of the bottons is presssed, the text in the text
box disappears.

If I embed the fonts in the main movie, I have no problems. 
Everything works fine.  But that defeats the purpose of having the
fonts exist externally.  I only want them to load if the user wants to
change fonts.
___
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] Memory leak in Flash projector

2006-02-24 Thread Joe Cutting

Hello,
  I think I've found a memory leak in the Flash player on the PC.
I made a fairly simple animation (no actionscript) and built a 
projector and when I run
it in a loop the amount of memory needed continues to rise. (as 
measured using Task Manager).


I'm using Flash Player version 8,0,22,0 on Windows XP professional.

Has anyone else experienced this, or even better found a cure?

If there is no cure then this is pretty serious for anyone using 
flash in a kiosk type situation.


Cheers

Joe

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

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


[Flashcoders] Re:flv video encoding for flash 7

2006-02-15 Thread Joe Cutting


 I used the flash 8 video encoding tool and set it for flash 7 high quality
 (700k) and the video is very pixelated, I've uploaded it here for review :

 http://bluetubecom.web123.discountasp.net/clients/soapbox/videotest.html

compared with
http://www.creativedigitalgroup.com


I don't know much about the best settings to use for encoding FLVs 
but what I can tell you is that the
creative digital video will get much better quality for a given data 
rate for a number of reasons


- Their video window is smaller than yours - yours is 4:3 their is 
much more letterbox shaped
- Your video includes panning - this means changing the whole scene - 
takes up lots of data
- Their video actually has a very small area which changes. Given 
that the whole purpose of the site is
to push broadband video they may even have fudged it by using still 
backdrops and then smaller video clips

on top rather than just one long video.

Try encoding some talking head video without any pans or cuts and 
you'll get much better quality for

your data rate.

Hope this is helpful

Cheers

Joe

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

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


Re: [Flashcoders] the tool used to make this presentation

2006-01-30 Thread Joe Cutting


I'd say by hand... Maybe you think it's too boring to be made
manually? ;-)

Making me download over 20mb (!) to see some speaking heads.
Here's another link:
Talking-Head Video Is Boring Online
http://www.useit.com/alertbox/video.html

I'm curious if any of you have patience to listen the whole thing. As
for me, I drop after 5 minutes.

Isn't this done using Breeze - Adobe's tool for making this kind of thing?
Its a pretty clever piece of technology and it must be pretty hard for the
Adobe guys to have to stand up in front of camera and talk about this 
kind of thing.
Which is a real shame because I completely agree with Gregory (and 
Jacob Nielson) that the end
result is really frustrating because the speed at which you get the 
information is
much slower than reading - and its difficult to skip ahead to the 
bits you're interested in.

In the last few years the standard of writing and communication on Macromedias
site had really improved but every so often I click on a useful 
looking link which

takes me straight to a breeze presentation and I give up straight away.

While I was writing this it occured to me that a tool which automatically
created a photo-story might solve this problem - you'd still get 
the visual impact but

you'd be able to skim ahead to the bits you want.

Do other people find these Breeze presentations useful? - I'd be 
really interested to

know if you do.

Joe

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


[Flashcoders] Aliased text corruption problem

2006-01-20 Thread Joe Cutting
I love the anti-alias for readability text option in Flash 8 and 
try and use it all the time but

its giving me odd results when I use it with the Futura typeface.

What's happening is that the lower case w is becoming corrupted.
You can see an example at

http://www.joecutting.com/demos/aliasTest.html

This only happens with antialias for readability if I choose
anti-alias for animation its fine. It happens with both static and 
dynamic text.
I also have two different versions of Futura - one Truetype and one 
Postscript and

it happens with both of them but not with other typefaces.

So,
- Is this an artifact of the shape of the letter and this particular 
algorithm - I haven't tried using
the custom aliasing settings because I don't really understand them. 
If anyone's got any suggestions

that would be great.
- Is is because I'm using badly made typefaces - although it seems 
unlikely that both the TT and PS ones

would give the same problem.
- Is this a bug in the text engine that I should tell Macrobe about?

Anybody else had this or found a solution?

Cheers

Joe

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


[Flashcoders] Track key up event for simultaneously pressed keys

2006-01-12 Thread Joe Cutting


I wonder what is the best way to capture a key-is-up event if several
keys are pressed at once. For example if I press and hold left then
press spacebar and release it onKeyUp won't fire till I release left key


I always used Key.isDown() which works fine.

Have you tested that you can't detect two keys using onKeyUp?

Unfortunately Flash 8.5 is scheduled to have Key.isDown removed for 
security reasons
- there was discussion of this on the list over Christmas but we 
never got an answer from
Macrobe or anyone else as to whether it will be possible to detect 
two keys at once

using the KeyUp / KeyDown.

Cheers

Joe

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


[Flashcoders] Flash Lite 2.0 phone list

2006-01-12 Thread Joe Cutting
Well I've installed the Flash Lite 2.0 and one of the more 
interesting parts is the long list
of possible Test Devices. Now it shows you the Nokia ones which are 
on the website,
but greyed out there are also about 15 different phone manufacturers 
and a long list of phones, including
even some extra Nokia ones. Presumably this is a list of all the 
existing Symbian phones.


Now as far as I can see this list could be

- All the phones that could be supported using the current technology 
once distribution deals

with the manufacturers are sorted out

- All the phones that the current player will run on once the current 
testing period

is over.

- All the phones that the Flash Lite 2.0 player could be ported to if 
someone pays

Macrobe to do it.

Which of these applies will make a big difference to the speed of adoption - if
the current player will be released for all these models in a few months then
this could become quite big pretty quickly - otherwise its going to 
take a while.


Can anyone shed any light on this?

Cheers

Joe

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


[Flashcoders] No Key.isDown() method in AS3?

2005-12-28 Thread Joe Cutting


I was going over the AS3 documentation and I've noticed that the isDown()
property was removed for security reasons from the new Keyboard class.
Is there another way of doing the same thing then? Are we now forced to use
the event-driven onKeyDown()?

Here's the page where I'm reading:
http://livedocs.macromedia.com/labs/1/flex/langref/migration.html


If this is correct then it sounds like a real pain and possible 
reason for not using
Flash altogether. I'm currently using isDown() for all sorts of game 
like applications

including some which rely on several keys being pressed at once.
Does anyone know whether the new KeyboardEvent object will let you do this
and if not how do we go about telling Adobe that there's going to be a problem.

Cheers

Joe

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


[Flashcoders] Re: Video on mobile devices

2005-12-16 Thread Joe Cutting



The Flash Lite 2.0 player will support video.

Links of interest:
http://www.macromedia.com/devnet/devices/
http://www.macromedia.com/mobile/supported_devices/
http://www.macromedia.com/software/flashlite/

hth
-K


Now I looked at this and as far as I can see
- FlashLite 1.1 is only supported by phones in Japan plus a single 
phone in EMEA where ever that is.
- FlashLite 2.0 which looks much more useful isn't supported by any 
phones at all.


I even looked at the Nokia site and found the specs for the phones 
they're planning on releasing in 2006 (in the UK)- no mention of Flash.


So it seems that Flash Lite 2.0 is all very nice but unless you live 
in Japan isn't actually installed on any phones.


Or have I got the wrong end of the stick? If anyone else knows 
differently I'd love to hear about.


Joe





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


[Flashcoders] Getting a video frame as a bitmap

2005-11-01 Thread Joe Cutting

Does anyone know how to get a single frame of a video as a bitmap in Flash 8?

I thought it would be pretty straightforward but maybe I'm missing something.

Cheers

Joe

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