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

2009-08-11 Thread Henry Cooke
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,
 but
 it's worth a look. You can download a 30-day free trial.

 Another up-and-coming 3D program is Unity--they're making some serious
 waves, and, from the reports I've heard, Unity is easier to work with
 than
 Director. Its main drawback is that it doesn't have the plugin
 penetration
 Shockwave has.

 HTH.

 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

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Batch wrapping a bunch of FLV files in SWFs

2009-05-01 Thread Henry Cooke
Not with any great degree of accuracy though, as far as I know?

2009/4/30 Muzak p.ginnebe...@telenet.be

 You know you can control flv's right?

 - Original Message - From: Henry Cooke 
 aninfinitenumberofmonk...@gmail.com
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Thursday, April 30, 2009 7:23 PM
 Subject: [Flashcoders] Batch wrapping a bunch of FLV files in SWFs



  Anyone know a good way of doing this?
 I've got a big stack of FLVs that I need to wrap up in SWFs so I can
 control
 their timelines properly.

 I'd love it if there was a command line tool like swfmill or  swftools to
 do
 it, but I'm willing to try anything that works ;)

 h.


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

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


[Flashcoders] Batch wrapping a bunch of FLV files in SWFs

2009-04-30 Thread Henry Cooke
Anyone know a good way of doing this?
I've got a big stack of FLVs that I need to wrap up in SWFs so I can control
their timelines properly.

I'd love it if there was a command line tool like swfmill or  swftools to do
it, but I'm willing to try anything that works ;)

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


[Flashcoders] Duplicating a loaded SWF

2009-04-03 Thread Henry Cooke
hej folks,
I'm writing an assetloader class, with the intention of attaching a whole
bunch of instances to the stage of a loaded asset. Because I want to attach
more than one instance of the loaded SWF, I'm having to duplicate the asset
instead of just using addChild, because you can only addChild one instance
of an object to the stage at a time.

So, I've written the following function in a class which extends Loader:

public function get asset():DisplayObject{

var cn:String = getQualifiedClassName( contentLoaderInfo.content );

var c:Class = Class( contentLoaderInfo.applicationDomain.getDefinition( cn )
);

return( DisplayObject( new c() ) );

//return( contentLoaderInfo.content );

}

However, when I try to use the duplicated asset, I can't control its
timeline, and any sound on that timeline is heard whether it's attached to
the stage or not. Basically, I suspect that duplicating the asset is
mangling its timeline somehow. Uncommenting the commented return and
commenting everything else out gives me a movieclip that behaves how I
expect, but of course can only be attached to the stage once.

Has anyone tried stuff like this before (duplicating a loaded SWF with
timeline intact)?

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


Re: [Flashcoders] Duplicating a loaded SWF

2009-04-03 Thread Henry Cooke
Thanks chaps,
In the end, loadBytes did the trick.

Cheers,
h.

2009/4/3 Cédric Tabin tabin.ced...@gmail.com

 Hello,

 Usually for that kind of problem, I simple load my SWF as binary data and
 use Loader.loadBytes to retrieve many instances of the content. Maybe
 tha'ts
 a solution for you ?

 Regards,
 Cedric

 On Fri, Apr 3, 2009 at 2:35 PM, Ian Thomas i...@eirias.net wrote:

  Henry,
As far as I'm aware, duplication of existing instances of objects
  is still something sadly lacking in Flash. There are a number of
  hacks,  but none of them seem to work for all cases (I've tried a
  bunch!).
 
   In your case, I have two suggestions; both are a change of approach:
 
  i) Use the loaded SWF simply as a container for a symbol definition
  (in the loaded SWF's library) and create lots of new instances of that
  symbol - that is perfectly normal and works fine.
 
  or
 
  ii) Actually load multiple instances of the SWF. This isn't anything
  like as heavyweight/slow as you might expect (and was the way to do it
  in AS2) as the SWF will be in the browser's cache.
 
  HTH,
Ian
 
  On Fri, Apr 3, 2009 at 12:49 PM, Henry Cooke
  aninfinitenumberofmonk...@gmail.com wrote:
   hej folks,
   I'm writing an assetloader class, with the intention of attaching a
 whole
   bunch of instances to the stage of a loaded asset. Because I want to
  attach
   more than one instance of the loaded SWF, I'm having to duplicate the
  asset
   instead of just using addChild, because you can only addChild one
  instance
   of an object to the stage at a time.
  
   So, I've written the following function in a class which extends
 Loader:
  
   public function get asset():DisplayObject{
  
   var cn:String = getQualifiedClassName( contentLoaderInfo.content );
  
   var c:Class = Class( contentLoaderInfo.applicationDomain.getDefinition(
  cn )
   );
  
   return( DisplayObject( new c() ) );
  
   //return( contentLoaderInfo.content );
  
   }
  
   However, when I try to use the duplicated asset, I can't control its
   timeline, and any sound on that timeline is heard whether it's attached
  to
   the stage or not. Basically, I suspect that duplicating the asset is
   mangling its timeline somehow. Uncommenting the commented return and
   commenting everything else out gives me a movieclip that behaves how I
   expect, but of course can only be attached to the stage once.
  
   Has anyone tried stuff like this before (duplicating a loaded SWF with
   timeline intact)?
  
   h.
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 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] Flex Builder: AS Application files outside of /src root?

2008-11-04 Thread Henry Cooke
Hello all,

Something that's been bugging me for a while: why can only AS files in
the root of a Flex Builder project's source folder be nominated as an
application?

Like, I've got a bunch of classes all neatly packaged up in packages
inside /src, but in the Project / Properties / Actionscript Properties
dialog, upon clicking Add, these files do not appear in the tree
view of possible files to add.

Is there something I'm missing? A bug in FB, perhaps? I'm on a Mac, if
that makes any difference.

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


[Flashcoders] Type Coercion errors when loading remote Interfaces

2008-10-24 Thread Henry Cooke
Hi all,

I'm working on an API to allow developers to write apps which connect
to an AMFPHP service. For security reasons, we're placing all the
code that actually deals directly with the service in a connector SWF
which sits on our server and is loaded in the developer's app by a
loader class which loads the connector and provides an interface to
it.

An architecture decision has been made to use callback functions to
get messages back to classes in the app, so when the connector
receives messages from the service, it calls callback methods in any
object which has registered itself as a listener (It also dispatches
events like a proper implementation should, but these callbacks are a
legacy hangover from the AS2 version. Y'all know how it is ;) ).

To this end, I've defined two interfaces: IAPIConnector, which defines
the available methods on the single class in the connector SWF, and
IAPIListener, which defines the callbacks which should be present in a
listening class. Classes make calls through a variable in the
connector class cast as IAPIConnector, and the connector calls methods
on objects cast as IAPIListener. This way, neither the loader contains
any imported connector code (just the interface definition) and vice
versa.

This works as expected when both SWF files are on the local
filesystem, but when I attempt to load the Connector from a remote
location, I get errors along these lines:

TypeError: Error #1034: Type Coercion failed: cannot convert
api.test::[EMAIL PROTECTED] to api.interfaces.IAPIListener.
(when passing a listener class [which definitely does implement
IAPIListener] to the loaded connector class )

TypeError: Error #1034: Type Coercion failed: cannot convert
api::[EMAIL PROTECTED] to api.interfaces.IAPIConnector.
(when trying to cast an instance of the loaded connector class to
IAPIConnector [ which it definitely does implement] in the loader
class)

This really has me scratching my head. My best guess is that there's
some kind of ApplicationDomain weirdness going on which is causing
both SWFs to have their own independent definitions of the Interfaces,
and so therefore complaining when something from the other SWF, which
implements its own definition of the interface, is passed through. I
am, however, explicitly using a LoaderContext to load the connector
into a child of the current ApplicationDomain, like so:

$loader = new Loader();
$loader.contentLoaderInfo.addEventListener( Event.COMPLETE, onAPILoaded );
var cxt:LoaderContext = new LoaderContext();
cxt.applicationDomain =new ApplicationDomain( ApplicationDomain.currentDomain )
$loader.load(  new URLRequest( swfUrl ), cxt );

And if that was wrong, surely it wouldn't work locally either? It's
driving me mental!

Any insights very gratefully received,
Henry
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Payment processing in Flash?

2008-09-19 Thread Henry Cooke
Hey all,

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

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

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

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

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


[Flashcoders] [AS3] Memory leaks unloading

2008-03-12 Thread Henry Cooke
Hey all,

I'm currently working on a Flash module to sit inside a larger Flash
site being developed by another agency. This module needs to be loaded
and unloaded as needed, and has a fair few library assets, quite
substantial codebase and will be running PV3D or Away3D, so I need to
be very careful about destroying everything when my module is finished
with; the container site is pretty resource-hungry too.

So, my current problem: I've built initialisation and destruction
routines that run on Event.ADDED_TO_STAGE and
Event.REMOVED_FROM_STAGE, and a test loader which loads and removes my
module. However, watching the test loader unload my module in the
Flash Player shows no noticeable drop in memory after my destructors
have been called in the module and $loader.unload() has been called in
the test loader, so it seems like a lot o stuff is gettign stuck in
memory.

Basically, my destructors set any class variables which reference
objects to null, which I believe should mark them for garbage
collection, if nothing else points to them? I also do things like
removeChild() and bitmapData.dispose() where relevant.

I've compiled in XRay, which shows what you'd expect: various bits
present on stage while my module is loaded, all gone when it's not.

So I guess my questions are: does anyone know any secret voodoo
techniques to track down memory use in the Flash player? Is there
anything better I can be doing than just setting pointers to null?
Back in the AS2 day, I'd suspect the _global namespace of becoming
cluttered and just try and nuke _global[ package_name ], but dirty
hacks like that don't exist in our shiny new AS3 world, do they?

I'd be grateful if anyone can offer any advice about how to properly
clear up memory after unloading my module. This is my first AS3
project, and none of my old tricks work :(

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


Re: [Flashcoders] [AS3] Memory leaks unloading

2008-03-12 Thread Henry Cooke
Wow, thanks for all the tips, guys. I forgot to mention that I was
removing all my listeners, too, but weak referencing definitely looks
useful, as does the rest of the stuff that Mr Skinner's written on
resource management. And I'll dig into my copy of Moock as soon as I
get the chance.

Thanks again! Any more suggestions welcome, of course ;)

On 12/03/2008, Matthew James Poole
[EMAIL PROTECTED] wrote:
 True, but its sounds like Henry has lots of stuff not marked for GC so
  he still has references somewhere, just a case of finding them... Easier
  said than done


  -Original Message-
  From: [EMAIL PROTECTED]

 [mailto:[EMAIL PROTECTED] On Behalf Of Allandt
  Bik-Elliott (Receptacle)
  Sent: 12 March 2008 16:30
  To: Flash Coders List
  Subject: Re: [Flashcoders] [AS3] Memory leaks  unloading

  as far as i know, there is no way of dumping the garbage manually - you
  have to wait for the flash plugin to dump it once it has been marked

  you can check chapter 14 of essential actionscript 3.0 (moock) for more
  info about that


  On 12 Mar 2008, at 15:54, Henry Cooke wrote:

   Hey all,
  
   I'm currently working on a Flash module to sit inside a larger Flash
   site being developed by another agency. This module needs to be loaded

   and unloaded as needed, and has a fair few library assets, quite
   substantial codebase and will be running PV3D or Away3D, so I need to
   be very careful about destroying everything when my module is finished

   with; the container site is pretty resource-hungry too.
  
   So, my current problem: I've built initialisation and destruction
   routines that run on Event.ADDED_TO_STAGE and
   Event.REMOVED_FROM_STAGE, and a test loader which loads and removes my

   module. However, watching the test loader unload my module in the
   Flash Player shows no noticeable drop in memory after my destructors
   have been called in the module and $loader.unload() has been called in

   the test loader, so it seems like a lot o stuff is gettign stuck in
   memory.
  
   Basically, my destructors set any class variables which reference
   objects to null, which I believe should mark them for garbage
   collection, if nothing else points to them? I also do things like
   removeChild() and bitmapData.dispose() where relevant.
  
   I've compiled in XRay, which shows what you'd expect: various bits
   present on stage while my module is loaded, all gone when it's not.
  
   So I guess my questions are: does anyone know any secret voodoo
   techniques to track down memory use in the Flash player? Is there
   anything better I can be doing than just setting pointers to null?
   Back in the AS2 day, I'd suspect the _global namespace of becoming
   cluttered and just try and nuke _global[ package_name ], but dirty
   hacks like that don't exist in our shiny new AS3 world, do they?
  
   I'd be grateful if anyone can offer any advice about how to properly
   clear up memory after unloading my module. This is my first AS3
   project, and none of my old tricks work :(
  
   Cheers,
   Henry
   ___
   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 e-mail has been scanned for viruses by the Virtual Universe e-mail
  security system - powered by MessageLabs.
  http://www.virtual-universe.net

  __

  The contents of this email (which include its attachments) are confidential 
 and may be subject to legal privilege and protected by copyright. If you are 
 not the intended recipient any use, copying or disclosure of this e-mail to 
 any third party is strictly forbidden by the sender and we reserve all rights 
 and remedies against any person or entity making any such unauthorised use. 
 If you have received this email in error, please contact the sender 
 immediately by telephone or return the email to the sender and then delete 
 this email and any copies of it on your system. Virtual Universe Limited may 
 monitor the contents of emails sent and received via its network for viruses 
 and to ensure the lawful and authorised use of its systems. Virtual Universe 
 Limited will not be held responsible for any damage caused by viruses which 
 may be transmitted upon receipt of this email or the opening of any 
 attachment thereto. Any views or opinions presented in this email are solely 
 those of!
  th!
   e author and do not necessarily represent those of Virtual Universe Limited.

  Virtual Universe Limited is a company established under the laws of England 
 and Wales with registered number 03064568 and has its registered office at 1 
 Regent

[Flashcoders] Exporting AS2 classes across multiple frames?

2008-02-12 Thread Henry Cooke
Hey all,

I'm trying to work out if there's a way I can export AS2 classes to
more than one frame: I'm experimenting with fine-grained loading and
preloaders written in AS2.

So for instance, does anyone know if it's possible to write a
preloader in AS2, then export *only* that class to frame 1 of a movie,
then some more classes to frame 2, a few more to frame three and so
on?

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


[Flashcoders] Implications of using GPL'ed libraries?

2007-05-02 Thread Henry Cooke

Hey folks,

I'm looking at using some GPL licensed code (Flade, to be specific) in a
game I'm building for my employers. However, I can't find a clear answer
anywhere as to what that implies for our source: does anyone know if using
GPL licensed libraries means that we would have to release the source to our
game? Or just the library, if I modify it? Or not at all? I assume compiling
a SWF constitutes creating a binary version, but are we technically
distributing it if it's loaded from a web server?

Any insights would be greatly appreciated.

Henry


Addendum for Free Software people: I'm not trying to circumvent the GPL
here, just trying to understand the implications to my employer. Personally,
I think open source is a fantastically good thing. I just need to know if
I'm going to have to convince my bosses of that ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Implications of using GPL'ed libraries?

2007-05-02 Thread Henry Cooke

Thanks guys. I emailed the author earlier today and got a nice, positive
response - you were right, Mark, his position is that he doesn't want to
place any restrictions on the way people use his work, short of passing it
off as their own ;)

I'm just trying to be super-careful here, because there's some IP issues,
and the client are a fairly large, public organisation, so I'm trying to do
everything by the book. Permission from the author rules all though, right?
Obviously, I'm going to make sure he gets credit and there's a clear line
between our work and his etc etc...

Thanks again,
h.

On 02/05/07, Mark Winterhalder [EMAIL PROTECTED] wrote:


On 5/2/07, Robert Brisita [EMAIL PROTECTED] wrote:
 If you have to go the GPL route,  you can tell your employers that all
 the code is in the SWF anyway, making it
 available just takes away an extra step from the process of acquiring
 the code.

Uhm... I really don't think that can be decompiled qualifies as
making code publicly available. Local vars and comments aside, the
same would be true for Java and lots of other languages.

Frankly, I think there is a good possibility the author intended the
lib to be used the way you want to, and just chose the GPL as a
generic open source license without giving the implications any
thought. A short mail should clear things up, and a positive reply
could be taken as permission (the author can license his code to
anybody any way s/he pleases). So just mail the author, describe what
you want to do, and ask nicely if it's OK.

Generally, I would like some more clarity on the LGPL in regards to
SWFs. The way I interpret it, libraries would have to be loaded as an
extra SWF to be on the safe side, but I can't imagine this is the
intention of most of the authors.

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

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


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] DisplacementMap - Mode 7 (perspective distortion)

2007-03-09 Thread Henry Cooke

'lo all

Apologies if this is an old topic, but I can't find anything in the
Flashcoders archives, and Google just throws up some gnomic it's possible
blog comments without any actual hints on *how* it's possible...

I'm attempting to perspective distort a bitmap to use as a floor in a
parallax scene - I achieved a similar effect in oldskool Flash 6 (lots of
progressively xscaled, 1px high masked MCs, yuck) at http://www.pd3.co.uk,
but I'm sure such a thing should be possible in Flash 8 using a
DisplacementMap filter.

Does anyone have a good idea how this could be achieved? I've been spending
a very long time staring at Photoshop, trying to come up with the right
combination of gradients for the displacement map, but all I have to show is
a headache and a nagging sense that I'm missing something...

Of course, a more direct approach would be to slice  scale the source image
using a whole bunch of draw()s and a Matrix with a changing xscale, but it
feels like a Displacement would be a cleaner option?

Happy Friday!
Henry
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] DisplacementMap - Mode 7 (perspective distortion)

2007-03-09 Thread Henry Cooke

Thanks Hans, that's some really useful info on DisplacementMap - I always
find it tricky getting my head around it ;)

Agreed that if I was doing this *properly*, Papervision would be the way to
go, but I'm doing a simple 2-and-a-bit-d side-scrolling game with a bit of
parallax, it seems that Papervision would be massive overkill. That and the
fact that I'm stuck in commercial AS2 hell :)

I'm implementing with draw() strips for the time being - not great, but I
know that'll work. In the meantime, if anyone else has experimented in this
area, I'd love to hear your thoughts...

h.

On 09/03/07, Hans Wichman [EMAIL PROTECTED] wrote:


Hi,
I posted some info on my blog about using photoshop/3d software to get the
effect you want.
I don't know if displacement maps are the way to go though, seems
papervision3d might be of more help to you.
Anywayz for more info on getting specific displacements, you can take a
look
here:
http://objectpainters.com/blog/?s=displacement

Im sure there are better sources available, these links just document my
own
fiddling in that area.

greetz
JC


On 3/9/07, Henry Cooke [EMAIL PROTECTED] wrote:

 'lo all

 Apologies if this is an old topic, but I can't find anything in the
 Flashcoders archives, and Google just throws up some gnomic it's
 possible
 blog comments without any actual hints on *how* it's possible...

 I'm attempting to perspective distort a bitmap to use as a floor in a
 parallax scene - I achieved a similar effect in oldskool Flash 6 (lots
of
 progressively xscaled, 1px high masked MCs, yuck) at
http://www.pd3.co.uk,
 but I'm sure such a thing should be possible in Flash 8 using a
 DisplacementMap filter.

 Does anyone have a good idea how this could be achieved? I've been
 spending
 a very long time staring at Photoshop, trying to come up with the right
 combination of gradients for the displacement map, but all I have to
show
 is
 a headache and a nagging sense that I'm missing something...

 Of course, a more direct approach would be to slice  scale the source
 image
 using a whole bunch of draw()s and a Matrix with a changing xscale, but
it
 feels like a Displacement would be a cleaner option?

 Happy Friday!
 Henry
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Loading images directly to BitmapData in AS2?

2007-02-13 Thread Henry Cooke

Hey all,

It it possible to load an image (PNG/JPG) directly into memory or (even
better) a BitmapData object without having to faff about loading it into a
MovieClip first, in AS2? I've been poking about a bit, but nothing seems
immediately obvious (disclaimer: I am recovering from a nasty bout of flu,
so brain may not be working properly).

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

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


Re: [Flashcoders] flash and mp2 actionscripting

2007-02-11 Thread Henry Cooke

Short answer: no. Sorry! Maybe the AS3 soundhacking warriors could come up
with something, but there's no native support.

h.

On 10/02/07, lincoln [EMAIL PROTECTED] wrote:


Can flash use mp2 audio files in the same fashion as mp3's?  Are
their any actionscript limitations with mp2 audio?  Does someone know
of a definitive resource on flash audio with mp2?

-lm
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Antialiasing BitmapData in AS2?

2007-02-05 Thread Henry Cooke

Thanks for the heads-up, Alias (and good to hear from you again ;) )

The original attachment's up at
http://www.prehensile.co.uk/dropbox/Untitled-1.gif. I'm using the old
blur-lots-then-threshold technique.

I've done a bit more research, and the way I understand it, most
antialiasing techniques work by calculating the sub-pixel positions of
things, and setting the brightness of the closest corresponding pixels
accordingly. In this case, however, I already have an aliased bitmap with no
sub-pixel information.

I guess an algorithm could be conceived that would somehow infer sub-pixel
values, but this feels like it would be unnecessary faff, and very slow.
Anyone know of a quick-and-dirty way of smoothing a bitmap? I guess I could
render at a higher resolution than needed and scale down, to mimic
calculating sub-pixels, but that also feels inefficient. There must be a
clever cheaty way of doing this?

h.

On 04/02/07, Alias™ [EMAIL PROTECTED] wrote:


Can you throw the example image onto a web server so we can see it?
The list strips out attachments :(

Alias

On 01/02/07, Henry Cooke [EMAIL PROTECTED] wrote:
 Hey all,

 I've been mucking about with a metablob-type thing, and have got it
 rendering quite nicely. However, it only renders a black-or-white (1bit)
 bitmap - does anyone know of a good technique to do fast antialiasing on
 such a bitmap? I've tried blurring a bit (which is slow as hell, and
looks
 crap) and rendering at 1/2 res and scaling up with a draw() with
smoothing
 on, which also looks crap. Any better suggestions?

 Example image attached.

 h.


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

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


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Antialiasing BitmapData in AS2?

2007-02-01 Thread Henry Cooke

Hey all,

I've been mucking about with a metablob-type thing, and have got it
rendering quite nicely. However, it only renders a black-or-white (1bit)
bitmap - does anyone know of a good technique to do fast antialiasing on
such a bitmap? I've tried blurring a bit (which is slow as hell, and looks
crap) and rendering at 1/2 res and scaling up with a draw() with smoothing
on, which also looks crap. Any better suggestions?

Example image attached.

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

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

Re: [Flashcoders] full screen window

2007-01-31 Thread Henry Cooke


if opening a fullscreen window on a click is possible then y can't on
onLoad event.



It's a matter of user experience. If they've clicked a link, you can be
pretty sure they wanted the popup. If you're doing it in an onLoad:
1) the user hasn't asked for it
2) it could be used to mislead the user (imagine opening a fullscreen window
which looked exactly like a maximised browser, but every click redirected to
evil spyware... it has been done, apparently). This is why the security
restrictions are in place.

h.

On 31/01/07, Ravi Marella [EMAIL PROTECTED] wrote:


Thanx for all the replies, but I understood that I can't do wat I
exactly want to i.e. opening a popup window by itself because of so
called security resturictions; but wat I really don't understand is if
opening a fullscreen window on a click is possible then y can't on
onLoad event...i mean it doesn't make user any difference whether the
window has become fullscreen because of a click or onLoad...


RaviKiran Marella






-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Ham
Sent: Tuesday, January 30, 2007 10:16 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] full screen window

The best user experience would be two windows: have a launch page
with a link that would open a new JavaScript child window, and tell
the user that the course is going to open in fullscreen. Then you can
control the size and properties of the window as much as you like,
and the user doesn't get the surprise of  his/her browser opening way
up unexpectedly.

OK
DAH


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] File upload in flash

2007-01-30 Thread Henry Cooke

Or FileReference, if you just want to save the file out on a server
somewhere..

h.

On 30/01/07, Petro Bochan [EMAIL PROTECTED] wrote:


Claudio M. E. Bastos Iorio
 Hi guys, I hope you can help me on this.
 I need to add an upload file control inside a flash form, like the
one
 in
 html. I'm working with php and MySql in the backend. But I don't
really
 know
 how to add such a feature in flash.  Any help/links examples will be
much
 appreciated.

Hi Claudio,

Check out the Loader class @
http://livedocs.macromedia.com/flex/2/langref/index.html, this will give
all the info that you need.

Cheers,
Petro

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] File upload in flash

2007-01-30 Thread Henry Cooke

Hmm. I don't think you want a Loader if you just want to pass the file
through (as opposed to loading its content *into* Flash) - if you're just
duplicating the functionality of an HTML file upload form element then
FileReference is definitely what you need - you give it a form catcher to
POST to, exactly the same as an HTML form. It's Flash 8/AS2.

There's a bunch of stuff in Flash's online help on it, or Googling about
throws up loads of relevant stuff, including the one at the always-excellent
Kirupa:
http://www.kirupa.com/developer/flash8/uploading_fileReference_pg1.htm

h.

On 30/01/07, Claudio M. E. Bastos Iorio [EMAIL PROTECTED] wrote:


Thanks for your help Petro and Henry!
This class is for AS3 on Flex2, right?
I'm working with Flash 8 and AS2. The loader class that I found in AS2
seems
to allow me retrieve content from a remote location and pull it into a
Flash application (from help) Is the same class?.
And Henry, yes, I need to save the file in the server.
Looking for Filereference class I found this link:
http://www.flash-db.com/Tutorials/upload/upFiles.php . I think that's what
I
needed. Thanks for your help!


___
Claudio M. E. Bastos Iorio
http://www.13bit.com.ar
MSN:[EMAIL PROTECTED]
Icq:24094716

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Petro
Bochan
Sent: Tuesday, January 30, 2007 8:09 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] File upload in flash

Claudio M. E. Bastos Iorio
 Hi guys, I hope you can help me on this.
 I need to add an upload file control inside a flash form, like the
one
 in
 html. I'm working with php and MySql in the backend. But I don't
really
 know
 how to add such a feature in flash.  Any help/links examples will be
much
 appreciated.

Hi Claudio,

Check out the Loader class @
http://livedocs.macromedia.com/flex/2/langref/index.html, this will give
all
the info that you need.

Cheers,
Petro

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] JSON vs. XML for CDROM configuration

2007-01-30 Thread Henry Cooke

I'd probably do that in XML, as what you're defining is a bunch of different
sections, each with a number of different properties. A simple text config
is more suitable for basics like screen size, basic interface text strings,
resource locations etc (IMHO)

I'd probably do it something like this:

section name=sectionName navLabel=[nav mc label]
titleSection Title/title
clip name=someMovie.flv
button name=forward display=yes
button name=backward display=no
etc...
/section

And repeat that section node a whole bunch of times for all your sections.
You'll need to read up on the XML class as to how to parse this in a useful
way for you though...

h.


On 30/01/07, Paul Steven [EMAIL PROTECTED] wrote:


Thanks Ian for the useful advice. I would appreciate your thoughts and
indeed the thoughts of anyone else,  on my use of a config file for this
project.

Not sure if a config file is the best solution for what I am doing.
Basically the CDROM consists of 60 separate pages / sections. I have just
used 60 labels on the timeline for these

e.g

1_1
1_2
2_1
2_2
Etc

I have not created separate swf files for each of the 60 sections as the
content of most sections is simply a video clip or one sentence of text. I
therefore thought it was more manageable to keep all the sections within
one
flash movie. All video clips are external flv files.

I have also set up the navigation menu like this, with 60 labels.

The idea of using a config file is to set various things for each section
such as:

What video clip to play
The Page title
Which label of the navigation menu mc to display
Which buttons to display e.g forward / backward
Which label to navigate to when any button is clicked
Assign actions to visible buttons

etc

The idea of doing it this way is to prevent there being lots of code in
all
the 60 labels across the timeline.

Hence the configuration file would have details of what actions to take
upon
arriving at each of the 60 sections.

Does the above solution sound like the right way to go? Or can you suggest
a
better solution. The application is PC only and is being developed with
Flash 8.

Thanks

Paul





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas
Sent: 30 January 2007 08:27
To: Flashcoders mailing list
Subject: Re: [Flashcoders] JSON vs. XML for CDROM configuration

We've had absolutely no problem reading text files from CD-ROM using Flash
8. :-)

XML/JSON wouldn't be any faster to read in.

I'd choose XML if you had a much more complex configuration task that
needed
lots of nested config (unlikely unless you've got a huge sprawling app -
you
can handle most situations by choosing your key=value keynames
appropriately) or if your config involved chunks of (possibly unicode)
textual data.

I wouldn't use JSON for configuration as I find it far less readable -
it's
primarily a serialisation/data interchange format rather than a
configuration file format. Additionally, it ties you to a particular
implementation/data layout in your app; whereas if, for whatever reason,
you
wanted other apps to read your key/value pairs plain text file (for
example,
for patching or updating or simply cataloguing) then it's very
straightforward.

Cheers,
  Ian

On 1/30/07, Paul Steven [EMAIL PROTECTED] wrote:

 Hmm good point Ian.

 Any reason why people would use xml or json files rather than plain
text?
 Ease of editing, speed of loading etc?

 With regards security implications, just wanted to be sure there was no
 problem reading data from the CDROM as I am sure I read somewhere about
 some
 issue that arised with Flash 8.

 Thanks

 Paul

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
 Sent: 30 January 2007 08:08
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] JSON vs. XML for CDROM configuration

 Um - surely there's a third option, which is plain text? It does depend
 what
 you're configuring, but our external configuration files look like
 java.properties files:

 language=en
 useDirectX=true

 etc. etc.

 We just read them in using LoadVars (overriding onData) and parse them.
 Very
 straightforward.

 Security implications etc. - well, that entirely depends what you're
 trying
 to protect against, and what info you're putting in the configuration
 file.
 In general, if the config file is on the CD itself, it's unchangeable,
so
 I
 don't see a huge issue?

 Unless I've got the wrong end of the stick and you're talking about
 configuring a CD-ROM app via a net connection (some sort of activation
 system) - in which case ignore me. :-)

 Ian

 On 1/30/07, Paul Steven [EMAIL PROTECTED] wrote:
 
  I am creating a CDROM application (Flash 8 PC only) and would like to
  control it with an external configuration file.
 
  From what I can see, I have a choice of a XML or JSON solution - can
  anyone
  recommend one over the other?
 
  Also if anyone has a link to a working version of JSON and JSONConfig,

Re: [Flashcoders] full screen window

2007-01-30 Thread Henry Cooke

Ravi,
It's a tricky one, most modern browsers are specifically designed not to
allow you to size up to fullscreen onLoad, as it was being abused by
scammers and such.

http://developer.mozilla.org/en/docs/DOM:window.open#Note_on_position_and_dimension_error_correction

Probably explains why you've been having trouble making it work ;)

Sorry to be the bearer of bad news...

h.

On 30/01/07, Ravi Marella [EMAIL PROTECTED] wrote:


Hi all,

This might be simple but I'm trying this from last 4 hours and got no
answer anywhere.

How can you open a window in full screen mode using JavaScript? I want
to open the same window in full screen mode, I mean with out using any
other window to launch this full screen window or any button to launch
it i.e. something to do with the onLoad event of the body tag.  Thanks
for replies in advance.

cheers,

Ravi

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] full screen window

2007-01-30 Thread Henry Cooke

I'm no JavaScript coder, but I don't think you can change the properties of
an already open window.

Not sure though, Google about a bit, see what you can find..

h.

On 30/01/07, Ravi Marella [EMAIL PROTECTED] wrote:




Then...can we atleast hide the status bar/address bar and other standard
buttons of the same window?

RaviKiran Marella


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Henry
Cooke
Sent: Tuesday, January 30, 2007 9:20 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] full screen window

Ravi,
It's a tricky one, most modern browsers are specifically designed not to
allow you to size up to fullscreen onLoad, as it was being abused by
scammers and such.

http://developer.mozilla.org/en/docs/DOM:window.open#Note_on_position_an
d_dimension_error_correction

Probably explains why you've been having trouble making it work ;)

Sorry to be the bearer of bad news...

h.

On 30/01/07, Ravi Marella [EMAIL PROTECTED] wrote:

 Hi all,

 This might be simple but I'm trying this from last 4 hours and got no
 answer anywhere.

 How can you open a window in full screen mode using JavaScript? I want
 to open the same window in full screen mode, I mean with out using any
 other window to launch this full screen window or any button to launch
 it i.e. something to do with the onLoad event of the body tag.  Thanks
 for replies in advance.

 cheers,

 Ravi

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

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

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

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

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


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

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


Re: [Flashcoders] Invisible re-draw

2007-01-26 Thread Henry Cooke

Er, I'm pretty sure it won't redraw if nothing changes... I could be wrong
though.

Doesn't the debug version of the Flash Player plugin have an option to
outline the stuff it's redrawing in red?

h.

On 26/01/07, Micky Hulse [EMAIL PROTECTED] wrote:


Shang wrote:
 But I feel the Flash redraw itself all the time. your FPS decides how
 many times it redraw regardless of any changes.

Ah, really? Even if timeline has hit a stop action and/or no animation
is happening?

Interesting... hmm, re-thinking my thinking here.

Thanks for reply Shang, much appreciated. :)

Cheers,
Micky

--
  Wishlist: http://snipurl.com/vrs9
Switch: http://browsehappy.com/
  BCC?: http://snipurl.com/w6f8
My: http://del.icio.us/mhulse
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


Re: [Flashcoders] Re: flash on osx thru parallels/bootcamp

2007-01-25 Thread Henry Cooke

SEPY is *horrible* on OSX/Intel - at least it was last time I tried it.
Buggy to the point of unusable :(

Interesting that you get decent response in the Windows IDE in Parallels -
I'll have to give that a try. Though surely you're dealing with an emulation
layer either way, either Rosetta to emulate PowerPC or Parallels to
virtualise Winows?

My Mac/Intel workflow at the moment is Eclipse/MTASC/test in browser (with
Intel native Flash Player installed) - no need even to go near the IDE.
That's on a good day though, a lot of the time I have to go into the IDE to
fiddle with graphics/MCs/library/whatever and it's just *horrid*

Roll on native OSX/Intel IDE!

h.

On 25/01/07, Merrill, Jason [EMAIL PROTECTED] wrote:


The Mac version of Sepy has been buggier for me than the PC
version.

Wow, and I thought the Windows version of Sepy was already really
buggy...

Jason Merrill
Bank of America
Learning  Organizational Effectiveness




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Saving out XML direct from Flash?

2007-01-22 Thread Henry Cooke

Thanks. I ended up (after seriously considering porting to AS3 and having it
*serve itself* a file through flash.net.socket :D ) getting over my
prejudice against extended projectors and using Screenweaver HX, which
actually seems pretty nice.

Cheers,
Henry

On 22/01/07, Andrew J Kirkham [EMAIL PROTECTED] wrote:


I managed something like this by embedding my Flash movie in a Director
movie, which managed the saving of the XML. I'm afraid I no longer have
access to the files, but I seem to remember it didn't take me very long to
implement.

Andy


- Original Message -
From: Henry Cooke [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, January 19, 2007 5:11 PM
Subject: [Flashcoders] Saving out XML direct from Flash?


 'lo all

 I'm noodling around with a little app that I'd like to be able to write
 out
 some internally generated XML directly to the user's hard disc.
Preferably
 with a nice FileReference type interface.

 But this seems next to impossible. I was hoping it would be possible to
 hack
 FileReference to take file conetent from a variable, rather than a URL,
 but
 that looks like a no-go. My second idea was to write to a SharedObject,
 then
 pass that through FileReference, but I can't find a way of finding out
the
 path to the SO file within Flash. I've spent the afternoon reading about
 MMSave, FSCommand save and ASnative(302, 0) and coming to the
conclusion
 that they're deprecated as hell and useless to me.

 So does anyone have any good suggestions? I'm not averse to dirty hacks,
 but
 this is a standalone app, so I can't bounce the file back off a server,
 and
 I really don't want to use one of those weird extended projectors if I
can
 avoid it.

 Cheers,
 Henry
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Saving out XML direct from Flash?

2007-01-19 Thread Henry Cooke

'lo all

I'm noodling around with a little app that I'd like to be able to write out
some internally generated XML directly to the user's hard disc. Preferably
with a nice FileReference type interface.

But this seems next to impossible. I was hoping it would be possible to hack
FileReference to take file conetent from a variable, rather than a URL, but
that looks like a no-go. My second idea was to write to a SharedObject, then
pass that through FileReference, but I can't find a way of finding out the
path to the SO file within Flash. I've spent the afternoon reading about
MMSave, FSCommand save and ASnative(302, 0) and coming to the conclusion
that they're deprecated as hell and useless to me.

So does anyone have any good suggestions? I'm not averse to dirty hacks, but
this is a standalone app, so I can't bounce the file back off a server, and
I really don't want to use one of those weird extended projectors if I can
avoid it.

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

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