Re: [Flashcoders] IOS 8 and Air

2014-09-19 Thread Mike Duguid
I have some apps built with air 14 for ios8, initial testing seems to be
ok, the only glitch being they now pop up a message about allowing
notifications on the first launch (even though the apps don't use
notifications). What's broken in yours specifically?

On 19 September 2014 13:50, Paul A. p...@ipauland.com wrote:

 Well, with IOS 8 released, I tried out those apps I built with CS6 and Air
 for IOS 3.4.

 All broken..  :-(

 Client informed that they better not upgrade to IOS8 and will they require
 all the apps to be rebuilt for IOS8..

 Paul


 On 14/09/2014 21:31, Paul A. wrote:

 Any Flash developers targetting Air on IOS, tested their apps on IOS8?

 It seems some changes in IOS 8 have upset some native apps. Will I get a
 stream of phone calls very soon or will everything I've made so far
 continue to work?

 I would try it myself but I'd rather wait until the official release.

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


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

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


Re: [Flashcoders] 1086 syntax error expecting semicolon before leftbrace

2014-09-12 Thread Mike Duguid
Saving as .xfl might allow you to search (and possibly replace) through the
associated xml files more efficiently than working through a complex .fla

On 12 September 2014 12:10, Paul A. p...@ipauland.com wrote:

 On the face of it this is a simple thing to solve, but it's driving me
 nuts.

 I am trying to update an AS2 project for a client to AS3. The code
 naturally contains code all over the place, attached to buttons and on the
 timeline.

 The problem for me is that there is a LOT of code disributed over loads of
 frames, inside movieclips and on the timeline.

 I'm using Flash CS6. For the most part the compiler is helpful, but on
 this occasion finding the source of the problem is very hard, and by source
 I mean the actual source code where the error is, not just a solution.

 Generally the error is along the lines of

 *frame 1, line 1 **1086 syntax error expecting semicolon before leftbrace*

 ..repeated  LOADS of times.

 If the problem really was on frame 1, line 1 of the main timeline, it
 would be great, but it's not. SOmetimes as I experiment with removing
 frames, etc, the frame number changes.

 By temporarily removing frames from the main timeline, and making layers
 into guides, I can narrow the generation of the errors to specific symbols.
 Unfortunately it's slow to do this and there's loads of nested sympols and
 a lot of animation frames.

 It's a nightmare.

 Any ideas for finding where these are originating from without searching
 painfully through the source?

 I should say that other errors are correctly identified and their location
 shown. No issues with those and now I only have these 1086 errors left.

 I have taken the AS2 fla, copied all of the frames and layers into an AS3
 project and the errors are there.

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

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


Re: [Flashcoders] getting data from outside servers

2014-08-11 Thread Mike Starr
enforce coerce
(null)var xmlLoader:URLRequest = new URLRequest(
http://www.thissite.com/data.xml;);


On Mon, Aug 11, 2014 at 7:54 AM, Ted Lehr t...@qvine.com wrote:

 So it seems Flash by default does not allow a movie to get data (say xml)
 from another server. So if I have a movie on
 http://www.thissite.com/movie.swf and in that movie I have:

 var xmlLoader:URLRequest = new URLRequest(
 http://www.thissite.com/data.xml;);

 Is there anyway around this?

 T

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


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


Re: [Flashcoders] Html coding: video for iPad and Flash on one page

2014-07-21 Thread Mike Starr
So this looks complicated.

A few resources I recommend:
Adobe GoLive
ActiveX


On Mon, Jul 21, 2014 at 10:20 AM, Ross P. Sclafani ross.sclaf...@gmail.com
wrote:

 I have done this for a video player i build that does hundreds of millions
 of streams / year across platforms and devices.

 I use SWFObject to attempt to write the flash SWF, and put our html5
 rendering code into the callback after the attempt, if the flash failed to
 write.



 On Jul 21, 2014, at 1:57 AM, natalia Vikhtinskaya natavi.m...@gmail.com
 wrote:

  Thank you very much for this link. But I need a bit different. If browser
  support HTML5 and Flash it should play Flash. Only platforms that does
 not
  support Flash should play video.
 
 
  2014-07-20 21:55 GMT+04:00 Ruben Quintana ruben.quint...@gmail.com:
 
  http://coolestguidesontheplanet.com/use-html-5-video-on-all-browsers/
 
 
 
  On Sun, Jul 20, 2014 at 12:05 PM, natalia Vikhtinskaya 
  natavi.m...@gmail.com wrote:
 
  I need play video only for iPad and other devices that does not support
  Flash. Does this code do that?
 
 
  2014-07-20 19:51 GMT+04:00 Micky Hulse mickyhulse.li...@gmail.com:
 
  On Sun, Jul 20, 2014 at 8:41 AM, natalia Vikhtinskaya
  natavi.m...@gmail.com wrote:
  I tested on Windows - just blank page. It seems  does not like
  style=display:none but I don't know another solition.
 
  I typically use:
 
  video poster=foo.jpg width=480 height=360 preload=none
  controls
 source src=foo.webm type=video/webm
 source src=foo.ogv type=video/ogg
 source src=foo.mp4 type=video/mp4
 ... Flash fallback goes here ...
  /video
 
  You'll have to change width/height to match video.
 
  This app is great for converting your source to diff formats:
 
  http://www.mirovideoconverter.com/
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

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


Re: [Flashcoders] Flash to HTML

2014-06-19 Thread Mike Starr
John,

Have yough considered writing up some simple pseudocode for us to build
upon?


On Thu, Jun 19, 2014 at 1:02 PM, John R. Sweeney Jr. jr.swee...@comcast.net
 wrote:

 The group has been quite for awhile. Anyone still here?

 I know things are constantly evolving, I’m curious if anyone has found a
 good tool that will convert a rather complex game from Flash to HTML? I
 know Adobe has tools to convert timeline animations and graphics and
 minimal code and Google Swiffy came around when CS4 was out. I’m looking
 around to see if there is any newer developments in bringing existing Flash
 AS3 apps to HTML. Even if it’s not one to one, but at least gets me a good
 start, please through out your thoughts and/or suggestions.

 Much appreciated…

 Thanks,
 John

 John R. Sweeney Jr.
 Senior Interactive Multimedia Developer
 OnDemand Interactive Inc
 Hoffman Estates, IL 60169


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

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


Re: [Flashcoders] Data storage for Flash/AIR apps (iOS in particular)

2013-09-27 Thread Mike Duguid
The SQLite local database functionality available within AIR works well:

http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7d29.html


On 27 September 2013 14:39, Joel Johnson joeljohnson.in...@gmail.comwrote:

 Hey everyone,

 I need to be able to save some game data and load it when the app is
 relaunched (either on browser or a mobile device, iOS in particular
 here...)

 I've been looking at shared objects, but I seem to come across info that
 it's not a reliable storage method for devices. The last thing I'd want is
 for someone playing the game on their iOS device, and suddenly finding all
 the progress they've made is lost.

 I've also been looking into File methods, and that seems more appropriate.

 I thought it'd be best to get your thoughts on this. Do you have anything
 that I should keep in mind? What would be appropriate for use?

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

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


Re: [Flashcoders] AS3 finally..

2013-05-21 Thread mike g
$8.49 here:
http://www.ebay.com/ctg/Essential-ActionScript-3-0-Colin-Moock-2007-Paperback-/59066703

On Tue, May 21, 2013 at 9:02 PM, Matt S. mattsp...@gmail.com wrote:

 You can get Moock's book for $26 on Powells:
 http://www.powells.com/biblio/1-9780596526948-6

 Its been out for a while now though, so I would hit your local used
 bookstore, I'm willing to bet there's a few copies out there, you can
 probably score it for $10 or something.

 Not that Moock doesn't deserve full-price for this invaluable resource of
 course! And whatever you pay, it's simply required reading if you're
 serious about AS3.

 .m



 On Mon, May 20, 2013 at 11:57 PM, Karl DeSaulniers k...@designdrumm.com
 wrote:

  Thank you John. Yes, I have already watched some really good tuts on
  gotoandlearn and plan to watch more when I start working on my project.
  My book is from lynda.com too. Going to invest in Moocks book as
  suggested earlier as well. Just need to gen some funds. :)
 
  Karl DeSaulniers
  Design Drumm
  http://designdrumm.com
 
 
 
  On May 20, 2013, at 10:30 PM, John R. Sweeney Jr. wrote:
 
   Or subscribe to http://www.lynda.com
  
   Excellent training tutorials on tons of software. Very in-depth, but
 you
  do pay for it.
  
   If you know AS2,  check out www.gotoandlearn.com. Many free tutorials
  on specific tasks, but you'll see them working and their AS3 code, so you
  can start making the correlation between what is different in 2 versus 3.
  
  
  
   John R. Sweeney Jr.
   Senior Interactive Multimedia Developer
   OnDemand Interactive Inc
   Hoffman Estates, IL 60169
  
  
  
  
   On May 20, 2013, at 9:25 PM, Rick Hassen wrote:
  
   but you may want to consider getting a good AS3 book.
  
  
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] AS3 finally..

2013-05-19 Thread mike g
Just wondering, has Colin Moock put forward any thoughts re.
Flash/Actionscript's future direction?

On Sun, May 19, 2013 at 6:02 PM, Paul A. p...@ipauland.com wrote:

 On 19/05/2013 09:18, Hans Wichman wrote:

 Karl,

 no harm intended, but do yourself and us a favor and get something like
 Essential Actionscript 3 from Moock, it will save you lots and lots of
 unnecessary self inflicted punishment :).


 Excellent advice. Don't try and get to grips with the language via the
 forum.

 This is a gentler introduction:

 http://shop.oreilly.com/**product/0636920010401.dohttp://shop.oreilly.com/product/0636920010401.do

 Also

 http://www.adobe.com/devnet/**actionscript/learning.htmlhttp://www.adobe.com/devnet/actionscript/learning.html

 Good luck

 __**_
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Adobe Flash future

2013-05-09 Thread Mike Chambers
Check out CreateJS:

http://www.createjs.com/

Includes the ability to export from Flash Pro.

mike chambers

m...@adobe.com

On May 8, 2013, at 8:30 AM, Liu, Peter p...@geico.com wrote:

 Why can't Adobe make HTML5 as one of the publishing options, then we can 
 continue to use Flash without the need to learn another program?


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


Re: [Flashcoders] Adobe Flash future

2013-05-09 Thread Mike Chambers
Just an fyi, but this is something that we are working on addressing.

mike chambers

m...@adobe.com

On May 9, 2013, at 9:42 AM, Weyert de Boer w...@innerfuse.biz wrote:

 I think the main issue with EDGE is that it generates such big files. I 
 haven't been able to create a useful banner animation with it. Well, one that 
 meets the maximum file size for a HTML5 banner. Only the Edge script is 
 already bigger ;)
 
 Yes, I have to admit CreateJS looks promising.
 
 Thanks for the link Mike, it seems that CreateJS is definitely a step in
 the right direction.
 
 I'm still not sold on Adobe's EDGE suite though... I am afraid that I'll
 always be skeptical of generated HTML after seeing Dreamweaver's design
 view. I also know from experience that including Adobe Edge's javascript
 libraries in filesize sensitive contexts will really limit your options.
 These things make me worried that there may never be a competent,
 visual-based IDE for HTML... which would be a major step backwards from the
 glory days of Flash.
 
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] Adobe Flash future

2013-05-08 Thread mike g
Have a look at what this guy has to say on the topic, it's worth a read:
(was posted Apr 26, 2013)

http://duboiseric.wordpress.com/category/is-flash-dead/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Mike Ogrady wants to share new pictures with you :)

2012-10-12 Thread Mike Ogrady

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


Re: [Flashcoders] Actionscript lives on.

2012-09-18 Thread Mike Duguid
 1) Has anyone on this list shipped anything decent (by this I guess I mean 
 commercially successful; gave +ve ROI on dev/sales costs) into the AppStore 
 using AS3/AIR?

Not me personally, but aware of these chart toppers:
http://news.cnet.com/8301-30685_3-20104108-264/flash-derived-ipad-game-tops-app-store-charts/
http://www.flashrealtime.com/wonderputt-flash-ipad/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] looking for a face-detection / blink detection as library

2012-05-18 Thread Mike Duguid
might want to have a look at the face.com api

On 18 May 2012 11:18, allandt bik-elliott alla...@gmail.com wrote:

 Hey guys

 I'm looking for a face detection or, more specifically, a blink detection
 library for a project I'm on and I was wondering if anyone on this list has
 had any experience with this kind of work?

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

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


Re: [Flashcoders] test

2011-01-11 Thread Mike Duguid
yes

On Tue, Jan 11, 2011 at 4:11 PM, Mendelsohn, Michael 
michael.mendels...@fmglobal.com wrote:

 Test: is the list alive?

 - MM


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

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


Re: [Flashcoders] Create your own t-shirt

2010-08-04 Thread Mike Duguid
 And you need to find out how to send a ByteArray back to a backend service
 to save said t-shirt as an image file.

 With that and Jack's TransformManager, those are the two main building
 blocks.


Having created quite a few online designers / product customisation tools,
I'd add that for print resolution imagery involving bitmaps you certainly
-don't- want to be transferring large amounts of pixel data back to the
server, compression or not (unless you don't mind long waits or low
resolution output affecting your customer abandonment rates). Better to keep
all high resolution processing (and files) on the server and to essentially
only transfer user interaction data back to the server to render out the
print ready, high resolution final format there, while keeping the whole
process snappy.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FaceBook / Flash

2010-07-21 Thread Mike Duguid
On Wed, Jul 21, 2010 at 4:57 PM, Karim Beyrouti ka...@kurst.co.uk wrote:

 Hi All,

 I am trying to add a SWF to a Facebook group, and wondering if you know of
 any good an recent tutorial or can advise on best method to do so...

 Muchos thanks



You can't add custom apps/fbml to tabs in a facebook group, only to fan
pages.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Video encoding service

2010-07-15 Thread Mike Duguid



 Researching encoding services

 nimbb.com
 userplane.com
 ankoder.com

 Any others?




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


Re: [Flashcoders] flv stop loading / close netconnection

2010-03-24 Thread mike donnelly
My experience is that you can't close the default vp (video player) in an
FLVPlayback instance, so you *never* use it. What were they thinking?!

Before you load a video, you set the vp index to whatever you want, just not
zero!

myflv.activeVideoPlayerIndex = 1
myflv.source =hippo.flv

Then when you're done...
myflv.closeVideoPlayer(1);

When working with active indexes, i find this page incredibly useful to find
out what FLVPlayback properties are affected by activeVideoPlayerIndex...
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html#activeVideoPlayerIndex


On your side note (I can't find anything in the docs on adding new
instances of VideoPlayer Class), you don't have to do anything to add a
new instance, all you do is set the flvplayback's activeVideoPlayerIndex to
a new number, and it's ready to load a new vid. If you want to see that new
vid, set the visibleVideoPlayerIndex to the same number.

cheers

chichilatte

On 23 March 2010 09:13, Andrew Kenward a...@milkybrain.co.uk wrote:

 Hi David

 when you .close() the connection to the netstream object/video it stops the
 download and you lose the connection. I would also remove it from the
 displaylist. If you then want to go back to that same video after using
 .close() then you have to make a new connection to the video. So reload the
 videoplayer basically. Depending on the users browser it may continue to
 download the progressive video from the browser cache. If you have safari
 browser try looking at the activity window in the windows drop down menu. It
 should show you whats being downloaded on the page.

 Andy

 Andrew Kenward
 a...@milkybrain.co.uk
 www.milkybrain.co.uk
 07590 609 554

 On 22 Mar 2010, at 19:59, flashcoders-requ...@chattyfig.figleaf.com wrote:

  [Flashcoders] flv stop loading / close netconnection


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

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


Re: [Flashcoders] what is the current 3D best-practice?

2010-01-17 Thread mike donnelly
Hey there, on a project last year i tinkered with AS3Dmod, a *great* little
library for doing crazy 3D shape manipulations, compatible with
away3d/papervision etc...
http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/

Here's the project we were working on...
http://eightandahalf.org
This was our first 3D flash project, and we went with Away3D because they
were more bleeding edge (rather than papervision, unlike a previous comment)
and they had proper bloody z-sorting, which papervision didn't seem to have
at that time. But the docs were always either sparse or out-of-date (the
downside of bleeding edge), so the learning curve was practically vertical.
Next time I'd go with papervision, just because the community is larger, so
much better support.

good luck anyway!

2009/8/11 Henry Cooke aninfinitenumberofmonk...@gmail.com

 Hey Sebastian,
 While Away started life as a PV3D branch, they're pretty diverged by now -
 while they do occasionally share code, they're certainly two distinct
 engines and will remain so.

 General consensus here is that PV tends to have more whizzy features and is
 the more 'bleeding-edge' engine, while Away has better stability and a
 nicer
 API. YMMV.

 I don't know if either supports morphing out of the box, but it should be
 relatively simple to hack either engine to do it /relatively/ being the
 active word here :-

 It' not much hassle to get either working to a point where you can figure
 out which will be better suited to your needs; if you've got the time, I
 definitely recommend having a look at both. It's very much a question of
 personal taste and which engine has the better feature set for your
 project.

 Cheers,
 h.

 2009/8/11 sebastian sebast...@360d.com

  Hello everyone, thank-you for your replies, very insightful.
 
  I have looked at some websites to get a feeling for what Away3D is
 compared
  to PV3D. Am I correct that Away3D is an off-shoot that will become merged
  into PV? If so, it would seem more sensible to stick with PV3D... right?
 
  This article in particular swayed me:
 
 
 http://blog.papervision3d.org/2007/05/16/papervision3d-to-merge-away3d-features/
 
  I am hoping that I can find a way to have shapes merge between different
  polygon configurations in PV; as the client wants geometric shapes with 8
  sides [diamond], 20 sided [big die], 12 sided etc. [think multi-sided
 Dice
  sets] they need to spin, have images on each side, and when you click on
 a
  side, opens the relative page in a light-box.
 
  The user will be able to switch dice shape [ploy-sides] with a click and
 I
  need to have it morph. If there is really no way to have this done
  dynamically; I suppose I can pre-render all possible variations [12 to 4,
 12
  to 8, 12 to 20 etc] -- but then I have the issue of how it looks
 different
  if in flash vs. how it would look from a 3d program... [and the only 3d
  program I know well enough to crank out stuff fast is: Lightwave]
 
  Thanks for any further comment or insight,
 
  best regards,
 
  Sebastian.
 
 
  On Aug 10, 2009, at 12:03 PM, Matt Gitchell wrote:
 
   PV3D's pretty good, tho there's a little bit of a curve to learning it.
 I
  haven't done any Away3D stuff but I've heard good reports about that
  too.You
  probably don't want to go down the custom road as once you start to deal
  with z-sorting and all that in earnest it balloons in complexity
 quickly.
  CS4's native 3D stuff is generally only good for planes, there's no
 native
  poly handling. I think the latest PV3D has been tweaked to take some
  advantage of the native FP10 3D stuff on the render side, but I didn't
  have
  that as an option on my last PV3D project and hence didn't explore it.
  As far as morphing shapes goes, you're probably going to have to do that
  in
  a dedicated 3D suite then export that animation to a Collada file. You
 can
  spin and move stuff (in PV3D), but actual manipulations of the
  shapes/polys
  in an object are going to be best handled in a more or less canned
  fashion,
  depending on the complexity you're looking for or if you want to write
  something that creates the polys dynamically, which is again easier in
  PV3D
  than Pure AS3.
 
  On Mon, Aug 10, 2009 at 11:34 AM, Kerry Thompson 
 al...@cyberiantiger.biz
  wrote:
 
   Sebastian wrote:
 
   I was wondering if anyone had any feedback to my 3d inquiry? Because I
  have not received any input from the group.
 
 
  My guess is that not many of us work in 3D. I've had a look at
  Papervision,
  and, while it looks pretty good, I haven't explored it deeply enough to
  help.
 
  Does it have to be Flash? The dominant player in the online 3D world is
  still Director/Shockwave, and what you are describing could be done
  easily
  in Shockwave. If you're not familiar with Lingo, Director has an
  implementation of JavaScript that is a lot closer to ActionScript. I
  don't
  know how much of its 3D capabilities are available through JavaScript,
  

RE: [Flashcoders] as3 to iphone app

2009-11-04 Thread Mike Chambers
Well, we do another level of optimizations via LLVM (so some of the performance 
stuff you mention is addressed).

mike chambers

m...@adobe.com


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Newman 
[capta...@unfocus.com]
Sent: Wednesday, November 04, 2009 10:13 AM
To: Flash Coders List
Subject: Re: [Flashcoders] as3 to iphone app

Bummer. :-(

I was hoping for some better dynamic stuff (duck typing), and some
quicker ways to define (or at least instantiate) throw away static types
(like a static version of an object literal - or some kind of structural
data types). And maybe some performance tools like inline functions, or
static (jit) constructors - or old favs from as2 like private
constructors. C# has some of this kind of stuff. So does HaXe.

Maybe next time.

Kevin N.



On 11/2/09 7:50 PM, Mike Chambers wrote:
 age changes, although there are some new APIs.

 mike chambers

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

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


Re: [Flashcoders] as3 to iphone app

2009-11-02 Thread Mike Chambers

No core language changes, although there are some new APIs.

mike chambers

m...@adobe.com

On Nov 2, 2009, at 10:32 AM, Kevin Newman wrote:


Kevin Newman wrote:

What I'm really interested in is are there any other language
improvements/additions coming with the update (private constructors,
inline functions, structural typing, let keyword, etc.)? Or is is  
the

same version of Actionscrtip 3.0?


Other than new api stuff for the new hardware, there are no changes in
the language as far as I know. Maybe a bugfix or two in the compiler,
but no new features in the language itself.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] RE: Pricing a Freelance Project

2009-10-12 Thread mike cann
Hi All,

Thanks for all the great advice. Seems like everyone is suggesting around
the £40-60 mark if quoting per hour. But if quoting a fixed amount then it
should be considerably more.

Cheers!

2009/10/12 Hans Wichman j.c.wich...@objectpainters.com

 Hi Steven,

 excuse my ignorance, but as a non native English person what is TM NET
 15/30? Couldn't find it on google.

 regards,
 Hans

 On Mon, Oct 12, 2009 at 8:23 AM, Steven Sacks flash...@stevensacks.net
 wrote:

  I do not do fixed bid projects. I always do TM NET 15/30, and don't have
  an issue selling my work that way.
 
  If you want me to do a fixed bid project, I'm bidding on exactly what the
  scope is right now.  If there is any change in scope, production will
 stop
  as I assess the impact such a change will have on the schedule (my
  assessment is billable), and take time to modify the contract to reflect
 the
  change in scope and cost, and you will need to review and approve these
  changes in writing, all of which take time spent not developing and puts
  your deadline in jeopardy.  However, with TM, I get paid for the work I
 do,
  and you have full flexibility in making as many changes as you like, with
  the knowledge that development never stops, though the deadline may be
  affected by your changes.
 
  Something to that effect.
 
 
 
  Kerry Thompson wrote:
 
  Steven Sacks wrote:
 
  You need to charge for time spent babysitting the client.  That's
 billable
  time.
 
 
  Absolutely true, with one kicker: a fixed bid. A lot of clients want to
  shift the risk to you, the freelancer, so they ask for a fixed-price bid
  rather than an hourly rate.
 
  My advice is to be very, very careful with these. My experience shows
 that
  clients rarely, if ever, know just what they need. They will give you an
  idea, but there will inevitably be extras that simply must be done.
 Initial
  estimates of the amount of work needed are almost always off by a factor
 of
  at least two, often up to a factor of 10. If you underbid one of these
  contracts, you could spend a year to earn $20,000.
 
  Be up front with the client in this case. You are bidding on the project
  as it is currently designed. Changes and additions will be billed extra.
 You
  must do this to survive, or your client will bury you with feature
 creep.
 
  Be positive about it, of course. When they request an additional
 feature,
  say Sure, we can do that. It will cost you $4,000 and add two weeks to
 the
  schedule. I'll get started on it just as soon as I get an amendment to
 the
  contract.
 
  Also, on a fixed-bid contract, get at least 25% up front. If you bill
 only
  on milestones, can you live off your savings until they approve the
  prototype, or the alpha? I can't--I'm lucky that my wife has a
 well-paying
  job.
 
  Cordially,
 
  Kerry Thompson
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Pricing a Freelance Project

2009-10-11 Thread mike cann
Hi List!

I have been asked to price a freelance project and as its my first proper
freelance project im not sure what to charge per hour.

Some details:

Its a code only project, all the design and artwork is supplied. (flash)
Its a fairly simple flash game interface with multiple sub-minigames all
communicating with a server
It will require a CMS back-end for admin management of the users, games, and
content. (probably flex)
mySQL / php will tie it all together

Its for a fairly large client so im worried of under-charging myself as I
know they are likely to have a sizeable budget.

So far I have done a few googles and worked out what my day-job hourly rate
is and come up with a figure of £40per hour. Does this seem unreasonable for
a flash/php/database coding project?

Cheers,

-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] as3 to iphone app

2009-10-08 Thread Mike Chambers
I think that is a misguided statement, not based on any fact. Why do  
you assume / suggest that using Flash will be inferior for building  
all types of iPhone applications and content?


mike chambers

m...@adobe.com

On Oct 8, 2009, at 5:50 AM, Eric E. Dolecki wrote:

If you want to *really* make iPhone apps, use Xcode and the SDK. If  
you just

want to get some stuff up on the store quickly, use CS5 I gues


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


Re: [Flashcoders] as3 to iphone app

2009-10-08 Thread Mike Chambers
Well, it is not a simulator. The SWF is compiled using LLVM to native  
arm code.


Is every native iphone available? No. However, for the APIs that are  
available, there is no reason to expect that you couldn't build as  
full featured apps / games / content as you could with any other  
solution (such as Objective-C or Unity3D).


mike chambers

m...@adobe.com

On Oct 8, 2009, at 5:13 PM, Eric E. Dolecki wrote:

Yes, it is an assumption not based on any fact. My opinion right now  
as I

believe I stated originally.
I saw what is supported and I know the vast ocean of iPhone APIs  
that are
available when developing natively. I won't assume that the level of  
control
Adobe will offer in the conversion compile can be nearly as good as  
when
compiling using Xcode. I could be wrong, but having people learn how  
to
drive in a simulator probably won't ever be as good as driving the  
real

thing. That's all. I hope Adobe proves me wrong. But I don't think
abandoning learning Obj-C is favor of AS3 is a good idea  
regardless... it's

great to know both or more.
Eric

On Thu, Oct 8, 2009 at 7:22 PM, Mike Chambers mcham...@adobe.com  
wrote:


I think that is a misguided statement, not based on any fact. Why  
do you
assume / suggest that using Flash will be inferior for building all  
types of

iPhone applications and content?

mike chambers

m...@adobe.com

On Oct 8, 2009, at 5:50 AM, Eric E. Dolecki wrote:

If you want to *really* make iPhone apps, use Xcode and the SDK. If  
you

just
want to get some stuff up on the store quickly, use CS5 I gues



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





--
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] JPGEncoder and com folder

2009-09-25 Thread Mike Chambers

You need to download the code from the as3corelib library:

http://code.google.com/p/as3corelib/

mike chambers

m...@adobe.com

On Sep 24, 2009, at 4:36 PM, Bassam M wrote:

Hi guys anybody know where is the folder  com.adobe I'm confuse  
about the
class I don't know wher it's and I want to use JPEGEncoder but I'm  
getting

error 1172: Definition com.adobe.images:JPGEncoder could not be found.
so I want to place it inside the exact folder
any Idea
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] panels / workspace CS4 bug

2009-09-20 Thread mike donnelly
CS4 panels are a bloody mess. My personal bugbear is the library and
property panels getting in each others' way. You have to click on both
before you can get the one you want to see in front of the other.

I recommend FlashDevelop for coding too. You'll *never* go back to the
actions panel.

Or get a second screen and throw all your misbehaving panels into that.

2009/9/18 Isaac Alves isaacal...@gmail.com

 Pedro, that works, but this way I惴 forced to always have this actions
 buttons on the screen (when I press F9) and that is quite boring ,
 cause (at least for me) it stands in front of important stuff . I 惴
 used to F9 to open /close the acitons panel.

 I惻l give a try on FlashDevelop!

 thanks everyone for replying,
 cheers

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

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


Re: [Flashcoders] PHP Socket Question

2009-09-15 Thread mike donnelly
Er, doesn't Flash Media Server do exactly what you want to do? I recommend
Influxis hosting, pretty cheap FMS hosting and they're super developer
friendly.

You have to learn a bit of arcane server-side actionscript. It's
actionscript 1, yurrk, with a weird API for manipulating sockets and server
stuff, but it's fine once you get your head around it.

hah just realised this was posted months ago. how helpful of me!

2009/7/22 John McCormack j...@easypeasy.co.uk

  http://www.tufat.com/s_flash_chat_chatroom.htm

 Thanks for that Glen,
 That looks really interesting.

 John


 Glen Pike wrote:

 You can use a database to store data in for a chat server, but you will
 need to have some kind of server side maintenance script to weed out the
 database.

 With a socket server system, you usually have to have a dedicated server,
 or at least one which lets you log into the shell and create scripts - most
 hosting does not let you run stuff like socket servers easily - which is why
 the database version may be used, because most hosting comes with this as
 standard.
 To test if your system could use a socket server, grab a free script and
 try exec()'ing it from a webserver PHP script to see if you could
 theoretically start and stop your server.  I would guess most hosting locks
 this down and it may violate your TOS.

 Alternatively, look at hosted systems - Electrotank used to do a socket
 server and possibly provide hosting for that, it's in Java, but you would
 not have to write all that stuff...  Also look at Moock's Multi-user Unity
 system - can't remember if that's useful or not.

 There is a program called Flash Chat for $5 which is probably worth
 looking at - http://www.tufat.com/s_flash_chat_chatroom.htm - there used
 to be a version called AMFIChat, but it has been discontinued (possibly
 because the guy was violating the terms of the AMF license)

 Anyway, in terms of time vs money $5 to spend looking at someone elses
 ready made system could be very cheap and you can see what server side stuff
 it does too.

 Omar Fouad wrote:

 hey,
 My boss asked me to develop a Cards Game called Estimation (I don't
 know
 if you heard about it). It is a Cards game similar to spades, where there
 are tricks, bids, etc.
 The game is going to be a Facebook application, so it is required a
 multi-player option (real time).
 At first I thought I would create a database and continuously let the
 client
 send queries using AMF, to check for changes and update the display. But
 a
 friend of mine told me this is insane. The data on the database he would
 buge, and I have to take in mind, that anyone could leave the game at
 anytime, so the data will remain in the database uselessly. He told me to
 use sockets, and store the variables I need, such as the rooms, the
 player
 nickname, the bids, the calls, the tricks, the scores, the rounds, the
 hands, and all the crap that I would need in the server side script
 (PHP).
 Is this true? If I will have to use sockets, should I store the data as
 variables in the server side script?

 I really need to figure out how to start. Thanks.




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




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

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


Re: [Flashcoders] RE: Rather urgent advice on how to track the cause of a crash

2009-09-08 Thread mike donnelly
Ah that's great. What was it in the end? You just copied the frames into a
new CS4 fla (and removed the weird font)?

2009/9/7 Paul Steven paul_ste...@btinternet.com

 Just a quick update to say the client has just reported a full days use of
 the game with no crashes! Phew - that was a close one!

 Thanks again for all the advice - I wouldn't have cracked it without all
 the
 fantastic tips.

 Cheers

 Paul

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

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


Re: [Flashcoders] Rather urgent advice on how to track the cause of a crash

2009-09-06 Thread mike donnelly
I would go and get your client's machine. 40 minutes is way too long
to test changes!  If you can't do that, i would use a remote desktop
app. http://www.uvnc.com is a good one as far as i remember, and it's
free.

Also, replace the huge picture with a little one, and get rid of the
video. Basically, for each test you do, remove half of your game till
it stops crashing.

Good luck, i know the feelin!

On 9/4/09, Paul Steven paul_ste...@btinternet.com wrote:
 I have created a game in Flash CS3 which is being published for Flash 8 AS2.
 My client is reporting it crashing periodically on his XP PC. I have also
 managed replicate this on my Vista Ultimate PC with the following error:

 A problem caused the program to stop working correctly. Windows will close
 the program and notify you if a solution is available

 It took me over 40 minutes of continuous play to get the crash.

 This game is for an exhibition on Monday so I need to sort this pretty
 quickly.

 Can anyone suggest any ways to try and pinpoint the problem? The game is
 being run as a projector packaged with MDM Zinc. My first thoughts were that
 it was due to Zinc being pants but the same problem occurs with just a plain
 old Flash projector.

 The problem also happens in the Flash IDE, and similarly it just crashes
 Flash completely - there is no message saying a script is causing the movie
 problems. I am struggling to work out how to find the cause of the problem
 especially as it can happen pretty much immediately according to the client
 or after a long period of play.

 The game is basically a top down flying game with a scrolling background
 (JPG 5120 X 4320). The flash movie is published at 1600 x 1200 30 FPS. It
 includes an embedded FLV video on the Splash screen which is apparently
 639kb of video data. There are no audio files in the game.

 Any suggestions what code issues could be causing this or does it sound like
 something else causing the crash. Are there any tools that can help me track
 down the problem?

 Hoping someone can save the day!

 Thanks

 Paul

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


-- 
Sent from my mobile device
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Rather urgent advice on how to track the cause of a crash

2009-09-06 Thread mike donnelly
God what a nightmare! If your client's machine reliably crashes
quickly, testing on that is *definitely* the way to go.

Your bug seems so random, it could be anything. I had something
similar once with a font which would randomly bork the flashplayer. It
may well be that flash just hates your enormous movieclip, even if
it's just a dotted line. My first test would be to remove entirely any
huge clips like that.
Like i say, don't be meek: rip out half of your game for each test, so
you can drill down quick as poss.

Sorry i don't have an answer other than plain common sense. Maybe
someone out there knows a more technological method?

On 9/6/09, Paul Steven paul_ste...@btinternet.com wrote:
 Thanks Mike

 I am able to replicate it on my PC - well it has happened a few times. I
 tested for over 2 hours solid last night with no crash and thought it was
 fixed. But this morning after only about 10 seconds of play it crashed. This
 is the new version with the large image separated into 4 separate jpgs.

 Only other large item is a movie clip that is a dotted line that is the same
 size as the large image - this is a draw object (think this is the right
 term - basially the built in dotted line)

 I am trying the fdb command line thingy but of course it won't crash now.
 Pff!!!

 Next step is to try taking out bit by bit - so time consuming as a crash can
 take ages to occur.

 Cheers

 Paul

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of mike
 donnelly
 Sent: 06 September 2009 11:17
 To: Flash Coders List
 Subject: Re: [Flashcoders] Rather urgent advice on how to track the cause of
 a crash

 I would go and get your client's machine. 40 minutes is way too long
 to test changes!  If you can't do that, i would use a remote desktop
 app. http://www.uvnc.com is a good one as far as i remember, and it's
 free.

 Also, replace the huge picture with a little one, and get rid of the
 video. Basically, for each test you do, remove half of your game till
 it stops crashing.

 Good luck, i know the feelin!

 On 9/4/09, Paul Steven paul_ste...@btinternet.com wrote:
 I have created a game in Flash CS3 which is being published for Flash 8
 AS2.
 My client is reporting it crashing periodically on his XP PC. I have also
 managed replicate this on my Vista Ultimate PC with the following error:

 A problem caused the program to stop working correctly. Windows will
 close
 the program and notify you if a solution is available

 It took me over 40 minutes of continuous play to get the crash.

 This game is for an exhibition on Monday so I need to sort this pretty
 quickly.

 Can anyone suggest any ways to try and pinpoint the problem? The game is
 being run as a projector packaged with MDM Zinc. My first thoughts were
 that
 it was due to Zinc being pants but the same problem occurs with just a
 plain
 old Flash projector.

 The problem also happens in the Flash IDE, and similarly it just crashes
 Flash completely - there is no message saying a script is causing the
 movie
 problems. I am struggling to work out how to find the cause of the problem
 especially as it can happen pretty much immediately according to the
 client
 or after a long period of play.

 The game is basically a top down flying game with a scrolling background
 (JPG 5120 X 4320). The flash movie is published at 1600 x 1200 30 FPS. It
 includes an embedded FLV video on the Splash screen which is apparently
 639kb of video data. There are no audio files in the game.

 Any suggestions what code issues could be causing this or does it sound
 like
 something else causing the crash. Are there any tools that can help me
 track
 down the problem?

 Hoping someone can save the day!

 Thanks

 Paul

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


 --
 Sent from my mobile device
 ___
 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


-- 
Sent from my mobile device
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Rather urgent advice on how to track the cause of a crash

2009-09-06 Thread mike donnelly
Also, to test for memory leaks, i'd do a test where you automate the
intro/playing/end loop of your game, ie. Stick a bit of code in that
finishes the game after a second of playing, and just keep going
round:intro,playing,end. If it still crashes, you'll know it's
probably the creation/destruction that's buggy, and not the main game
code itself.

On 9/6/09, mike donnelly chichila...@gmail.com wrote:
 God what a nightmare! If your client's machine reliably crashes
 quickly, testing on that is *definitely* the way to go.

 Your bug seems so random, it could be anything. I had something
 similar once with a font which would randomly bork the flashplayer. It
 may well be that flash just hates your enormous movieclip, even if
 it's just a dotted line. My first test would be to remove entirely any
 huge clips like that.
 Like i say, don't be meek: rip out half of your game for each test, so
 you can drill down quick as poss.

 Sorry i don't have an answer other than plain common sense. Maybe
 someone out there knows a more technological method?

 On 9/6/09, Paul Steven paul_ste...@btinternet.com wrote:
 Thanks Mike

 I am able to replicate it on my PC - well it has happened a few times. I
 tested for over 2 hours solid last night with no crash and thought it was
 fixed. But this morning after only about 10 seconds of play it crashed.
 This
 is the new version with the large image separated into 4 separate jpgs.

 Only other large item is a movie clip that is a dotted line that is the
 same
 size as the large image - this is a draw object (think this is the right
 term - basially the built in dotted line)

 I am trying the fdb command line thingy but of course it won't crash now.
 Pff!!!

 Next step is to try taking out bit by bit - so time consuming as a crash
 can
 take ages to occur.

 Cheers

 Paul

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of mike
 donnelly
 Sent: 06 September 2009 11:17
 To: Flash Coders List
 Subject: Re: [Flashcoders] Rather urgent advice on how to track the cause
 of
 a crash

 I would go and get your client's machine. 40 minutes is way too long
 to test changes!  If you can't do that, i would use a remote desktop
 app. http://www.uvnc.com is a good one as far as i remember, and it's
 free.

 Also, replace the huge picture with a little one, and get rid of the
 video. Basically, for each test you do, remove half of your game till
 it stops crashing.

 Good luck, i know the feelin!

 On 9/4/09, Paul Steven paul_ste...@btinternet.com wrote:
 I have created a game in Flash CS3 which is being published for Flash 8
 AS2.
 My client is reporting it crashing periodically on his XP PC. I have
 also
 managed replicate this on my Vista Ultimate PC with the following error:

 A problem caused the program to stop working correctly. Windows will
 close
 the program and notify you if a solution is available

 It took me over 40 minutes of continuous play to get the crash.

 This game is for an exhibition on Monday so I need to sort this pretty
 quickly.

 Can anyone suggest any ways to try and pinpoint the problem? The game is
 being run as a projector packaged with MDM Zinc. My first thoughts were
 that
 it was due to Zinc being pants but the same problem occurs with just a
 plain
 old Flash projector.

 The problem also happens in the Flash IDE, and similarly it just crashes
 Flash completely - there is no message saying a script is causing the
 movie
 problems. I am struggling to work out how to find the cause of the
 problem
 especially as it can happen pretty much immediately according to the
 client
 or after a long period of play.

 The game is basically a top down flying game with a scrolling background
 (JPG 5120 X 4320). The flash movie is published at 1600 x 1200 30 FPS.
 It
 includes an embedded FLV video on the Splash screen which is apparently
 639kb of video data. There are no audio files in the game.

 Any suggestions what code issues could be causing this or does it sound
 like
 something else causing the crash. Are there any tools that can help me
 track
 down the problem?

 Hoping someone can save the day!

 Thanks

 Paul

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


 --
 Sent from my mobile device
 ___
 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


 --
 Sent from my mobile device


-- 
Sent from my mobile device
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] RE: Rather urgent advice on how to track the cause of a crash

2009-09-06 Thread mike donnelly
:) pleasure. what a pissy sunday you must be having. yer a troopa.

2009/9/6 Paul Steven paul_ste...@btinternet.com

 Got rid of font problem by cutting and pasting all frames into a new movie.

 I am hoping this will also result in a bug free game.

 Thanks again to everyone for their help in my time of need. I have my
 fingers and toes crossed that the game will not crash anymore.

 Cheers

 Paul

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
 Steven
 Sent: 06 September 2009 20:36
 To: 'Flash Coders List'; 'Alan Watts'
 Subject: RE: [Flashcoders] RE: Rather urgent advice on how to track the
 cause of a crash

 Still plugging away at this and have just tried opening the file in Flash
 CS4. Couple of strange things.

 It brought up a font mapping dialog box saying a font HelveticaCE is
 contained in my movie and not on my system. I do not recall this font being
 added and if I do a Generate Size Report, it is not detailed here. I have
 mapped it to Helvetica but this seems strange that I cannot find it -
 anyone
 suggest a way to find it? I tried using Movie Explorer too.

 Also another weird thing after I closed this dialog box, I got an error
 saying a script in your movie is causing the movie to This was before I
 had even tried to publish or test the movie. Strange thing too is that if I
 close Flash CS4 and reopen I do not get this error again. So perhaps it was
 just a one off - very strange!

 Anyway I have published the game using CS4 with same publish settings and
 haven't got the crash again yet but that doesn't mean it won't re-appear.

 Is it worth rewriting the code in AS3? There isn't really much code in this
 game - it is simply a plane controlled by mouse that flies over a terrain.
 Main code as follows just in case anyone spots anything that is likely to
 cause a problem. This code is called onEnterFrame

 function faceMouse(obj:MovieClip)
 {

 var r2d = 180 / Math.PI;

 var dx:Number = _xmouse - obj._x;
 var dy:Number = _ymouse - obj._y;


 var rads = Math.atan2(dy, dx);


 obj._rotation = rads * r2d;

_level0.planeShadowMC._rotation = obj._rotation;
 }


 function moveToMouse( obj:MovieClip, distance:Number)
 {
var dx:Number = _xmouse - obj._x;
var dy:Number = _ymouse - obj._y;

var rads:Number = Math.atan2( dy, dx);

var numNewMapX = gameMap.mapAll._x - Math.cos( rads) * distance;
var numNewMapY = gameMap.mapAll._y - Math.sin( rads) * distance;

if (dx  0) {

if (numNewMapX = objGame.numMinX) {

gameMap.mapAll._x = numNewMapX;

}

} else {

if (numNewMapX = objGame.numMaxX) {

gameMap.mapAll._x = numNewMapX;

}


}


if (dy  0) {

if (numNewMapY = objGame.numMinY) {

gameMap.mapAll._y = numNewMapY;

}

} else {

if (numNewMapY = objGame.numMaxY) {

gameMap.mapAll._y = numNewMapY;

}


}

radar.radarMap._x = (gameMap.mapAll._x/10) + 70;
radar.radarMap._y = (gameMap.mapAll._y/10) + 46;

 }



 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
 Steven
 Sent: 06 September 2009 16:17
 To: 'Alan Watts'; flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] RE: Rather urgent advice on how to track the cause
 of
 a crash

 Out of interest, Alan, what information will the fdb give me if I can
 replicate the crash?



 Thanks



 Paul



 From: Alan Watts [mailto:a...@datax.com]
 Sent: 05 September 2009 18:47
 To: flashcoders@chattyfig.figleaf.com
 Cc: Paul Steven
 Subject: RE: Rather urgent advice on how to track the cause of a crash



 fdb?



 http://livedocs.adobe.com/flex/3/html/help.html?content=debugging_03.html



 It's a good way to trackdown elusive bugs.  Hopefully you can recreate the
 error though, because you'd be the only one who can do the inspection.



 Alan







 On Sep 5, 2009, at 11:00 AM, flashcoders-requ...@chattyfig.figleaf.com
 wrote:





 I have created a game in Flash CS3 which is being published for Flash 8
 AS2.
 My client is reporting it crashing periodically on his XP PC. I have also
 managed replicate this on my Vista Ultimate PC with the following error:

 A problem caused the program to stop working correctly. Windows will close
 the program and notify you if a solution is available



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

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 

Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender

2009-03-25 Thread mike cann
I personally havent done any haXe yet. Have you got the latest version of FD
running?

2009/3/24 allandt bik-elliott (thefieldcomic.com) alla...@gmail.com

 can anyone recommend a good set of tutorials compatible with both haXe and
 flashdevelop - i started going through the ones on haXe.org but they bang
 on
 about a bunch of files that don't seem present in my flashdevelop project
 (i
 suspect they are hidden). The flashdevelop ones seem to be missing.

 On Tue, Mar 24, 2009 at 2:53 PM, mike cann mike.c...@gmail.com wrote:

  Yep, I have been considering haXe, especially now that they have added
 SWC
  support I can export the core of my rendering engine as haXe compiled SWC
  and then use that in my Flex Project, agreed tho the alchemy cheats are
  anoying but still very impressive what is possible if you try hard enough
  ;)
 
  2009/3/20 Juan Delgado zzzar...@gmail.com
 
   You can try haXe, it outputs Alchemy bytoce for that extra performance:
  
   http://ncannasse.fr/blog/adobe_alchemy
  
   Still, it's odd that to get the best of Flash you are forced to use...
   C or haXe, not ActionScript.
  
   On Thu, Mar 19, 2009 at 8:25 PM, Latcho spamtha...@gmail.com wrote:
You are still clever:)
I think the Alchemy story is a bit of a frustrating one (to know).
Especially if you don't want to go C++ to obtain...performative AS3.
Latcho
   
mike cann wrote:
   
Just thought I would update anyone interested, I have updated my
   Particle
Playground see post: http://www.mikecann.co.uk/?p=392
   
Also I stumbled accross this very interesting particle on 300k 3D
particles
in flash using alchemy and pixel bender!
   
   
  
 
 http://www.unitzeroone.com/blog/2009/03/18/flash-10-massive-amounts-of-3d-particles-with-alchemy-source-included/
   
It put a swift end to the thoughts about how clever i was with 40k
 2D
particles :P
   
   
   
2009/3/18 mike cann mike.c...@gmail.com
   
   
   
Sure will, i learnt quite abit about what you can and cant do with
shaders
in flash making this. I hope to share with you all soon.
   
2009/3/18 Eric E. Dolecki edole...@gmail.com
   
Ping us when you release something or have a demo online. Looks
 cool.
   
   
E.
   
On Wed, Mar 18, 2009 at 8:03 AM, Hans Wichman 
j.c.wich...@objectpainters.com wrote:
   
   
   
awesome:)
   
On Wed, Mar 18, 2009 at 12:45 PM, mike cann mike.c...@gmail.com
 
   
   
wrote:
   
   
Hey List,
   
I have been playing around with particles again...
   
I have just released my latest little saunter into the world of
   
   
particles
   
   
and shaders in flash 10. It started off as and idea to use the
 new
   
   
pixel
   
   
bender shaders of flash 10 as a more efficient method of
 updating
   
   
particle
   
   
simulations.
   
Well after a few struggling evenings I managed to get a little
   
   
prototype
   
   
going. I was so amazed at some of the beautiful patterns and
  effects
   
   
that
   
   
the particles were making I thought it may be nice rather than
  just
releasing a tech demo, to add abit more to it and release it for
   
   
others
   
   
to
   
   
enjoy.
   
I will be releasing the source code in the coming weeks along
 with
  a
   
   
blog
   
   
post which should explain in detail how the technical aspects of
   
   
updating
   
   
and rendering tens of thousands of particles per frame works.
   
The tool features a gallery tab which you can use to take
   screenshots
   
   
then
   
   
upload them to my picassa account (proxyed via php). The hope is
  to
   
   
get
   
   
some
realy beautiful images in here, perhaps if some are good enough
  ill
   
   
get
   
   
them
printed and framed ;)
   
You can see it in action over on my blog:
   
   
http://www.mikecann.co.uk/?p=384
   
   
Let me know what you think!

Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
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
   
   
   
--
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
   
   
--
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
   
   
   
   
   
   
   
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender

2009-03-24 Thread mike cann
Yep, I have been considering haXe, especially now that they have added SWC
support I can export the core of my rendering engine as haXe compiled SWC
and then use that in my Flex Project, agreed tho the alchemy cheats are
anoying but still very impressive what is possible if you try hard enough ;)

2009/3/20 Juan Delgado zzzar...@gmail.com

 You can try haXe, it outputs Alchemy bytoce for that extra performance:

 http://ncannasse.fr/blog/adobe_alchemy

 Still, it's odd that to get the best of Flash you are forced to use...
 C or haXe, not ActionScript.

 On Thu, Mar 19, 2009 at 8:25 PM, Latcho spamtha...@gmail.com wrote:
  You are still clever:)
  I think the Alchemy story is a bit of a frustrating one (to know).
  Especially if you don't want to go C++ to obtain...performative AS3.
  Latcho
 
  mike cann wrote:
 
  Just thought I would update anyone interested, I have updated my
 Particle
  Playground see post: http://www.mikecann.co.uk/?p=392
 
  Also I stumbled accross this very interesting particle on 300k 3D
  particles
  in flash using alchemy and pixel bender!
 
 
 http://www.unitzeroone.com/blog/2009/03/18/flash-10-massive-amounts-of-3d-particles-with-alchemy-source-included/
 
  It put a swift end to the thoughts about how clever i was with 40k 2D
  particles :P
 
 
 
  2009/3/18 mike cann mike.c...@gmail.com
 
 
 
  Sure will, i learnt quite abit about what you can and cant do with
  shaders
  in flash making this. I hope to share with you all soon.
 
  2009/3/18 Eric E. Dolecki edole...@gmail.com
 
  Ping us when you release something or have a demo online. Looks cool.
 
 
  E.
 
  On Wed, Mar 18, 2009 at 8:03 AM, Hans Wichman 
  j.c.wich...@objectpainters.com wrote:
 
 
 
  awesome:)
 
  On Wed, Mar 18, 2009 at 12:45 PM, mike cann mike.c...@gmail.com
 
 
  wrote:
 
 
  Hey List,
 
  I have been playing around with particles again...
 
  I have just released my latest little saunter into the world of
 
 
  particles
 
 
  and shaders in flash 10. It started off as and idea to use the new
 
 
  pixel
 
 
  bender shaders of flash 10 as a more efficient method of updating
 
 
  particle
 
 
  simulations.
 
  Well after a few struggling evenings I managed to get a little
 
 
  prototype
 
 
  going. I was so amazed at some of the beautiful patterns and effects
 
 
  that
 
 
  the particles were making I thought it may be nice rather than just
  releasing a tech demo, to add abit more to it and release it for
 
 
  others
 
 
  to
 
 
  enjoy.
 
  I will be releasing the source code in the coming weeks along with a
 
 
  blog
 
 
  post which should explain in detail how the technical aspects of
 
 
  updating
 
 
  and rendering tens of thousands of particles per frame works.
 
  The tool features a gallery tab which you can use to take
 screenshots
 
 
  then
 
 
  upload them to my picassa account (proxyed via php). The hope is to
 
 
  get
 
 
  some
  realy beautiful images in here, perhaps if some are good enough ill
 
 
  get
 
 
  them
  printed and framed ;)
 
  You can see it in action over on my blog:
 
 
  http://www.mikecann.co.uk/?p=384
 
 
  Let me know what you think!
  
  Mike Cann
  http://www.mikecann.co.uk/
  http://www.artificialgames.co.uk/
  ___
  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
 
 
 
  --
  http://ericd.net
  Interactive design and development
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
  --
  Mike Cann
  http://www.mikecann.co.uk/
  http://www.artificialgames.co.uk/
 
 
 
 
 
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



 --
 Juan Delgado - Zárate
 http://zarate.tv
 http://blog.zarate.tv

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




-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender

2009-03-18 Thread mike cann
Hey List,

I have been playing around with particles again...

I have just released my latest little saunter into the world of particles
and shaders in flash 10. It started off as and idea to use the new pixel
bender shaders of flash 10 as a more efficient method of updating particle
simulations.

Well after a few struggling evenings I managed to get a little prototype
going. I was so amazed at some of the beautiful patterns and effects that
the particles were making I thought it may be nice rather than just
releasing a tech demo, to add abit more to it and release it for others to
enjoy.

I will be releasing the source code in the coming weeks along with a blog
post which should explain in detail how the technical aspects of updating
and rendering tens of thousands of particles per frame works.

The tool features a gallery tab which you can use to take screenshots then
upload them to my picassa account (proxyed via php). The hope is to get some
realy beautiful images in here, perhaps if some are good enough ill get them
printed and framed ;)

You can see it in action over on my blog: http://www.mikecann.co.uk /?p=384

Let me know what you think!

Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender

2009-03-18 Thread mike cann
Sure will, i learnt quite abit about what you can and cant do with shaders
in flash making this. I hope to share with you all soon.

2009/3/18 Eric E. Dolecki edole...@gmail.com

 Ping us when you release something or have a demo online. Looks cool.
 E.

 On Wed, Mar 18, 2009 at 8:03 AM, Hans Wichman 
 j.c.wich...@objectpainters.com wrote:

  awesome:)
 
  On Wed, Mar 18, 2009 at 12:45 PM, mike cann mike.c...@gmail.com wrote:
 
   Hey List,
  
   I have been playing around with particles again...
  
   I have just released my latest little saunter into the world of
 particles
   and shaders in flash 10. It started off as and idea to use the new
 pixel
   bender shaders of flash 10 as a more efficient method of updating
  particle
   simulations.
  
   Well after a few struggling evenings I managed to get a little
 prototype
   going. I was so amazed at some of the beautiful patterns and effects
 that
   the particles were making I thought it may be nice rather than just
   releasing a tech demo, to add abit more to it and release it for others
  to
   enjoy.
  
   I will be releasing the source code in the coming weeks along with a
 blog
   post which should explain in detail how the technical aspects of
 updating
   and rendering tens of thousands of particles per frame works.
  
   The tool features a gallery tab which you can use to take screenshots
  then
   upload them to my picassa account (proxyed via php). The hope is to get
   some
   realy beautiful images in here, perhaps if some are good enough ill get
   them
   printed and framed ;)
  
   You can see it in action over on my blog:
  http://www.mikecann.co.uk/?p=384
  
   Let me know what you think!
   
   Mike Cann
   http://www.mikecann.co.uk/
   http://www.artificialgames.co.uk/
   ___
   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
 



 --
 http://ericd.net
 Interactive design and development
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Remote Fonts and Sandbox?

2009-02-24 Thread Mike Grunwald

Hello All,

I've run into a confusing issue:

I've created several font SWFs that contain only the characters that  
I need for a particular language and I was loading them in using a  
FontLoader class that I pass a language parameter to. After the  
FontLoader class loads the proper font (Event.COMPLETE), It calls a  
method that had Font.registerFont in it, to add it to the list of  
available fonts.


This was working perfectly until the client threw a wrench into the  
gears. I now have to have the font files on a different server  
because the CMS that they're using only allows them to upload a  
single SWF into the page (no assets are allowed).  I added the proper  
Security.allowDomain stuff and I know the fonts are loading because  
they trace out, but now when I try to register the font, I get this  
error:


ArgumentError: Error #1508: The value specified for argument font is  
invalid.

at flash.text::Font$/registerFont()
at com.johnsoncontrols.bsrbanner.utils::FontLoader/registerFont()


Here's my registerFont method that used to work:

private function registerFont(e:Event):void
{
			 var FontLibrary:Class = e.target.applicationDomain.getDefinition 
(ArialUnicode_ + _language);


 Font.registerFont(FontLibrary[ArialUnicode_ + 
_language]);

 _loadedFont = FontLibrary[ArialUnicode_ + _language];

trace(FONTS:  + Font.enumerateFonts());
}


...And here's the document class of the font SWF I'm loading in:

package
{
import flash.display.Sprite;
import flash.system.Security;
import flash.text.Font;


public class ArialUnicode_ENG extends Sprite
{

		[Embed(source='/Users/mike/MCDILL FONTS/A/Arial Unicode/Arial  
Unicode.ttf', fontName='ArialUnicode_ENG', unicodeRange='U+0041-U 
+0041,U+0042-U+0042,...')]



public static var ArialUnicode_ENG:Class;


public function ArialUnicode_ENG()
{
Security.allowDomain(*);
}   
}
}


Anybody know what the problem might be?

Thanks for any help in advance,
_mike


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


Re: [Flashcoders] Either an incredibly easy or incredibly difficult problem

2009-02-16 Thread mike cann
Correct, its not possible unless you create a symbol for each point im
afraid

2009/2/9 Anthony Pace anthony.p...@utoronto.ca

 That is exactly what I was going to say, and I have been trying to find
 something online; yet, I have found nothing, so I just assume its not
 possible to do it programatically, outside of the flash ide using jsfl.

 Now that I think of it, this could be somewhat useful.



 Merrill, Jason wrote:

 Might be possible, but I don't know of a way - Sprite.graphics is for
 drawing graphics with code - not accessing manually created graphic
 properties.


 Jason Merrill

  Bank of  America   Learning Performance Solutions Instructional
 Technology  Media
 Learn about the Adobe Flash platform for rich media experiences - join
 the Bank of America Flash Platform Community

 ___
 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




-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: Internet Explorer 8

2009-02-06 Thread mike donnelly
Yeh, you've got to explicitly say exactly what browsers/OS's you'll be
targetting, then you can rest easy. Otherwise the natural assumption is that
you'll keep the site working as well as when it was delivered!


2009/2/3 Vayu Robins v...@vayu.dk

 Hi flashcoders,

 I just finished a website for a client and the client writes back and says
 that one of her friends has IE8 and that the website is not displaying
 correctly.

 The website is displaying correctly in IE6 and IE7.  I was first surprised
 to hear that IE8 was released, but I later found out that its a Release
 Candidate 1, which I presume is a sort of a Beta version.

 Does anybody have any comments on this? Should I download the IE8 version
 and find the problem?  I am on a mac, using Parallels Desktop, Windows XP.

 I am worried that I wont be able to test for IE7 and IE6 afterwards, that
 IE8 will remove them.

 Is it fair of client to ask me test for IE8 when it isn't officially
 released yet?

 Furthermore, what is this Microsoft is releasing now? I thought IE8 was
 suppose to get better and be easier to develop for and follow web standards
 more like Firefox, Safari and others.  The amount of additional work needed
 for IE6 + IE7 is plenty, now we have to IE8 as well...

 Vayu


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

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


Re: [Flashcoders] round number to closet value of 8

2008-12-18 Thread Mike O'Grady
44. should be rounded to 48.
Try some simple mathematics, check out the difference between (48 -
44.) vs (44. - 40) and tell me which is the greater
difference?

On Fri, Dec 19, 2008 at 12:04 AM, Jiri Heitlager
jiriheitla...@googlemail.com wrote:
 Thnx that seems to work good enough.

 44. is rounded to 48 and should be 40, but thats fine.

 Thnx again.

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


[Flashcoders] Arabic flipping

2008-12-04 Thread Mike Grunwald
OK... I think I've reached the end of the internet as well as the end  
of my patients.


I've been trying to figure out a way to take translations that I've  
received in an Excel spreadsheet and paste them into an XML document.  
The XML is UTF-8 and it's plain text (of course). No matter what  
editor (Flex Builder 3, Dreamweaver, Text Edit, WordPad, NotePad,  
Word, etc.) or OS (OSX 10.4, Windows XP) or combination of the two,  
it seems that when I try to combine the eastern translation with  
western markup (XML tags, or even western characters for that  
matter), as soon as I drop in a single character, if flips the  
orientation of the translated Arabic text?!?


Everything that I find on the internet leads me hopeful down a path  
of ultimate disappointment. I know that I'm not the only one with  
this problem and I'm sure one of you has experienced this. Please let  
me in on you secrets. I beg you...


Let me just clarify—My problem is not font related (I've got that all  
sorted out), and for the most part it's not really Flash related  
(except for the fact that I'm using this XML content for dynamic text  
fields). this list is probably not the proper place for this  
question, but I'm out of options and I thinking that I'm going to  
have to scrap some of the digging I've done in relation to getting  
text to display properly and make alterations to my application to  
load images instead of live type.


Somebody... Anybody Help a brotha out!



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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Mike Grunwald
The fonts are coming through fine. I have all the characters I need  
embedded in the library (using Arial Unicode MS). Characters display  
properly. It's the order of words in the XML file that I'm having a  
problem with.


Thanks for any help. Much appreciated.



On Dec 4, 2008, at 10:48 AM, Sidney de Koning wrote:

Here we usually dont embed the text in the textfield, and grab the  
text from XML or you when you embed the font with code, include all  
the unicode codes of the arabic chars you need. And do use fonts  
that support Arabic like Arial, Verdana and i think Times New Roman


http://www.google.nl/search?q=embed+unicode+font+as3

On Dec 4, 2008, at 5:22 PM, Mike Grunwald wrote:

OK... I think I've reached the end of the internet as well as the  
end of my patients.


I've been trying to figure out a way to take translations that  
I've received in an Excel spreadsheet and paste them into an XML  
document. The XML is UTF-8 and it's plain text (of course). No  
matter what editor (Flex Builder 3, Dreamweaver, Text Edit,  
WordPad, NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or  
combination of the two, it seems that when I try to combine the  
eastern translation with western markup (XML tags, or even western  
characters for that matter), as soon as I drop in a single  
character, if flips the orientation of the translated Arabic text?!?


Everything that I find on the internet leads me hopeful down a  
path of ultimate disappointment. I know that I'm not the only one  
with this problem and I'm sure one of you has experienced this.  
Please let me in on you secrets. I beg you...


Let me just clarify—My problem is not font related (I've got that  
all sorted out), and for the most part it's not really Flash  
related (except for the fact that I'm using this XML content for  
dynamic text fields). this list is probably not the proper place  
for this question, but I'm out of options and I thinking that I'm  
going to have to scrap some of the digging I've done in relation  
to getting text to display properly and make alterations to my  
application to load images instead of live type.


Somebody... Anybody Help a brotha out!



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



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




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


Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Mike Grunwald

@Glen

That seems like a reasonable idea. The problem is, I'm not too sharp  
on the PHP.


I think you might be onto something with the CSV thing though. I'm  
going to try a couple things.


Thanks!


On Dec 4, 2008, at 10:52 AM, Glen Pike wrote:


Hi,

This is just a thought, but could you export the file as a CSV and  
use some kind of scripting language to generate an XML file - I may  
be way off, but you could set language options for PHP which might  
mean you are reading in the same charset as you are writing???


I don't have any experience of dealing with language stuff in PHP,  
but it was an idea...


Glen

Mike Grunwald wrote:
OK... I think I've reached the end of the internet as well as the  
end of my patients.


I've been trying to figure out a way to take translations that  
I've received in an Excel spreadsheet and paste them into an XML  
document. The XML is UTF-8 and it's plain text (of course). No  
matter what editor (Flex Builder 3, Dreamweaver, Text Edit,  
WordPad, NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or  
combination of the two, it seems that when I try to combine the  
eastern translation with western markup (XML tags, or even western  
characters for that matter), as soon as I drop in a single  
character, if flips the orientation of the translated Arabic text?!?


Everything that I find on the internet leads me hopeful down a  
path of ultimate disappointment. I know that I'm not the only one  
with this problem and I'm sure one of you has experienced this.  
Please let me in on you secrets. I beg you...


Let me just clarify—My problem is not font related (I've got that  
all sorted out), and for the most part it's not really Flash  
related (except for the fact that I'm using this XML content for  
dynamic text fields). this list is probably not the proper place  
for this question, but I'm out of options and I thinking that I'm  
going to have to scrap some of the digging I've done in relation  
to getting text to display properly and make alterations to my  
application to load images instead of live type.


Somebody... Anybody Help a brotha out!



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




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




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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Mike Grunwald

Not a stupid question @Ian.

It's not  a matter of each individual character reversing the order.  
If it were I could convert the string to an array and reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split().reverse().join();

 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying properly in  
the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in the XML
file, but when it actually gets to the screen, is it still flipped?
Can you control the flipping in the display on the screen, rather than
worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
[EMAIL PROTECTED] wrote:
OK... I think I've reached the end of the internet as well as the  
end of my

patients.

I've been trying to figure out a way to take translations that  
I've received
in an Excel spreadsheet and paste them into an XML document. The  
XML is
UTF-8 and it's plain text (of course). No matter what editor (Flex  
Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS  
(OSX 10.4,
Windows XP) or combination of the two, it seems that when I try to  
combine
the eastern translation with western markup (XML tags, or even  
western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down a  
path of
ultimate disappointment. I know that I'm not the only one with  
this problem

and I'm sure one of you has experienced this. Please let me in on you
secrets. I beg you...

Let me just clarify—My problem is not font related (I've got that  
all sorted
out), and for the most part it's not really Flash related (except  
for the
fact that I'm using this XML content for dynamic text fields).  
this list is
probably not the proper place for this question, but I'm out of  
options and
I thinking that I'm going to have to scrap some of the digging  
I've done in
relation to getting text to display properly and make alterations  
to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!


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


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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Mike Grunwald

Thanks @Fabio


Mike Grunwald

McDill Design
626 N Water St
Milwaukee, WI 53202
414.277.8111
mcdilldesign.com

On Dec 4, 2008, at 11:14 AM, Fabio Pinatti wrote:


I just finished developing an english website, with arabic (
http://www.nakheelharbour.com/).

Actually the arabic isnt ready due the complications I found in my  
way. I
tried a lot of things... Load xmls with arabic text, load css to  
align to
right, use system fonts, embedding fonts, etc etc etc. We had  
feedback from
arabic client, and he said that in all cases, the text seems wrong  
for him.
In our eastern computers, the text was right, but when they test,  
the text
changes a lot and is broken, without their ligatures. Honestly, I  
found a
pain in the ass make it work, dont know if CS4 have support for  
unicode
chars, and I finished doing a very boring alternative: Putting  
images or

vectors in arabic version.

Mike, even when you finish your work, make sure someone with arabic  
OS make

tests of it.

Best,
Fabio


On Thu, Dec 4, 2008 at 2:52 PM, Glen Pike  
[EMAIL PROTECTED] wrote:



Hi,

This is just a thought, but could you export the file as a CSV and  
use some
kind of scripting language to generate an XML file - I may be way  
off, but
you could set language options for PHP which might mean you are  
reading in

the same charset as you are writing???

I don't have any experience of dealing with language stuff in PHP,  
but it

was an idea...

Glen


Mike Grunwald wrote:

OK... I think I've reached the end of the internet as well as the  
end of

my patients.

I've been trying to figure out a way to take translations that I've
received in an Excel spreadsheet and paste them into an XML  
document. The
XML is UTF-8 and it's plain text (of course). No matter what  
editor (Flex
Builder 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.)  
or OS (OSX
10.4, Windows XP) or combination of the two, it seems that when I  
try to
combine the eastern translation with western markup (XML tags, or  
even

western characters for that matter), as soon as I drop in a single
character, if flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down a  
path of
ultimate disappointment. I know that I'm not the only one with  
this problem
and I'm sure one of you has experienced this. Please let me in on  
you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've got that  
all
sorted out), and for the most part it's not really Flash related  
(except for
the fact that I'm using this XML content for dynamic text  
fields). this list
is probably not the proper place for this question, but I'm out  
of options
and I thinking that I'm going to have to scrap some of the  
digging I've done
in relation to getting text to display properly and make  
alterations to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!



___
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





--
Fábio Pinatti
:: web.developer
 www.pinatti.com.br
:: 19. 9184.3745 / 3342.1130
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Mike Grunwald

@Cedric

It is weird and crazy.I know it's happening, so there's no need to  
show the client.


PS I haven't taken hallucinogens in quite sometime so I'm ruling out  
a Flashback. Other people see it too.



Mike Grunwald

McDill Design
626 N Water St
Milwaukee, WI 53202
414.277.8111
mcdilldesign.com

On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote:

OT but could you open the XLS and take a snapshot of the text, and  
then send to your client, to check if it is correct.
Then, if ok, could you copy / paste this text into another document  
(like word, txt, xml) and take snapshots in order to send them to  
your client ?


I find 'the order of words rearranged' very weird, almost crazy.

hth,
Cedric


Not a stupid question @Ian.

It's not  a matter of each individual character reversing the  
order. If it were I could convert the string to an array and  
reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split().reverse().join 
();


 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying properly  
in the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in the XML
file, but when it actually gets to the screen, is it still flipped?
Can you control the flipping in the display on the screen, rather  
than

worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
[EMAIL PROTECTED] wrote:
OK... I think I've reached the end of the internet as well as  
the end of my

patients.

I've been trying to figure out a way to take translations that  
I've received
in an Excel spreadsheet and paste them into an XML document. The  
XML is
UTF-8 and it's plain text (of course). No matter what editor  
(Flex Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS  
(OSX 10.4,
Windows XP) or combination of the two, it seems that when I try  
to combine
the eastern translation with western markup (XML tags, or even  
western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down a  
path of
ultimate disappointment. I know that I'm not the only one with  
this problem
and I'm sure one of you has experienced this. Please let me in  
on you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've got  
that all sorted
out), and for the most part it's not really Flash related  
(except for the
fact that I'm using this XML content for dynamic text fields).  
this list is
probably not the proper place for this question, but I'm out of  
options and
I thinking that I'm going to have to scrap some of the digging  
I've done in
relation to getting text to display properly and make  
alterations to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!


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


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



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


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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Mike Grunwald

@Cedric

I did see that. The problem with that is it's not XML. When I try to  
wrap any of the translations in tags, the words shift order. It has  
to have something to do with mixing Eastern and Western characters. I  
think it's tied to the alignment. Since Arabic is right justified, it  
displays properly when those are the only characters in the document.  
As soon as you introduce a Western character, it must automatically  
switch the justification and by doing so it flips the order of the  
Eastern words.



On Dec 4, 2008, at 12:41 PM, Cedric Muller wrote:


:(

Did you see this post ?
http://joeabiraad.com/design/how-to-write-arabic-in-flash-8/36

hth,
Cedric


@Cedric

It is weird and crazy.I know it's happening, so there's no need to  
show the client.


PS I haven't taken hallucinogens in quite sometime so I'm ruling  
out a Flashback. Other people see it too.



Mike Grunwald

McDill Design
626 N Water St
Milwaukee, WI 53202
414.277.8111
mcdilldesign.com

On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote:

OT but could you open the XLS and take a snapshot of the text,  
and then send to your client, to check if it is correct.
Then, if ok, could you copy / paste this text into another  
document (like word, txt, xml) and take snapshots in order to  
send them to your client ?


I find 'the order of words rearranged' very weird, almost crazy.

hth,
Cedric


Not a stupid question @Ian.

It's not  a matter of each individual character reversing the  
order. If it were I could convert the string to an array and  
reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split().reverse().join 
();


 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying  
properly in the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in the XML
file, but when it actually gets to the screen, is it still  
flipped?
Can you control the flipping in the display on the screen,  
rather than

worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
[EMAIL PROTECTED] wrote:
OK... I think I've reached the end of the internet as well as  
the end of my

patients.

I've been trying to figure out a way to take translations that  
I've received
in an Excel spreadsheet and paste them into an XML document.  
The XML is
UTF-8 and it's plain text (of course). No matter what editor  
(Flex Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS  
(OSX 10.4,
Windows XP) or combination of the two, it seems that when I  
try to combine
the eastern translation with western markup (XML tags, or even  
western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down a  
path of
ultimate disappointment. I know that I'm not the only one with  
this problem
and I'm sure one of you has experienced this. Please let me in  
on you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've got  
that all sorted
out), and for the most part it's not really Flash related  
(except for the
fact that I'm using this XML content for dynamic text fields).  
this list is
probably not the proper place for this question, but I'm out  
of options and
I thinking that I'm going to have to scrap some of the digging  
I've done in
relation to getting text to display properly and make  
alterations to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!





___
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] [AS2] Catching clicks in child clip?

2008-12-03 Thread mike cann
Hello List,

I have been forced to go back to AS2 recently for a work project and oh my
is it annoying me.

Part of the project I am writing a simple advertising loader, its basically
just a swf that loads other swfs into it.

The problem is that the adverts that are loaded in sometimes contain clicks
within them so without access to the source code i need a method of
preventing those clicks from happening.

To my knowledge this should be doable by implementing a cover over the top
of the loaded swf with a onPress, onRelease etc functions defined correct?

Well for some reason this isnt happenining.

See the source output below. You can download the project here:
http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip


import flash.geom.Matrix;
import mx.controls.Loader;
import mx.utils.Delegate;
/**
 * ...
 * @author DefaultUser (Tools - Custom Arguments...)
 */
class GJAdJacket
{
// Privates
private var _mc : MovieClip;
private var _adContainter : MovieClip;
private var _sizeWidth:Number;
private var _sizeHeight:Number;

public function GJAdJacket(attachToMC:MovieClip)
{
// The MC we are to attach to
_mc = attachToMC;

// Set the stage scale modes
Stage.scaleMode = noScale;
Stage.align = TL;

// Init
_sizeWidth = 300;
_sizeHeight = 250;
loadAdvert(
http://gjacket-images.adbureau.net/gjacket/_clientcreative/Eidos/BattleMail021208.swf
);
}

private function loadAdvert(advertURL:String)
{
// Make a mask for those naughty ads that dont mask
var mask : MovieClip = _mc.createEmptyMovieClip(mask,
_mc.getNextHighestDepth());
mask.beginFill(0, 255);
mask.moveTo(0,0);
mask.lineTo(_sizeWidth,0);
mask.lineTo(_sizeWidth,_sizeHeight);
mask.lineTo(0,_sizeHeight);
mask.lineTo(0,0);
mask.endFill();
_mc.setMask(mask);

mask.onMouseUp = Delegate.create(this, advertClickthrough);
mask.onRelease = function() { }
mask.onPress = function() { }
mask.onMouseDown = function() { }
mask.onMouseMove = function() { }

_adContainter = _mc.createEmptyMovieClip(container,
_mc.getNextHighestDepth());
_adContainter.loadMovie(advertURL);
}

public function advertClickthrough()
{
getURL(http://www.google.com;, _blank)
}
}


Cheers.

-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [AS2] Catching clicks in child clip?

2008-12-03 Thread mike cann
Okay well setting these values:

mask.onMouseUp = Delegate.create(this, advertClickthrough);
mask.onRelease = function() { }
mask.onPress = function() { }
mask.onMouseDown = function() { }
mask.onMouseMove = function() { }

to

_mc.onMouseUp = Delegate.create(this, advertClickthrough);
_mc.onRelease = function() { }
_mc.onPress = function() { }
_mc.onMouseDown = function() { }
_mc.onMouseMove = function() { }

has had no effect.

Believe me i have tried every single combination of where to place these
listeners. The mask is essentail BTW as some ads have objects off-stage and
hence need to be masked when they are loaded in.



2008/12/3 Glen Pike [EMAIL PROTECTED]

 Hi,

   Use a transparent clip over the top rather than making a clip a mask for
 your loaded clip - that should intercept mouse clicks, not sure a mask will?

   Glen


 mike cann wrote:

 Hello List,

 I have been forced to go back to AS2 recently for a work project and oh my
 is it annoying me.

 Part of the project I am writing a simple advertising loader, its
 basically
 just a swf that loads other swfs into it.

 The problem is that the adverts that are loaded in sometimes contain
 clicks
 within them so without access to the source code i need a method of
 preventing those clicks from happening.

 To my knowledge this should be doable by implementing a cover over the top
 of the loaded swf with a onPress, onRelease etc functions defined correct?

 Well for some reason this isnt happenining.

 See the source output below. You can download the project here:
 http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip


 import flash.geom.Matrix;
 import mx.controls.Loader;
 import mx.utils.Delegate;
 /**
  * ...
  * @author DefaultUser (Tools - Custom Arguments...)
  */
 class GJAdJacket
 {
// Privates
private var _mc : MovieClip;
private var _adContainter : MovieClip;
private var _sizeWidth:Number;
private var _sizeHeight:Number;

public function GJAdJacket(attachToMC:MovieClip)
{
// The MC we are to attach to
_mc = attachToMC;

// Set the stage scale modes
Stage.scaleMode = noScale;
Stage.align = TL;

// Init
_sizeWidth = 300;
_sizeHeight = 250;
loadAdvert(

 http://gjacket-images.adbureau.net/gjacket/_clientcreative/Eidos/BattleMail021208.swf
 );
}

private function loadAdvert(advertURL:String)
{
// Make a mask for those naughty ads that dont mask
var mask : MovieClip = _mc.createEmptyMovieClip(mask,
 _mc.getNextHighestDepth());
mask.beginFill(0, 255);
mask.moveTo(0,0);
mask.lineTo(_sizeWidth,0);
mask.lineTo(_sizeWidth,_sizeHeight);
mask.lineTo(0,_sizeHeight);
mask.lineTo(0,0);
mask.endFill();
_mc.setMask(mask);

mask.onMouseUp = Delegate.create(this, advertClickthrough);
mask.onRelease = function() { }
mask.onPress = function() { }
mask.onMouseDown = function() { }
mask.onMouseMove = function() { }

_adContainter = _mc.createEmptyMovieClip(container,
 _mc.getNextHighestDepth());
_adContainter.loadMovie(advertURL);
}

public function advertClickthrough()
{
getURL(http://www.google.com;, _blank)
}
 }


 Cheers.




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




-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [AS2] Catching clicks in child clip?

2008-12-03 Thread mike cann
setting _adContainter.enabled = false; doesnt work. (this is the one that
contains the loaded swf);

I have tried using MovieClipLoader and then doing the masking and the event
listening after the load too

If you would like i can do you an example with that method too.

I have tried making a mouse trap over the top and it didnt work, ill try
again and do you a version 2 mins..

2008/12/3 Glen Pike [EMAIL PROTECTED]

 Hi,

   You need a separate clip to attach the mouse handlers too - not the
 loaded clip, but another transparent one over the top of this - you probably
 need something in the mousetrap clip with an alpha of 0 to make this work.

   Glen


 mike cann wrote:

 Okay well setting these values:

mask.onMouseUp = Delegate.create(this, advertClickthrough);
mask.onRelease = function() { }
mask.onPress = function() { }
mask.onMouseDown = function() { }
mask.onMouseMove = function() { }

 to

_mc.onMouseUp = Delegate.create(this, advertClickthrough);
_mc.onRelease = function() { }
_mc.onPress = function() { }
_mc.onMouseDown = function() { }
_mc.onMouseMove = function() { }

 has had no effect.

 Believe me i have tried every single combination of where to place these
 listeners. The mask is essentail BTW as some ads have objects off-stage
 and
 hence need to be masked when they are loaded in.



 2008/12/3 Glen Pike [EMAIL PROTECTED]



 Hi,

  Use a transparent clip over the top rather than making a clip a mask for
 your loaded clip - that should intercept mouse clicks, not sure a mask
 will?

  Glen


 mike cann wrote:



 Hello List,

 I have been forced to go back to AS2 recently for a work project and oh
 my
 is it annoying me.

 Part of the project I am writing a simple advertising loader, its
 basically
 just a swf that loads other swfs into it.

 The problem is that the adverts that are loaded in sometimes contain
 clicks
 within them so without access to the source code i need a method of
 preventing those clicks from happening.

 To my knowledge this should be doable by implementing a cover over the
 top
 of the loaded swf with a onPress, onRelease etc functions defined
 correct?

 Well for some reason this isnt happenining.

 See the source output below. You can download the project here:
 http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip


 import flash.geom.Matrix;
 import mx.controls.Loader;
 import mx.utils.Delegate;
 /**
  * ...
  * @author DefaultUser (Tools - Custom Arguments...)
  */
 class GJAdJacket
 {
   // Privates
   private var _mc : MovieClip;
   private var _adContainter : MovieClip;
   private var _sizeWidth:Number;
   private var _sizeHeight:Number;

   public function GJAdJacket(attachToMC:MovieClip)
   {
   // The MC we are to attach to
   _mc = attachToMC;

   // Set the stage scale modes
   Stage.scaleMode = noScale;
   Stage.align = TL;

   // Init
   _sizeWidth = 300;
   _sizeHeight = 250;
   loadAdvert(


 http://gjacket-images.adbureau.net/gjacket/_clientcreative/Eidos/BattleMail021208.swf
 );
   }

   private function loadAdvert(advertURL:String)
   {
   // Make a mask for those naughty ads that dont mask
   var mask : MovieClip = _mc.createEmptyMovieClip(mask,
 _mc.getNextHighestDepth());
   mask.beginFill(0, 255);
   mask.moveTo(0,0);
   mask.lineTo(_sizeWidth,0);
   mask.lineTo(_sizeWidth,_sizeHeight);
   mask.lineTo(0,_sizeHeight);
   mask.lineTo(0,0);
   mask.endFill();
   _mc.setMask(mask);

   mask.onMouseUp = Delegate.create(this, advertClickthrough);
   mask.onRelease = function() { }
   mask.onPress = function() { }
   mask.onMouseDown = function() { }
   mask.onMouseMove = function() { }

   _adContainter = _mc.createEmptyMovieClip(container,
 _mc.getNextHighestDepth());
   _adContainter.loadMovie(advertURL);
   }

   public function advertClickthrough()
   {
   getURL(http://www.google.com;, _blank)
   }
 }


 Cheers.





 ___
 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




-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [AS2] Catching clicks in child clip?

2008-12-03 Thread mike cann
Okay the mousetrap over the top doesnt work. Find the new example here:
http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare_MouseTrap.zip

Source output here:

private function loadAdvert(advertURL:String)
{
// Make a mask for those naughty ads that dont mask
var mask : MovieClip = _mc.createEmptyMovieClip(mask,
_mc.getNextHighestDepth());
mask.beginFill(0, 255);
mask.moveTo(0,0);
mask.lineTo(_sizeWidth,0);
mask.lineTo(_sizeWidth,_sizeHeight);
mask.lineTo(0,_sizeHeight);
mask.lineTo(0,0);
mask.endFill();
_mc.setMask(mask);

_adContainter = _mc.createEmptyMovieClip(container,
_mc.getNextHighestDepth());
_adContainter.loadMovie(advertURL);
_adContainter.enabled = false;

var mouseTrap : MovieClip = _mc.createEmptyMovieClip(mouseTrap,
_mc.getNextHighestDepth());
mouseTrap.beginFill(0xFF, 255);
mouseTrap.moveTo(0,0);
mouseTrap.lineTo(_sizeWidth,0);
mouseTrap.lineTo(_sizeWidth,_sizeHeight);
mouseTrap.lineTo(0,_sizeHeight);
mouseTrap.lineTo(0,0);
mouseTrap.endFill();
mouseTrap._alpha = 50;

mouseTrap.onMouseUp = Delegate.create(this, advertClickthrough);
mouseTrap.onRelease = function() { }
mouseTrap.onPress = function() { }
mouseTrap.onMouseDown = function() { }
mouseTrap.onMouseMove = function() { }
}

Ill now attempt to do an _enabled on the loaded clip by using
MovieClipLoader instead of loadMovie()




2008/12/3 Glen Pike [EMAIL PROTECTED]

 Hi,

   I think enabled only applies to the clip, not it's children.

   Glen


 jonathan howe wrote:

 I forget but doesn't the _mc.enabled property cascade downwards? So once
 loaded you could set the container for the loaded swf as enabled =
 false...
 ?

 On Wed, Dec 3, 2008 at 9:07 AM, mike cann [EMAIL PROTECTED] wrote:



 Hello List,

 I have been forced to go back to AS2 recently for a work project and oh
 my
 is it annoying me.

 Part of the project I am writing a simple advertising loader, its
 basically
 just a swf that loads other swfs into it.

 The problem is that the adverts that are loaded in sometimes contain
 clicks
 within them so without access to the source code i need a method of
 preventing those clicks from happening.

 To my knowledge this should be doable by implementing a cover over the
 top
 of the loaded swf with a onPress, onRelease etc functions defined
 correct?

 Well for some reason this isnt happenining.

 See the source output below. You can download the project here:
 http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip


 import flash.geom.Matrix;
 import mx.controls.Loader;
 import mx.utils.Delegate;
 /**
  * ...
  * @author DefaultUser (Tools - Custom Arguments...)
  */
 class GJAdJacket
 {
   // Privates
   private var _mc : MovieClip;
   private var _adContainter : MovieClip;
   private var _sizeWidth:Number;
   private var _sizeHeight:Number;

   public function GJAdJacket(attachToMC:MovieClip)
   {
   // The MC we are to attach to
   _mc = attachToMC;

   // Set the stage scale modes
   Stage.scaleMode = noScale;
   Stage.align = TL;

   // Init
   _sizeWidth = 300;
   _sizeHeight = 250;
   loadAdvert(


 http://gjacket-images.adbureau.net/gjacket/_clientcreative/Eidos/BattleMail021208.swf
 );
   }

   private function loadAdvert(advertURL:String)
   {
   // Make a mask for those naughty ads that dont mask
   var mask : MovieClip = _mc.createEmptyMovieClip(mask,
 _mc.getNextHighestDepth());
   mask.beginFill(0, 255);
   mask.moveTo(0,0);
   mask.lineTo(_sizeWidth,0);
   mask.lineTo(_sizeWidth,_sizeHeight);
   mask.lineTo(0,_sizeHeight);
   mask.lineTo(0,0);
   mask.endFill();
   _mc.setMask(mask);

   mask.onMouseUp = Delegate.create(this, advertClickthrough);
   mask.onRelease = function() { }
   mask.onPress = function() { }
   mask.onMouseDown = function() { }
   mask.onMouseMove = function() { }

   _adContainter = _mc.createEmptyMovieClip(container,
 _mc.getNextHighestDepth());
   _adContainter.loadMovie(advertURL);
   }

   public function advertClickthrough()
   {
   getURL(http://www.google.com;, _blank)
   }
 }


 Cheers.

 --
 Mike Cann
 http://www.mikecann.co.uk/
 http://www.artificialgames.co.uk/
 ___
 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




-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo

Re: [Flashcoders] [AS2] Catching clicks in child clip?

2008-12-03 Thread mike cann
Okay i have now tried the mc.enable approach and still the clicks are
getting through?

Download this example here:
http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare_Enable.zip

Source below:

private function loadAdvert(advertURL:String)
{
// Make a mask for those naughty ads that dont mask
var mask : MovieClip = _mc.createEmptyMovieClip(mask,
_mc.getNextHighestDepth());
mask.beginFill(0, 255);
mask.moveTo(0,0);
mask.lineTo(_sizeWidth,0);
mask.lineTo(_sizeWidth,_sizeHeight);
mask.lineTo(0,_sizeHeight);
mask.lineTo(0,0);
mask.endFill();
_mc.setMask(mask);

_adContainter = _mc.createEmptyMovieClip(container,
_mc.getNextHighestDepth());

var clip : MovieClip = _adContainter.createEmptyMovieClip(clip,
_adContainter.getNextHighestDepth());
var mcl : MovieClipLoader = new MovieClipLoader();
mcl.addListener( { onLoadInit:adInit } );
mcl.loadClip(advertURL,clip);
}

private function adInit(mc:MovieClip):Void
{
mc.enabled = false;
trace(mc.enabled +mc.enabled);
}


Just thinking this couldnt a _lockroot problem could it??





2008/12/3 mike cann [EMAIL PROTECTED]

 Okay the mousetrap over the top doesnt work. Find the new example here:
 http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare_MouseTrap.zip

 Source output here:

 private function loadAdvert(advertURL:String)
 {
 // Make a mask for those naughty ads that dont mask
 var mask : MovieClip = _mc.createEmptyMovieClip(mask,
 _mc.getNextHighestDepth());
 mask.beginFill(0, 255);
 mask.moveTo(0,0);
 mask.lineTo(_sizeWidth,0);
 mask.lineTo(_sizeWidth,_sizeHeight);
 mask.lineTo(0,_sizeHeight);
 mask.lineTo(0,0);
 mask.endFill();
 _mc.setMask(mask);

 _adContainter = _mc.createEmptyMovieClip(container,
 _mc.getNextHighestDepth());
 _adContainter.loadMovie(advertURL);
 _adContainter.enabled = false;

 var mouseTrap : MovieClip = _mc.createEmptyMovieClip(mouseTrap,
 _mc.getNextHighestDepth());
 mouseTrap.beginFill(0xFF, 255);
 mouseTrap.moveTo(0,0);
 mouseTrap.lineTo(_sizeWidth,0);
 mouseTrap.lineTo(_sizeWidth,_sizeHeight);
 mouseTrap.lineTo(0,_sizeHeight);
 mouseTrap.lineTo(0,0);
 mouseTrap.endFill();
 mouseTrap._alpha = 50;

 mouseTrap.onMouseUp = Delegate.create(this, advertClickthrough);
 mouseTrap.onRelease = function() { }
 mouseTrap.onPress = function() { }
 mouseTrap.onMouseDown = function() { }
 mouseTrap.onMouseMove = function() { }
 }

 Ill now attempt to do an _enabled on the loaded clip by using
 MovieClipLoader instead of loadMovie()




 2008/12/3 Glen Pike [EMAIL PROTECTED]

 Hi,


   I think enabled only applies to the clip, not it's children.

   Glen


 jonathan howe wrote:

 I forget but doesn't the _mc.enabled property cascade downwards? So once
 loaded you could set the container for the loaded swf as enabled =
 false...
 ?

 On Wed, Dec 3, 2008 at 9:07 AM, mike cann [EMAIL PROTECTED] wrote:



 Hello List,

 I have been forced to go back to AS2 recently for a work project and oh
 my
 is it annoying me.

 Part of the project I am writing a simple advertising loader, its
 basically
 just a swf that loads other swfs into it.

 The problem is that the adverts that are loaded in sometimes contain
 clicks
 within them so without access to the source code i need a method of
 preventing those clicks from happening.

 To my knowledge this should be doable by implementing a cover over the
 top
 of the loaded swf with a onPress, onRelease etc functions defined
 correct?

 Well for some reason this isnt happenining.

 See the source output below. You can download the project here:
 http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip


 import flash.geom.Matrix;
 import mx.controls.Loader;
 import mx.utils.Delegate;
 /**
  * ...
  * @author DefaultUser (Tools - Custom Arguments...)
  */
 class GJAdJacket
 {
   // Privates
   private var _mc : MovieClip;
   private var _adContainter : MovieClip;
   private var _sizeWidth:Number;
   private var _sizeHeight:Number;

   public function GJAdJacket(attachToMC:MovieClip)
   {
   // The MC we are to attach to
   _mc = attachToMC;

   // Set the stage scale modes
   Stage.scaleMode = noScale;
   Stage.align = TL;

   // Init
   _sizeWidth = 300;
   _sizeHeight = 250;
   loadAdvert(


 http://gjacket-images.adbureau.net/gjacket/_clientcreative/Eidos/BattleMail021208.swf
 );
   }

   private function loadAdvert(advertURL:String)
   {
   // Make a mask for those naughty ads that dont mask
   var mask : MovieClip = _mc.createEmptyMovieClip(mask,
 _mc.getNextHighestDepth());
   mask.beginFill(0, 255);
   mask.moveTo(0,0);
   mask.lineTo(_sizeWidth,0

Re: [Flashcoders] [AS2] Catching clicks in child clip?

2008-12-03 Thread mike cann
Hi Muzak,

I have just tried this and still get the error.

Screenshot of error:
http://www.mikecann.co.uk/DumpingGround/AS2_Problem01.png

Example Code:
http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare_SneakyButton.zip

Also there is another problem. If you click outside of the masked area of
the advert it still registers it as a click on the loaded movie!?!

Anyone else any ideas?



2008/12/3 Muzak [EMAIL PROTECTED]

 Use the (very) old invisible button trick.
 So create a Button symbol with only the hit state (keyframe) defined
 and put that on top of the movieclip that holds the loaded swf.

 - Original Message - From: mike cann [EMAIL PROTECTED]
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Wednesday, December 03, 2008 3:07 PM
 Subject: [Flashcoders] [AS2] Catching clicks in child clip?


  Hello List,

 I have been forced to go back to AS2 recently for a work project and oh my
 is it annoying me.

 Part of the project I am writing a simple advertising loader, its
 basically
 just a swf that loads other swfs into it.

 The problem is that the adverts that are loaded in sometimes contain
 clicks
 within them so without access to the source code i need a method of
 preventing those clicks from happening.

 To my knowledge this should be doable by implementing a cover over the top
 of the loaded swf with a onPress, onRelease etc functions defined correct?

 Well for some reason this isnt happenining.

 See the source output below. You can download the project here:
 http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip



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




-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] online .swf generator

2008-11-27 Thread mike cann
You can render the output client side to a BitmapData object then use a
compression lib in AS3 to convert it to GIF or PNG or something then upload
that image to the server and avoid the whole SWF part?

2008/11/27 allandt bik-elliott (thefieldcomic.com) [EMAIL PROTECTED]

 could you use some kind of code injection like flashdev used to do (and
 prolly still does)?

 a

 On Wed, Nov 26, 2008 at 8:53 PM, Latcho [EMAIL PROTECTED] wrote:

  One way: You can compile an swf serverside with flex-sdk and ant, that
 way
  you can feed it whatever you want as a main class, config class and orher
  generic created text var classes.
  You for ex build a php wrapper around all the command executions.
  Latcho
 
 
  Michael Stocke wrote:
 
  The output file will be a banner ad. The user will be able to choose
 from
  about 5 different designs and list of company-approved
  graphics/logos/imagery. The user will also be able to enter a limited
 amount
  of text. My vision is to create templates for each of the 5 designs with
  blank text fields and placeholders for the logos/graphics. The user will
  modify a configuration file of some kind through the interface I create,
  then I will use a yet-to-be-named tool to generated the .swf from a .fla
 (or
  other core file) and the customized configuration file (XML, MXML, .txt,
  etc.). This is why I mentioned JSFL, because I already know how to do
 this
  with JSFL.
 
  I have zero experience with Flex, so something with the Flash IDE or
  Flash-based tools would be better.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
  [EMAIL PROTECTED] On Behalf Of Axel Aigret
  Sent: Wednesday, November 26, 2008 12:01 PM
  To: Flash Coders List
  Subject: Re: [Flashcoders] online .swf generator
 
  Hi :)
 
   Can you explain more in detail what must be arrange in your .swf
 and
  how ( a gui in flash or you don't care ? ) .
   What sort of asset , animation , text ?
   What will be the creation at the end to understand what you want
 more
  easier.
 
  Axel Aigret
 
 
  Michael Stocke a écrit :
 
 
  Good morning group.
 
 
  I am looking for an online .swf generation tool. Specifically, a user
  designs a .swf online through a tool that I create, then they submit
  their work which generates a .swf output. The tool will allow the user
  to choose from several templates, then customize them by selecting
  various assets from pre-determined lists and adding some free-form
 text.
  From my research so far I'm mainly seeing tools based on Java and C++,
  both of which aren't really options for me. I have some very limited
  knowledge of Ming (PHP), but this option is too programming intensive
  for this scenario. I think JSFL would be my best bet, but I can't find
  any information about using it for an online server-side
 implementation.
  My experience has been for local batching purposes only.
 
 
  Does anyone have any suggestions? The client is open to purchasing an
  application depending on the cost.
 
 
  Mike Stocke
  Interface Engineer
 
  Organic, Inc. | Detroit
  2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
  t: 248.454.4015  |  f: 248.454.3370
 
 
  Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog:
  http://Threeminds.Organic.com http://threeminds.organic.com/
 Website:
  www.Organic.com http://www.organic.com/
 
 
  ___
  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
 
  
  This email is intended only for the person or entity to which it is
  addressed and may contain information that is privileged, confidential
 or
  otherwise protected from disclosure. Dissemination, distribution or
 copying
  of this email or the information herein by anyone other than the
 intended
  recipient, or an employee or agent responsible for delivering the
 message to
  the intended recipient, is prohibited.  If you have received this email
 in
  error, please immediately notify us by calling our Help Desk at (415)
  581-5552 or by e-mailing us at [EMAIL PROTECTED]
 
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk

[Flashcoders] Flash/Flex Font Embedding

2008-11-25 Thread Mike Grunwald
I've been searching for the best way to handle fonts when localizing  
Flash applications. Ideally I'm looking for a way that I can create  
SWFs that have specific character ranges of specific fonts embedded  
in them that I can load in to my applications as needed based on the  
language that has been selected by the user.


I've come across many posts of people describing this approach, most  
notably:


http://troyworks.com/blog/2008/09/12/flash-runtime-font-sharing- 
embedding-with-only-partial-character-sets-how-to/


The problem for me is I don't know Flex at all. I have Flex Builder 3  
and use it almost everyday as my primary AS3 editor, but I don't know  
the first thing about MXML or even creating Flex projects. The  
previous post above describes this technique using FlashDevelop and  
the Flex SDK. Since I have Flex builder I'm just looking for a little  
guidance as to how to get similar code to compile a SWF in Flex Builder.


Any help would be greatly appreciated. Or if any or you have any  
better methods of how to handle this that you would like to pass on,  
I'm totally open to suggestion.


Thank in advance,
_mike





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


Re: SPAM-LOW: Re: [Flashcoders] Flash/Flex Font Embedding

2008-11-25 Thread Mike Grunwald

Thanks Glen for pointing me in the right direction.

I use Flex builder simply as an editor for actionscript, but still  
compile everything in through the Flash IDE. I like it because of all  
the code hinting, refactoring, navigator view, etc.. Everything that  
a good editor should have and since it's built on Eclipse, you add as  
many plug-ins as you'd like. So now I edit all my XML and  
occasionally CSS in it too. Flex Builder was also much easier for me  
to setup for actionscript than trying to customize Eclipse myself  
(and cheaper than FTD). I also figured I'd probably start doing a bit  
of Flex someday anyway.


Thanks again.

_mike


On Nov 25, 2008, at 1:20 PM, Glen Pike wrote:


Hi,

   I re-read your email again and noticed you want runtime font  
rather than embedded in your final application...


   The Troyworks article talks about embedding fonts into a  
separate SWF, then loading these into your main SWF at runtime...


   I guess you are using Flex to create pure ActionScript projects,  
so for the Troy Works sample, you would need to create 2  
ActionScript projects - one for compiling the FontLibs.swf  
example - you probably want to rename the output to a sensible font  
name - like MyriadProFontLib.swf - then your second project is your  
main application / the second block of code, which needs to load  
the swf from the first.  You should not need any MXML to get it to  
compile - just adapt the code for your normal way of developing here.


   If you are on a PC, it is worth checking out FlashDevelop  
because it's really nice for coding and set up to produce projects  
like this.  It lets you do MXML or ActionScript based projects -  
Flex Builder just gives you the WYSIWYG editor (plus a few more  
things like profiling, etc).  Either way, both Flex Builder and  
FlashDevelop use mxmlc - the compiler - to output your SWF and this  
is what lets you do the [Embed], unlike the Flash IDE which did not  
allow Embed.


   There are quite a few articles on Runtime Font embedding and  
managers with Flash - it seems to be a bit of a black art to get  
everything running smoothly and I am only part way there.  Look on  
the Devnet site and in the Flex doc's online - there are some  
useful examples there.


   Sorry if I caused any confusion here..

   Glen

Glen Pike wrote:

Hi,

 You can use the [Embed] Directive in a few places in Flex.

 Inside your MXML code - create a new project - then you can add  
normal actionscript by inserting


  mx:Script tags - start typing Scr... and Flex Builder will  
try to auto-complete.


   Between your Script tags is ActionScript - same way as you  
would write it anywhere else.


   You can also create ActionScript only components as part of  
your project and write your code as AS.


   You can also embed your fonts in style sheets, which just  
contain fancy CSS declarations.  I have an example at home, so  
will post it this evening if you don't get sorted - in about  
3hours from now.


  Keith Peters also wrote an article about Embed on his blog - a  
while back so you might have to search for it


 Glen

Mike Grunwald wrote:
I've been searching for the best way to handle fonts when  
localizing Flash applications. Ideally I'm looking for a way that  
I can create SWFs that have specific character ranges of specific  
fonts embedded in them that I can load in to my applications as  
needed based on the language that has been selected by the user.


I've come across many posts of people describing this approach,  
most notably:


http://troyworks.com/blog/2008/09/12/flash-runtime-font-sharing- 
embedding-with-only-partial-character-sets-how-to/


The problem for me is I don't know Flex at all. I have Flex  
Builder 3 and use it almost everyday as my primary AS3 editor,  
but I don't know the first thing about MXML or even creating Flex  
projects. The previous post above describes this technique using  
FlashDevelop and the Flex SDK. Since I have Flex builder I'm just  
looking for a little guidance as to how to get similar code to  
compile a SWF in Flex Builder.


Any help would be greatly appreciated. Or if any or you have any  
better methods of how to handle this that you would like to pass  
on, I'm totally open to suggestion.


Thank in advance,
_mike





___
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




--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

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



___
Flashcoders mailing list
Flashcoders

Re: [Flashcoders] Selling a Flash website

2008-10-05 Thread Mike Duguid
On Mon, Sep 29, 2008 at 4:18 PM, Gert-Jan van der Wel 
[EMAIL PROTECTED] wrote:


 For the last couple of years a friend and I were happily running a project
 on the side called T-signers.com. It's a site where people can design and
 order their own custom t-shirts. It's always been a pleasure to work on it,
 but recently a couple of things have changed and we can't find the time
 anymore to work on it. At this moment we're thinking about selling it or
 finding some enthusiastic developers to continue the project. Does anybody
 know how we should handle this?


I'd have a look at sitepoint.com marketplace if you want to sell the site,
there are a lot of serious traders there as opposed to ebay where you'd be
unlikely to get more than beer money for it.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Advice on creating nodes on elastic

2008-10-03 Thread mike cann
IMO you dont need a third party engine for this. Elastic is an easy property
to model programatically.

var bindX : Number = 100;
var bindY : Number = 100;
var x : Number = bindX:
var y : Number = bindY;
var nodeVelX : Number = 3;
var nodeVelY : Number = 2;

function update() : void
{
nodeVelX += (bindX-x)/4;
nodeVelY += (bindY-y)/4;
x += nodeVelX;
y += nodeVelY;
nodeVelX *= 0.99;
nodeVelY *= 0.99;
}

or something simmilar to that.



2008/10/3 Ali Drongo [EMAIL PROTECTED]

 Hiya, I want to create something very similar to visualthesaurus.com,
 dyamically generating nodes with labels that are linked by elastic.

 I'm thinking of using the APE from cove.org

 If anyone can point me in the way of any tutorials/alternative approaches
 or existing source that would be amazing!


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




-- 
Mike Cann
http://www.artificial-studios.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 Call a function from an array

2008-09-06 Thread Mike Chambers

Where is the actual function?

You cant store a function in XML, on the name. You can then use that  
name to construct a call to the function. Where is the function?


mike chambers

[EMAIL PROTECTED]

mike chambers

[EMAIL PROTECTED]

On Sep 6, 2008, at 7:40 AM, Gerry wrote:


Mike,
Neither of these options are working.

-Gerry
Here's what my XML looks like:

   steps
   step
   textNEW TEXT./text
   functtestFunction/funct
   pausev1.5/pausev
   /step
   step
   textNEXT TEXT to display ./text
   functtestFunctionOne/funct
   pausev2.5/pausev
   /step
   /steps

I have a button that is named mentorNext with this event listener..
mentorNxt.addEventListener(MouseEvent.CLICK,playNextSection);

the function playNextSection looks like this...

private function playNextSection(e:MouseEvent):void{
   //
   var val:Number = stepArray[stepCount].pv;
   //stepArray[stepCount].fnct(val);
   stepArray[stepCount][fnct](val);
   textwindow.captionTxt.text =  
stepArray[stepCount].txt;

   stepCount++
   }


If I remove the line for the stepArray function the
textwindow.captionText line works.
The data is there the array is populated properly but I can't get the
function to act like a function.
I get this error message:

TypeError: Error #1006: value is not a function.
   at MainIntro/::playNextSection()


Thanks,

-Gerry





On Sep 6, 2008, at 12:47 AM, Mike Chambers wrote:


if fnct is a function:

stepArray[0].fnct();

if it is a string:

stepArray[0][fnct]();

The 0 is the index from the array you want to retrieve.

mike chambers

[EMAIL PROTECTED]

On Sep 5, 2008, at 8:30 PM, Gerry wrote:


I have an array built from and XML file that I want to step through
and one of the nodes will have
a function to call. I thought I did this in AS2 before but can't  
find

my code.
I'm stuffing my array with the function string cast as an object
but I
can't seem to find any hints on
how I should be calling that function.
My array is built like this...
[code]
//this works fine
 for each (var step:XML in xmlData..step) {
 var step_text:String = step.text;
 var stepFunc:String = step.funct;
 var stepPause:Number = step.pausev;

stepArray.push({txt:step_text,fnct:stepFunc,pv:stepPause});
 }

[/code]
I want to call the stepArray.fnct but can't seem to get it to work
nor
can I find an example of how I should go about this.
Any help or link would be greatly appreciated.


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


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




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


Re: [Flashcoders] AS3 Call a function from an array

2008-09-05 Thread Mike Chambers

if fnct is a function:

stepArray[0].fnct();

if it is a string:

stepArray[0][fnct]();

The 0 is the index from the array you want to retrieve.

mike chambers

[EMAIL PROTECTED]

On Sep 5, 2008, at 8:30 PM, Gerry wrote:


I have an array built from and XML file that I want to step through
and one of the nodes will have
a function to call. I thought I did this in AS2 before but can't find
my code.
I'm stuffing my array with the function string cast as an object but I
can't seem to find any hints on
how I should be calling that function.
My array is built like this...
[code]
//this works fine
   for each (var step:XML in xmlData..step) {
   var step_text:String = step.text;
   var stepFunc:String = step.funct;
   var stepPause:Number = step.pausev;

stepArray.push({txt:step_text,fnct:stepFunc,pv:stepPause});

   }

[/code]
I want to call the stepArray.fnct but can't seem to get it to work nor
can I find an example of how I should go about this.
Any help or link would be greatly appreciated.


___
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] Nested SWFs

2008-07-08 Thread Mike Grunwald

Hello all,

I'm new to AS3  and using multiple SWFs in an application. I'm used  
to AS2 and 1 or 2 SWFs at max.


I'm using the GAIA framework (not sure if you're all familiar) which  
seems to rock so far!, but I'm confused on a couple issues:


I have a few SWFs that load into one another (i.e., main/index/nav/ 
page1).
I would like to load a remote asset library into the index.swf (since  
this page never unloads) and access the contents of the library from  
page1.swf (and page2, page3, etc.).
I can get everything to load fine and all my movieclip classes are  
accessible from the SWF that I load the remote library into.
I just can't figure out how to target them to create new instances  
through the page1.swf?


Does that even make sense???

Any help would be greatly appreciated.
Thanks in advance,
_mike g.


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


Re: [Flashcoders] open pdf file or doc from flash

2008-05-17 Thread Mike Chabot
Can you just display a URL to a file on a server and have the user
click on the URL? That would be easy.

-Mike Chabot

On Sat, May 17, 2008 at 12:39 PM, Glen Pike [EMAIL PROTECTED] wrote:
 With fscommand you have to be careful where you put the folder with the
 batch files in - if I remember rightly (check the documentation) it is
 supposed to be in the same directory as the SWF / projector, e.g.

 projector.exe
  |
  + fscommand\
 - open-pdf-1.bat
 - open-doc-1.bat
 - open-pdf-2.bat
 - open-doc-2.bat

 Also, you will need to do use something other than a batch file for Mac.

 There are some utilities around that will help you with this so you don't
 have to write a different batch file for each document you want to open.:
 http://www.google.com/search?ie=UTF-8oe=UTF-8sourceid=navclientgfns=1q=fscommand+open+file+utilities
 http://www.google.com/search?ie=UTF-8oe=UTF-8sourceid=navclientgfns=1q=fscommand+open+file+utilities

 sense co moh wrote:

 I want to in its application

 - Original Message 
 From: Ibrahim Y [EMAIL PROTECTED]
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Saturday, May 17, 2008 2:41:22 PM
 Subject: Re: [Flashcoders] open pdf file or doc from flash

 you want to open it inside your player or in its application?


 On Sat, May 17, 2008 at 1:16 PM, sense co moh [EMAIL PROTECTED] wrote:



 Hello Guys
 I need to know how can I open pdf file or MSword file from flash
 projector
 I tried fscommand but it dosent .
 Thanks
 Bassam



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



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



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




 --

 Glen Pike
 01326 218440
 www.glenpike.co.uk http://www.glenpike.co.uk

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

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


Re: [Flashcoders] AAC Streaming in Flash Player

2008-03-12 Thread Mike Skinner
Hi, Steven, thanks for responding. (Do I remember you from the Direct- 
L list?):


OK--I was just looking for any advice. I did try it and got nowhere.  
That is, I can verify that a .m4a from the local drive can be played  
via a NetConnection/NetStream... but it doesn't seem as if I *can*  
play a binary signal from a rtsp connection. Can anyone else verify  
this, or is it more likely I'm doing something wrong? I've been given  
two different styles: rtsp://mm11.onlineradio.com/rock103S or rtsp://mm11.onlineradio.com:8080/rock103S.sdp 
 In each case, I get StreamNotFound.


I've also played around with an MP3 stream, http:// 
206.71.145.10:8006 from radioparadise.com. I get File Structure  
Invalid.


After some googling, I see that StreamPad is a service that uses a  
combination of Java app acting as a streaming server on your iTunes- 
equipped computer with a Flash interface to play your songs over the  
Internet. That makes it sound as if they must have done something like  
this. Does anyone know how they do it?


Thanks again
Mike

On Mar 10, 2008, at 6:08 PM, Steven Sacks wrote:

Are you asking because your initial attempt didn't work or just in  
general?  I haven't tried it.  You should give it a shot and let us  
know!  :)

___
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] AAC Streaming in Flash Player

2008-03-10 Thread Mike Skinner

I understand that the latest Flash player can do AAC files.

What I'm not clear on is if it can do a live stream. (As in RTSP)?

Can anyone help with advice on this?

Thanks so much
Mike

Mike Skinner
Media Developer
Global Media Outreach
A Ministry of Campus Crusade for Christ
(321) 274-6575, mobile


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


Re: [Flashcoders] getting char positions with dynamic text

2008-02-01 Thread Mike Duguid
On Feb 1, 2008 1:39 PM, Andrew Sinning [EMAIL PROTECTED] wrote:

 Working in AS2.  Since the TextSnapshot class is limited to static text,
 I don't think there's any way to do this, but I hope I'm wrong.

 I need to be able to take an arbitrary string of text, for example:

You can see more  Info  or  Proceed to the Next Page.

 And then render this out so that there is a button around Info and
 another around Proceed to the Next Page.


Try this:

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


Re: [Flashcoders] JumpShip Framework, version for AS3 and major update to AS2 version

2007-09-05 Thread Mike
Link???

On 9/2/07, Jamie S [EMAIL PROTECTED] wrote:

 I'm encouraging you all to check out the latest release of the
 JumpShip Framework for AS3.

 JumpShip is an ActionScript application framework that implements an
 MVC design pattern and adheres to the Ruby on Rails philosophy of
 Convention over Configuration i.e. making a few logical assumptions
 and adhering to a few basic standards will grand you a 10x improvement
 in development time.

 It attempts to be as Agile as you can be in Flash.

 Anyway. I'm the project lead and I would love if some of you take a
 look at it for the first time or revisit it if you've seen jumpShip
 before.

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

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




-- 
Kind Regards,
Mike Ickes
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS2Doc not working - no reponse from Mirell

2007-09-04 Thread Mike Lyda

I still have to create documentation for the Flash IDE from ActionScript 2
classes and have been using AS2Doc from Mirell without a problem.  However it's
quit working and gives this error when I attempt to Generate docs:

[ERROR]: Error transforming XSL.
File: C:\Program Files\Mirell\AS2Doc\styles\as2doc\flash\mx2004\\MXI/index.xsl
Namespace 'urn:http://www.as2doc.com/as2doc' does not contain any functions

and my requests for help to the main AS2Doc address bounced back as
undeliverable and e-mails to Mirell have gone unanswered.  
AS2Doc is an old product, but it is still being sold (
http://www.as2doc.com/index.php?p=13 )



   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] AIR from Flash CS3 IDE...

2007-08-30 Thread Mike Chambers
Just set the initial height and width in the app descriptor / xml file.

This is all covered in the air docs.

Hope that helps...

Mike Chambers.


Sent by GoodLink (www.good.com)


 -Original Message-
From:   eric e. dolecki [mailto:[EMAIL PROTECTED]
Sent:   Thursday, August 30, 2007 02:15 PM Pacific Standard Time
To: Flashcoders mailing list
Subject:[Flashcoders] AIR from Flash CS3 IDE...

The ability to fire off an AIR application from a FLA quickly is very nice,
but I noticed something... nowhere are the dimensions of the thing set (that
I can see anyway).

So that means my app allowed to resize (don't like that), and because the
size isn't set, a comboBox set at the bottom edge of the app opens *down*
which means items are hidden.

I should dig some more about this, but for now its not allowing me to deploy
an AIR application that I would like to use myself.

Anyone have ideas about this?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Intro to OOP using ActionScript

2007-08-20 Thread Mike Reilly
Thanks Ron, I think you've found my wavelength (as fluctuating as it
might be).  I agree on that patterns would be awesome to teach, as
early as they can conceive what an object is.

The book Objects First by Kolling is my inspiration for doing this,
it's aimed at the right level.  Take a game apart, understand the
objects, understand the classes that make them up, tweak the classes,
build some classes, inheritance, etc.

I'll also take a look at Sandy, 3D would be so cool!

If you have the time (I'm assuming you don't, so no pressure), could
you teach me about how I would use intervals for something like a
simple Paddle class in Pong?  Just something for KeyListeners, to move
the paddle object.  This is one of the first lessons I would like to
get across, using a class from the Library of a movie for two
instances.  After Pong I was going to move toward Space Invaders, to
throw in Arrays and reinforce the class - objects relationship.

Thanks again!
Mike

On 8/19/07, Ron Wheeler [EMAIL PROTECTED] wrote:
 You might also want to look at Sandy.
 It is a 3D engine for Actionscript.
 Very easy to build 3D applications that might be fun for the kids.

 Check out Script_in_Action forum for resources and links.


 Mike Reilly wrote:
  Thanks so much to all of you for such quick responses.  I'm sure my
  students will benefit from many of the links that you've already sent.
 
  Since I'm not the best at clarity when writing, I'll throw out what
  started this thinking.  I read Andy Harris' Beginning Flash Game
  Programming For Dummies, and I think the level of that book was
  awesome for intro.  I have also been using Greenfoot.org as a
  supplement to teach Java, as kids love games whether it's intro or
  more advanced (remember, these are 14-17 year olds, and we're trying
  to generate an interest in programming).
 
  So this semester I'll be trying to develop an OO approach, using
  Actionscript (can't install anything else without formal district
  approval).  Some of the resources forwarded should be very helpful,
  and I truly appreciate all support.
 
  I'll be reading Moock's Essential ActionScript 2.0, combining it
  with Harris' Dummies, to create Essential Games for Dummies!
 
  On a serious note, how do you get an enter_frame event handler to
  work inside an AS file?
 
 It works but you shouldn't use it . Look at using intervals.
 Try not to teach bad programming practices to kids at that age.

 You might also want to read Heads Up Design Patterns just to find out
 the right way to do many things. It is oriented to Java but all
 relevant to ActionScript.

 Ron
  Thanks again, I won't bother you all much more.  Please take a look at
  last year's kids work:  www.nghsit.com/studyhall
 
  Mike
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] Need special 3D Charting / Graphing solution...

2007-08-20 Thread Mike
This should get you started. They have a free and a licensed version. Pretty
slick!

http://www.maani.us/xml_charts/

Regards,
Mike

On 8/20/07, Mankowski, Chris [EMAIL PROTECTED] wrote:

 Does anyone know where I can find a nice-looking charting component that
 can not only draw a line graph, but *also* allow me to scroll left or
 right ...  In a perfect world this will download a dynamically generated
 XML file that matches up with the position of the scroll bar.



 I'm open to free, or commercial implementation...



 Thanks!

 -Chris




 Notice:  This e-mail message and any attachment to this e-mail
 message may contain information that is confidential, proprietary,
 privileged, legally privileged and/or exempt from disclosure under
 applicable law.  If you are not the intended recipient, please accept
 this as notice that any disclosure, copying, distribution or use of the
 information contained in this transmission is strictly prohibited.
 National Financial Partners Corp. reserves the right, to the extent
 and under circumstances permitted by applicable law, to retain,
 monitor and intercept e-mail messages to and from its systems.

 Any views or opinions expressed in this e-mail are those of the
 sender and do not necessarily express those of National Financial
 Partners Corp.  Although this transmission and any attachment are
 believed to be free of any virus or other defect that might affect any
 computer system into which it is received and opened, it is the
 responsibility of the recipient to ensure that it is virus free and no
 responsibility is accepted by NFP, its subsidiaries and affiliates, as
 applicable, for any loss or damage arising in any way from its use.
 If you have received this e-mail in error, please immediately contact
 the sender by return e-mail or by telephone at 212-301-4000 and
 destroy the material in its entirety, whether electronic or hard copy
 format.


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

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




-- 
Kind Regards,
Mike Ickes
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: [OT] Improve my design skills

2007-08-19 Thread Mike Guerrero
I used the term Creative Developer. :)

Mikeg

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mario
Gonzalez
Sent: Sunday, August 19, 2007 12:02 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Re: [OT] Improve my design skills

Developer is definitely the BEST term to describe that. I also gave up :)

You say coder, to most people they already automatically think c++... 
which makes them intern assume you can't think with the left side of 
your brain.
Graphic designer, from my experience people then assume you know don't 
know a variable from a zebra.

You say developer, and they don't really even know what that actually 
entails, at which point they can ask you what that means and you can 
tell them:

I use code to make things work, during that process I figure out what 
works best /  doesn't work / looks nicest and make changes to it.

mario
http://www.onedayitwillmake.com

Zeh Fernando wrote:
 Hey guys,
 How would we call someone who likes both coding and graphics (design) 
 ? A
 Graphics Coder ?
 I love programming but I also love graphics design - I can see art in 
 code
 and logic in design! I like mixing both worlds and creating amazing 
 things
 (that's why I love the flash platform, it makes it easy and obvious this
 aspect of design and code being inter-mixed).

 I've gave up on finding a definition. Developer is a better term. :)


 Zeh
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Intro to OOP using ActionScript

2007-08-19 Thread Mike Reilly
Hi there -

I'm a high school teacher who's decided to teach Intro to
Programming using Actionscript (2.0 for now, waiting for the school
to upgrade).

I'd prefer to take an OO approach, and use games in doing so.  For
example, my first game would be a Pong copy.  Lots of basics in there
to learn the environment, basic principles, etc.

So, I was wondering if anyone out there knew of good resources, wanted
to contribute (hell, I'll give you all the credit, you can write a
book, etc.), collaborate, share.  I've search most of the tutorial
sites, but most code is not a great OO example for Flash games due to
little OO, or too much complexity for the beginner.

Your input is welcome, rock on.

Mike
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Intro to OOP using ActionScript

2007-08-19 Thread Mike Reilly
I think we're on the same path Roy.  While I have some future coders,
this is Intro for 9th-11th grade kids, so my task is to teach but also
whet their appetite for more.  My deeper desire is to do it as OO as
possible, to better prepare them for AP Comp Sci if they choose.

I used to be the Co-Director of TechBoston up there in Boston, wish I
were closer. I'm in Georgia now.

If you're interested in doing more of an OO spin, let me know and I'll
keep you in the loop.

Thanks!

Mike

On 8/19/07, Roy Pardi [EMAIL PROTECTED] wrote:
 At 8:19 PM -0400 8/19/07, Mike Reilly wrote:
 Hi there -
 
 I'm a high school teacher who's decided to teach Intro to
 Programming using Actionscript (2.0 for now, waiting for the school
 to upgrade).
 
 I'd prefer to take an OO approach, and use games in doing so.  For
 example, my first game would be a Pong copy.  Lots of basics in there
 to learn the environment, basic principles, etc.

 Hi Mike,

 I'm teaching an AS 2 class for non-programmers at Northeastern this Summer
 (they haven't upgraded yet either). I use Pong as a basic example (and then
 beat it to death.. ;-) Not true OOP with this group but I introduce the
 ideas. The class site is here: http://roypardi.com/neu_summer/ - maybe this
 will give you some ideas of what to do (or not to do..).

 --Roy
 --
 -
 Studio Site Updated!
 http://www.roypardi.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] Intro to OOP using ActionScript

2007-08-19 Thread Mike Reilly
Thanks so much to all of you for such quick responses.  I'm sure my
students will benefit from many of the links that you've already sent.

Since I'm not the best at clarity when writing, I'll throw out what
started this thinking.  I read Andy Harris' Beginning Flash Game
Programming For Dummies, and I think the level of that book was
awesome for intro.  I have also been using Greenfoot.org as a
supplement to teach Java, as kids love games whether it's intro or
more advanced (remember, these are 14-17 year olds, and we're trying
to generate an interest in programming).

So this semester I'll be trying to develop an OO approach, using
Actionscript (can't install anything else without formal district
approval).  Some of the resources forwarded should be very helpful,
and I truly appreciate all support.

I'll be reading Moock's Essential ActionScript 2.0, combining it
with Harris' Dummies, to create Essential Games for Dummies!

On a serious note, how do you get an enter_frame event handler to
work inside an AS file?

Thanks again, I won't bother you all much more.  Please take a look at
last year's kids work:  www.nghsit.com/studyhall

Mike
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 determine when an externally loaded swf hasended playing.

2007-07-24 Thread Mike

Here is how I determine when a movie completes. The key section is this:

myListener.complete = function(eventObject:Object):Void {

   trace(My video has been viewed);

   getURL(javascript:setCookie('mycookienameOK','My Video
Title','365');void(0););

};

In the above I set a cookie that is good for 365 days if and only if the
movie completes. This does not prevent the user from scrubbing the play head
to the end of the movie if you make the controls available. If the user
cancels before it completes the cookie object does not get set and the video
does not show up in their list of Viewed Videos. I am not sure how you
would implement this from externally loaded videos but maybe this is a
start.

Good luck!
Mike Ickes



// Create a NetConnection object

var my_nc:NetConnection = new NetConnection();

// Create a local streaming connection

my_nc.connect(null);

// Create a NetStream object and define an onStatus() function

var my_ns:NetStream = new NetStream(my_nc);

my_ns.onStatus = function(infoObject:Object):Void {

   status_txt.text += status ( + this.time +  seconds)\n;

   status_txt.text += \t Level:  + infoObject.level + \n;

   status_txt.text += \t Code:  + infoObject.code + \n\n;

};

// Attach the NetStream video feed to the Video object

my_video.attachVideo(my_ns);

// Set the buffer time

my_ns.setBufferTime(15);

// Begin playing the FLV file

my_ns.play(http://yourpathtoyourvideohere.com/myVideo.swfhttp://pilots.flightoptions.com/traininig/be400_EP_Drill/aircraft_fire.swf
);



var myListener:Object = new Object();

myListener.complete = function(eventObject:Object):Void {

   trace(My video has been viewed);

   getURL(javascript:setCookie('mycookienameOK','My Video
Title','365');void(0););

};

myMedia.addEventListener(complete, myListener);


On 7/24/07, Holth, Daniel C. [EMAIL PROTECTED] wrote:



Are these timeline based swfs, or single frame, or movieclips within
movieclips?  Or won't you know?

You could create an onEnterFrame event that continually checks the swf's
_currentframe compared to _totalframes.  When they are equal, it has
reached the end.

If it's a single frame or MovieClips within MovieClips situation, it
becomes more difficult...

DC Holth


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christopher Whiteford
Sent: Monday, July 23, 2007 3:54 PM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] How to determine when an externally loaded swf
hasended playing.

I have a situation where I don't have control of the external swf files
that
my prog is using.

I have created a movieClip that uses a movieClipLoader and loads an
external
swf into it, I am trying to detect when the end of that external swf has
been reached.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

This e-mail and its attachments are intended only for the use of the
addressee(s) and may contain privileged, confidential or proprietary
information. If you are not the intended recipient, or the employee or agent
responsible for delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution, displaying, copying,
or use of this information is strictly prohibited. If you have received this
communication in error, please inform the sender immediately and delete and
destroy any record of this message. Thank you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--
Kind Regards,
Mike Ickes
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] [JOB] Senior ActionScript Developer in NYC

2007-07-16 Thread Mike Brittain
I'm currently looking to place a new actionscript developer on my  
team at Heavy.com.  We're looking for someone who can work entirely  
in AS without the help of a timeline.  Our server environment is a  
LAMP stack, so experience with PHP and MySQL is really helpful in  
terms of getting data from the server into Flash.


This is a full-time position in New York City.  We don't pay for  
relocation, and you must be legally able to work in NYC.


Please contact me at my work address for full details:  [EMAIL PROTECTED]

Mike Brittain
Heavy.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] Tips and advice for online bugtracking

2007-07-10 Thread Mike Lyda

another option..   flashtracer for firefox (from Alessandro Crugnola)
https://addons.mozilla.org/en-US/firefox/addon/3469
you need the flash player debug version installed, but flashtracer can be very
handy and entertaining.. (browse the web and see what others are tracing out of
their SWFs..)


--- Marcelo Wolfgang [EMAIL PROTECTED] wrote:

 Hi all,
 
 I have the type of problem I hate the most when developing flash. My swf 
 works fine locally, but it doesn't work at all on the web. And I'm about 
 as clueless one can be about debuggin this kind of problem.
 So... can anyone spare some advices?
 
 TIA
 Marcelo Wolfgang


   

Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] F8 AS2 component in livepreview going invisible

2007-07-09 Thread Mike Lyda
I have a component I've created that will disappear when clicked in
livepreview.  If I click it again it appears and will remain visible even after
clicking on other objects on stage.  I have the standard set of functions in
the component class (based on Joey Lott's tute here
http://www.person13.com/articles/components/creatingcomponents.html) and it
works fine with the exception of having to click it twice instead of once.

I've put traces in all of the functions and see the correct ones getting called
when I click on it the first time (and it goes invisible).  The strange thing
is clicking it the second time yields NO traces at all.. none of my code is
called and yet the component displays.

This is ActionScript 2..  Flash 8 IDE.. 


   

Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.
http://autos.yahoo.com/carfinder/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Bitmap.draw versus MovieClipLoader

2007-07-06 Thread mike . nowak
 It seems that calling bitmap.draw on a movieclip that has a downloaded 
image
 forces another download - I haven't veified this via netmon (yet) - but
 notice that a sandbox security violation occurs when call that function. 
 To
 me that doesn't make sense, If I already gave it permission to use that
 image from that domain, why would some other component using that same
 instance need to have the same permission (security line entries in the
 class file)?


Haven't looked into it too deeply but look into
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0355.html
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/system/LoaderContext.html#checkPolicyFile

Might just be as simple as setting checkPolicyFile to true.


Disclaimer
The information in this email and any attachments may contain legally 
privileged, proprietary and confidential information that is intended for the 
addressee(s) only.  If you are not the intended recipient, you are hereby 
notified that any disclosure, copying, distribution, retention or use of the 
contents of this information is prohibited.  When addressed to our clients or 
vendors, any information contained in this e-mail or any attachments is subject 
to the terms and conditions in any governing contract.  If you have received 
this e-mail in error, please immediately contact the sender and delete the 
e-mail.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Watermarking FLV VIdeos

2007-07-03 Thread Mike Duguid

you can use ffmpeg to do this. It's *free* and open source.

On 6/26/07, Tarjinder Kumar [EMAIL PROTECTED] wrote:


Hi,

I want to watermark flv videos using command line utility. Can any one
suggest me some solution.


Thanks
Tarjinder Kumar


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

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


Re: [Flashcoders] load image in livepreview?

2007-06-26 Thread Mike Lyda

Sorry..  AS2, loading from external file

--- John Grden [EMAIL PROTECTED] wrote:

 when you say load are you talking externally?  or embedded in the
 component swc?  are we talking AS3? is this a new FLA based component for
 AS3 or swc?
 
 AS3 wraps the component at designtime with a livePreviewParent class and
 it's running a swf essentially.  So, you should be able to load an external
 file without a problem.  I'm building a component right now thats loading
 XML and multiple images at design time in the IDE without any problem
 without any special tricks.  Although, i will say, you have to use an
 absolute path - relative won't work from where the FLA is saved if that's
 what you're assuming.
 
 C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript
 3.0\Classes\fl\livepreview\LivePreviewParent.as
 
 hth,
 
 John
 


 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] load image in livepreview? [solution]

2007-06-26 Thread Mike Lyda

the hint from John Grden was good..  the path to the external file has to be
absolute to load the image in during livepreview.


   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] seamless audio loops

2007-05-30 Thread Mike Duguid

You can also edit the mp3 frames directly using mp3directcut which can help
without having to rencode.
http://mpesch3.de1.cc/mp3dc.html

On 5/30/07, nik crosina [EMAIL PROTECTED] wrote:


Hi Guys,

We are having problems with seamlessly looping audio in Flash - is
there a special way of doing this? We are using mp3 and even thought
eh audio is perfect (tested in other apps) we can't get it to loop
properly without gap!

Thanks,

Nik


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 + Bitmap

2007-05-22 Thread Mike Nowak
Curious issue that I ran into.

I have this small flash app meant to run locally. It basically shows the 
current webcame stream and when a user hits a button, it takes a snapshot 
(copy over the video to bitmap object) and then later the user can print it. 
Works fine.

Except when I change the security setting to not be Deny.

Everytime you get to the camera part, the security dialog comes up, you hit 
allow and everything works fine. I want to hide that dialog, so I go to 
settings and hit allow and check remember this. The camera works fine and 
no security prompt comes up, BUT, for some reason, if I do this the bitmap 
object won't make a copy of the video. Is there some additional security that 
I'm missing there? This is... odd behaviour.

-mike

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 CS3 Troubles

2007-05-11 Thread Mike Boutin
Hi everyone,

I have been using Flash CS3 and I noticed that if I am working in the 
Actionscript Panel, and I compile my movie, the movie stays behind the AS 
Panel, rather than going on top of all the panels like it does in Flash 8.  Has 
anyone else experienced this? Also I have noticed that my movies play noticably 
slower in flash cs3 itself, but play normally in the standalone player.  Is 
this a known issue?  Thanks!



Mike
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] RGB tinting using the colorMatrixFilter()

2007-05-10 Thread Mike Mountain

not sure I made myself clear - given a desaturated greyscale image I need to
be able to tint it to an RGB value - so black stays black, white stays white
and rgb=128,128,228 (50% grey) is the actual colour - with all the shade in
between. I need to be able to do this by using code like this:

[as3]
   trace(composite startTime:+getTimer());
   // tint
   var matrix:Array = new Array();
   matrix = matrix.concat([r1, r2, r3, r4, r5]);
   matrix = matrix.concat([g1, g2, g3, g4, g5]);
   matrix = matrix.concat([b1, b2, b3, b4, b5]);
   matrix = matrix.concat([a1, a2,a3, a4, a5]);
   var tintFilter = new ColorMatrixFilter(matrix);
[/as3]

so how do I work out the r's g's and b's in the matrix?

Cheers

Mike
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] RGB tinting using the colorMatrixFilter()

2007-05-10 Thread Mike Mountain

never mind, using colorTransform instead - much easier, but had to adapt
some other stuff. Would seem I can't have a single solution using
colorMatrix - nevermind.

Cheers

M
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] RGB tinting using the colorMatrixFilter()

2007-05-09 Thread Mike Mountain

Hey guys

I'm working with greyscale images - assume neutral colour temperature is 50%
grey. These are shaded from white to black, white representing light, black
shading, and all the variable shades in between etc.

I need to tint the greyscale bitmapData to produce a shaded coloured image
using the colorMatrixFilter() from an RGB or Hex value.

so if the whole image was 50% grey (ie. r=128, g=128, b=128) it should
become r=256,g=0,b-0 - black should stay black, white should stay white but
the colours in between should be shades of red.

Anyone got a clue how I can do this?

Cheers

Mike
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Using a flex2 swc in Flash CS3

2007-05-01 Thread Mike Mountain

How do I go about using a flex 2 SWC library in Flash CS3? I tried dropping
it into the components directory but no joy

Anyone help?

Cheers

M
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] [JOB] Flash developer rqd - Leeds, UK

2007-04-23 Thread Mike Mountain

 *Full time Flash Developer rqd - Leeds UK*We have a position open for the
following role:

The company: Dubit limited
Location: Leeds, UK
http://www.dubitlimited.com
Salary to be decided on experience
The role will be fulltime and on site - no telecommuting, sorry guys.
___

Interactive Developer

This role involves collaborating closely with our producers, designers and
application developers. The unique focus of the interactive developer is the
end-user experience which is what brings design and technology together to
create applications that excel on all levels. That is also why you are
closely involved in all phases of a project. From the conceptual phase, to
prototyping, development and quality assurance, your creativity and
knowledge influence the big picture as well as the
smallest details of any project.

Responsibilities

• Use your understanding of interaction to create user friendly and
innovative interactive experiences
• Ensure that all interface elements are beautifully implemented up to the
last pixel
• Create complex Flash components, interaction and animation
• Bridge the work of application developers and designers
• Follow standards and structures established within the company

Qualifications

• You must have extensive knowledge of: Flash / Actionscript / XML / Eclipse
/ Photoshop
• You have a good understanding and experience with: Usability /
Accessibility
• Professional programming practices (OOP, SVN...) Complex code and
framework structures and patterns
• You have a high skillset working in your field and demonstrated that in
previous projects.
• You have a resume and a portfolio that clearly demonstrate your abilities
for this position.

email:[EMAIL PROTECTED]

Please make the subject of your email, Job - Flash developer

No Agencies please.

Thanks

Mike
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 Mike Mountain

In the days of electronic distribution this kind of business practice
stinks. Why do they do it, because they know they can get away with it  -
can we afford to boycott the release in europe? They know in most cases we
can't.

It's more than taking liberties, it's daylight robbery.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 Mike Mountain

Some cunning American could buy a load of the boxed product and legitimately
put them on ebay with a markup, sell them to the European market and both
parties would be better off

There's no law against selling second hand software overseas is there?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 Mike Mountain

For those prices it would literally be cheaper to fly out to the US to buy
it.

Adobe has FUBAR'd these prices - we demand an explanation - but who from?

On 3/29/07, Ian Thomas [EMAIL PROTECTED] wrote:


It's a ridiculous situation that, sadly, seems to be true of a lot of
software.

But it's particularly bad in this case.

Here's some full list prices, using today's exchange rate.

CS3 Design Premium  UK: £1655.58 (=$3256.69)US:
$1799.00Markup: 181%
CS3 Design Standard  UK: £1051.62 (=$2068.64)US: $1199.00
Markup: 172%
CS3 Master Collection UK: £2313.58 (=$4551.04)US: $2499.00
Markup: 182%
CS3 Production Premium UK: £1655.58 (=$3256.69)US: $1699.00Markup:
191%
CS3 Web Premium  UK: £1404.12 (=$2762.04)US: $1599.00
Markup: 172%
CS3 Web Standard  UK: £828.38   (=$1629.51)US: $999.00
Markup: 163%
Flash CS3 Pro UK: £574.58   (=$1130.25)US: $699.00
 Markup: 161%

That's one hell of a shipping cost.

*wonders who to write to at Adobe*

Ian

On 3/28/07, Joe Wheeler [EMAIL PROTECTED] 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] The great CS3 Swindle

2007-03-29 Thread Mike Mountain

Thanks for the response John, please don't take this personally, - but I
suspect the legitimate reason is because we can, I find it hard to believe
that Adobe HQ doesn't have the necessary muscle to enforce a RRP bracket on
its international sales offices. Anyhow - not all companies have this
pricing structure. Take Valves STEAM online distribution channel. Last time
I looked there was only one price.

If I buy my product electronically then I can see no reason whatsoever for
the whopping differences - a company can only take the 'P' out of it's
customers for so long before we look elsewhere. I know for certain that the
only product I can afford to upgrade at the moment is Flash Pro - I'll be
using existing software or looking elsewhere for the rest. Then once I'm out
of the upgrade cycle I won't feel any compulsion to keep upgrading and will
feel less loyal to the product and much more likely to look at alternatives
(ahem MICROSOFT ahem).

Hell - if Flashdevelop gets the much touted Flexible WYSWIG Flex editor then
I may not even upgrade Flash Pro..

May I suggest you have the equivalent of an electronic region/version -
where you can only get support and upgrades electronically and the price
tracks the US equivalent with appropriate country specific tax adjustments
applied. It's just plain dumb of someone in Adobe to think that your loyal
European customers wouldn't do the maths. And if the UK sales office is
responsible then we want names, I wonder if any missing revenue from US
sales to European customers being diverted would make them pay attention -
if so we're all chartering a jet and want them to wave us goodbye at the
airport.

Yes - my goat has been well and truly got.

M



On 3/29/07, John Dowdell [EMAIL PROTECTED] wrote:


Mike Mountain wrote:
 For those prices it would literally be cheaper to fly out to the US to
buy
 it.
 Adobe has FUBAR'd these prices - we demand an explanation - but who
from?

For what it's worth, I had been pushing before launch for better
information about the reasons for regional pricing disparities, but I
did not succeed at doing so.

I suspect there are reasonable explanations, because Macromedia, Adobe,
and most other software houses show similar differences across national
boundaries, but I don't yet know the authoritative reasons myself, sorry.

(My suspicion is that it's due to decisionmaking being both at the
central and at the regional level... I think each region is responsible
for its own prices and these are shaped, but not dictated, by the main
office, so there's no single owner of pricing worldwide... that's just
my best current guess of why I haven't been able to gain traction in
getting this documented, though.)

What I'm doing now is trying to collect similar reactions for my
partners, to show that this is indeed a frequently-asked question, and
one that deserves a definitive explanation on the Adobe site. (The
FlashCoders web archive is not viewable to non-subscribers, so I'm
snipping threads to give a flavor of the whole.)

So... my apologies for the confusion. I think it's definitely a
legitimate question, and one that I'm working to get addressed.

tx,
jd




--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Need www.dancesisterdance.com type flash site [ PAID GIG ]

2007-03-16 Thread Mike Dunlop

Hi folks,

We are looking to develop a site with very similar functionality in  
flash to the www.dancesisterdance.com site. We will obviously have a  
different motif but will want the same features, allow users to  
choose different outfits and hairstyles and upload their faces (with  
cropping/sizing/editing tools) and create their own video.


I was actually trying to find out who built the scissor sisters site  
to inquire with them but I'm open to other developers as well. If you  
think you are up to the task, please send me your portfolio or some  
similar work examples and a ballpark cost estimate.


Thanks - Mike D

Mike Dunlop
Technology Development Director
M80 | 2894 Rowena Ave. Suite A | Los Angeles, CA 90039


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 - using the back button

2007-03-15 Thread Harris, Mike
Karim,

Try

http://www.boxofchocolates.nl/log/?p=107

Mike




This Message (including attachments) is intended only for the identified 
Recipient(s) and may contain information that is confidential or subject to 
copyright, trade secret or other restrictions.  It may also include attorney 
client, attorney work product, or other privileged communications.  The 
information and opinions presented in this Message do not necessarily represent 
those of the Jones Companies.  If you are not the intended Recipient, you are 
hereby notified that any use, copying or distribution of this Message 
(including attachments) is unauthorized and prohibited.  If you have received 
this Message in error, please notify the Sender ([EMAIL PROTECTED]) immediately 
by replying to and then completely deleting the Message (including all 
attachments) from your computer.  Additionally, the integrity and security of 
this Message and its attachments cannot be assured on the Internet; Recipients 
assume all risk of loss by accepting this message, including from their failure 
to use effective anti-virus software.
-Original Message-

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karim
Beyrouti
Sent: Thursday, March 15, 2007 5:56 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash - using the back button


Hi All,  

I was just wondering what the best way to activate the browser's back
button for a Flash(8) app?... are there any up to date resources /
tutorial about this?...


Kind regards



Karim



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.11/721 - Release Date:
13/03/2007 16:51
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] ISOMETRIC GAME ENGINE

2007-03-14 Thread Mike Mountain
http://oos.moxiecode.com/

You may find something here...

M


ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ
Tel: 01964 672000 
Fax: 01964 671102
Registered in England no. 01646471 
The information contained within this email expresses the views of the sender 
and not necessarily those of the company. It is private and confidential and 
may be legally privileged. It is intended solely for those authorised to 
receive it. If you are not the intended recipient you are hereby notified that 
any disclosure, copying, distribution or action taken in reliance on its 
contents is strictly prohibited and may be unlawful. If you have received this 
email in error, please telephone us immediately on 01964 672000 or email a 
reply to highlight the error and then delete it from your system. This email 
may contain links to web-sites, the contents of which ECM Systems Ltd have no 
control over and can accept no responsibility for. Any attachments have been 
virus-checked before transmission; however, recipients are strongly advised to 
carry out their own virus checking as ECM Systems Ltd do not warrant that such 
attachments are virus-free. Please note that this email has been created in the 
knowledge that Internet email is not a secure communications medium. We advise 
that you understand and observe this lack of security when emailing us.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] fauxpenGL library for AS2

2007-03-12 Thread Mike Mountain
As Michael said - there's Papervision - may I suggest you join the mailing list 
and try and integrate your OBJ loader - it would be very useful.
 
Cheers
 
M



From: [EMAIL PROTECTED] on behalf of Max Kaufmann
Sent: Mon 12/03/2007 16:25
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] fauxpenGL library for AS2



I've been tooling around with mimicking openGL in AS2.  Here's a demo:

http://www.mentalpicture.net/misc/



Currently implemented:

3D Transformation Matrix Stack

OBJ File Loader

Wireframe renderer



Are there similar projects out there?



Max Kaufmann

Flash Developer

SilverTree Media

http://www.silvertreemedia.com http://www.silvertreemedia.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://www.figleaf.com/ 
http://training.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

  1   2   3   4   5   6   7   8   9   >