this.cb.drawFocus = "";

hope this helps.
cp

: Cole Peterson 
: ZAAZ, Inc 
: Interactive developer 
: [EMAIL PROTECTED] 

: t 206.341.9885 x4867 
: www.zaaz.com 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 11:04 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [{SPAM?}] - Flashcoders Digest, Vol 17, Issue 25 - Email found in 
subject

Send Flashcoders mailing list submissions to
        flashcoders@chattyfig.figleaf.com

To subscribe or unsubscribe via the World Wide Web, visit
        http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Flashcoders digest..."


Today's Topics:

   1. Re: callBack for Beginners ? (jcanistrum)
   2. reposition MC on release (Tony Watkins)
   3. Re: reposition MC on release (jcanistrum)
   4. Variable trace Problem (Jorge Antonio Diaz Gutierrez)
   5. How to hide SWF Assets from Internet users (Mike Anderson)
   6. Re: Variable trace Problem (jcanistrum)
   7. anyone using mCom? (Rich Rodecker)
   8. Re: How to hide SWF Assets from Internet users (jcanistrum)
   9. RE: How to hide SWF Assets from Internet users (Geoffrey Holland)
  10. RE: How to hide SWF Assets from Internet users (Bieniasz, Myles)
  11. RE: anyone using mCom? (Steve Polk)
  12. Re: Flash XML: Creating a CDATA text node? (Peter Hall)
  13. Re: How to hide SWF Assets from Internet users (jcanistrum)
  14. Re: amfphp NetConnection.Connect.Failed (Sam)
  15. Re: How to hide SWF Assets from Internet users (Scott Hyndman)
  16. Re: anyone using mCom? (Rich Rodecker)
  17. RE: How to hide SWF Assets from Internet users (Tom Lee)
  18. Re: reposition MC on release (mike cann)
  19. RE: remove haloGreen - haloBlue- haloOrange (Gresh, Lois)


----------------------------------------------------------------------

Message: 1
Date: Wed, 7 Jun 2006 13:23:11 -0300
From: jcanistrum <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] callBack for Beginners ?
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

ok ..

I will make a good review on mx.utils.Delegate and mx.events.EventDispatcher,
try to draft a very simple skeleton and post back later on .. thanks


2006/6/7, Julien Vignali <[EMAIL PROTECTED]>:
>
> I would suggest to keep the loading of the parameter file simple and
> create a ParameterFilesLoader class that would handle a queue of urls to
> load in an array.
> The class would eventually dispatch state events that your main class
> would listen to, and show appropriate message to the user and handle the
> state of your app.
>
> Using mx.utils.Delegate and mx.events.EventDispatcher is a good practice
> ;) Ask me if you need some help building this stuff.
>
>
> jcanistrum a écrit :
> > ok .. some of these solutions occurred to me, but are these solution the
> > best OO design pratices ?
> >
> > Because depending on how deep this process goes it would be hard to
> detect
> > or explict to some one else what your app does,
> >
> > I was expecting that would be possible, but I don´t know how to build
> > some event like
> >
> > onAllXmlSucced  or
> >
> > onInitializationSuccess
> >
> > that would be fired after all this XML reading using for example the
> Andre
> > suggestion on having an array or queue of events, but how to build my
> own
> > callBack function that would be fired after all the files were
> successfully
> > read ???
> >
> > PS: I´d like to use these approach inside an AS 2.0 class with MTASC
> static
> > main style.
> >
> > João Carlos
> >
> >
> > 2006/6/7, Nitin Gore <[EMAIL PROTECTED]>:
> >>
> >>
> >> Better way is you can use the recursion, If your XML files follows same
> >> tags.
> >>
> >> As below:-
> >>
> >> >
> >>
> ..........................................................................
> >>
> >> >   1.. var myParameters:XML = new XML();
> >> >   2.. myParametersignoreWhite = true;
> >> >   3.. myParameters.onLoad = function(success)
> >> >   4.. {
> >> >   5..     if ( success)
> >> >   6..    {
> >> >   7..        //  get the Paramenters from myParameters
> >> >   8..        //  begin reading other  XML files
> >> >   9..        // wait for them to succed
> >>
> >>                        myParameters.load("Other XML file");
> >>
> >> >   10..        //  start app
> >> >   11..    }
> >> >   12.. };
> >> >   13.. myParameters.load("parameters.xml");
> >> >
> >>
> ..........................................................................
> >>
> >>
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED] [mailto:
> >> [EMAIL PROTECTED] On Behalf Of eric dolecki
> >> Sent: Wednesday, June 07, 2006 4:54 PM
> >> To: Flashcoders mailing list
> >> Subject: Re: [Flashcoders] callBack for Beginners ?
> >>
> >> you could daisy-chain function calls when xml documents get their
> onLoad(
> >> success:Boolean)... that would work pretty well.
> >>
> >> On 6/7/06, jcarlos <[EMAIL PROTECTED]> wrote:
> >> >
> >> > Hi All,
> >> >
> >> > I need help
> >> >
> >> > I trying to develop some small app that read a Parameters list from a
> >> XML
> >> > file and then if succeded, read other XML files as specified by the
> >> > Parameters file and only after these files were read and succeed the
> >> app
> >> > would start, what is usually get with something like this
> >> >
> >> >
> >>
> ..........................................................................
> >>
> >> >   1.. var myParameters:XML = new XML();
> >> >   2.. myParametersignoreWhite = true;
> >> >   3.. myParameters.onLoad = function(success)
> >> >   4.. {
> >> >   5..     if ( success)
> >> >   6..    {
> >> >   7..        //  get the Paramenters from myParameters
> >> >   8..        //  begin reading other  XML files
> >> >   9..        // wait for them to succed
> >> >   10..        //  start app
> >> >   11..    }
> >> >   12.. };
> >> >   13.. myParameters.load("parameters.xml");
> >> > ....................................................................
> >> >
> >> > but I´m guessing how to do it in a clean way, because after some
> files
> >> it
> >> > gets messy and hard to read and mantain,
> >> >
> >> > how could I make each XML loading dispatch some special event after
> it
> >> > succed to the main app and only after all events of all files
> occurred
> >> it
> >> > would start it ??
> >> >
> >> > Should the main app be implemented as some kind of OBSERVER pattern
> >> where
> >> > it stays listening to these events ?
> >> >
> >> > João Carlos
> >> > Rio Brazil
> >> > _______________________________________________
> >> > Flashcoders@chattyfig.figleaf.com
> >> > To change your subscription options or search the archive:
> >> > http://chattyfig.figleaf.com/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
>



-- 
João Carlos


------------------------------

Message: 2
Date: Wed, 07 Jun 2006 12:29:48 -0400
From: Tony Watkins <[EMAIL PROTECTED]>
Subject: [Flashcoders] reposition MC on release
To: <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="US-ASCII"

OK, not sure I can explain this. The following code is inside the MC to be
repositioned. Notice the AS targets the button named contact.

    _root.contact.onRelease = function() {
        endX = -500;
        endY = -200;
    };
}

Fine. But what if I want to move the AS out of the actual MC and onto the
button named contact? How would I target the MC to be repositioned after on
(release)?


on (release) {
        something here I presume?
        endX = -500;
        endY = -200;
}


------------------------------

Message: 3
Date: Wed, 7 Jun 2006 13:41:06 -0300
From: jcanistrum <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] reposition MC on release
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

if I understand it correctly, one way would be to use attachMovie like

var myMC = this.attachMovie( "MC", "newName", this.getNextHighestDepth()) ;

myMC.onRelease = function()
{
       this.endX = -500;
       this.endY = -200;
}


2006/6/7, Tony Watkins <[EMAIL PROTECTED]>:
>
> OK, not sure I can explain this. The following code is inside the MC to be
> repositioned. Notice the AS targets the button named contact.
>
>    _root.contact.onRelease = function() {
>        endX = -500;
>        endY = -200;
>    };
> }
>
> Fine. But what if I want to move the AS out of the actual MC and onto the
> button named contact? How would I target the MC to be repositioned after
> on
> (release)?
>
>
> on (release) {
>        something here I presume?
>        endX = -500;
>        endY = -200;
> }
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



-- 
João Carlos


------------------------------

Message: 4
Date: Wed, 7 Jun 2006 12:46:11 -0400
From: "Jorge Antonio Diaz Gutierrez" <[EMAIL PROTECTED]>
Subject: [Flashcoders] Variable trace Problem
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="us-ascii"

Hi everyone. I have a Problem with this code and I've been testing it
for hours. I don't know much about Flash Develop. It tells everything's
right, but Macromedia Flash Pro 8 traces it Undeffined. Could anyone
tell me wath's the problem.

Thanks 


Private var contador:Number; 
public function Control (){
  contador=1;
  siguiente_btn.onPress = function (){
   if (this.contador<=this.cant)
   {      
    trace("siguiente");
    trace(this.contador);
    //this.cont++;
    }

  }
  atras_btn.onPress = function(){
   if (this.contador!=1)
   {
    this.cargaImagen(this.contador);
    this.cont--;
    trace("atras")
    }
   }
  } 



------------------------------

Message: 5
Date: Wed, 7 Jun 2006 11:51:14 -0500
From: "Mike Anderson" <[EMAIL PROTECTED]>
Subject: [Flashcoders] How to hide SWF Assets from Internet users
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="us-ascii"

Hello All,

I have an intense situation right now, and I must come up with an answer
ASAP.

I wrote a map viewer application for my client, in which my viewer can
load .swf Vector Maps from a predetermined directory on the server.
>From within my viewer, the users can perform drill-down queries, by
selecting contents of multiple dropdown boxes - State, Region, then Lake
Name.  Paid subscribers, have full access to their maps - but it's
imperative that they can ONLY view these maps from within the viewer
app.

Since the Flash Map Viewer, needs to retrieve these maps from the server
using a public URL (unless I am overlooking something), how can I hide
these maps from the world - if the outside users are able to figure out
which path to type into their browser, and snatch up maps?

I know that server-side scripts, can access local resources - like
"D:\Documents", etc. - but once the Map Viewer is running from a Remote
Browser, how can I bury these maps under some type of file system that
is not directly accessible by the outside world (but only through the
Map Viewer app)???

Also, once the user views a particular map, how can I prevent the
map.swf file from being Cached on their hard drive?

If any of you could help me out regarding this, I'd be very
appreciative.

Thanks,

Mike


------------------------------

Message: 6
Date: Wed, 7 Jun 2006 13:56:36 -0300
From: jcanistrum <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] Variable trace Problem
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

When you are using

 siguiente_btn.onPress = function (){
  if (  this.contador

this in this context is seguiente_btn and not your app

I think one solution could be to refer to siguiente_btn attaching from the
library, with something like

var contador: Number = 0 ;

var nextBtn = this.attachMovie( "myButtonLibrary", "siguiente_btn", level) ;

nextBtn.onRelease = function()
{
       trace( contador++ ) ;

}


2006/6/7, Jorge Antonio Diaz Gutierrez <[EMAIL PROTECTED]>:
>
> Hi everyone. I have a Problem with this code and I've been testing it
> for hours. I don't know much about Flash Develop. It tells everything's
> right, but Macromedia Flash Pro 8 traces it Undeffined. Could anyone
> tell me wath's the problem.
>
> Thanks
>
>
> Private var contador:Number;
> public function Control (){
> contador=1;
> siguiente_btn.onPress = function (){
>   if (this.contador<=this.cant)
>   {
>    trace("siguiente");
>    trace(this.contador);
>    //this.cont++;
>    }
>
> }
> atras_btn.onPress = function(){
>   if (this.contador!=1)
>   {
>    this.cargaImagen(this.contador);
>    this.cont--;
>    trace("atras")
>    }
>   }
> }
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



-- 
João Carlos


------------------------------

Message: 7
Date: Wed, 7 Jun 2006 10:02:24 -0700
From: "Rich Rodecker" <[EMAIL PROTECTED]>
Subject: [Flashcoders] anyone using mCom?
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

anyone out there have any experience with using the mCom component set
from Metalliq?  Just looking for some feedback...performance issues,
comparison with v2, wierdness, extending, etc.


------------------------------

Message: 8
Date: Wed, 7 Jun 2006 14:04:40 -0300
From: jcanistrum <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] How to hide SWF Assets from Internet users
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I think, not sure,  it is not possible to avoid having them cached.

I think you could use some kind of server side app ( asp, php, jsp ) to
retrieve the correct map name with loadvars or better with xml and the load
the map into your loader, so nobody could see the url where it comes from
....

and you could try to use sandbox security  to manage restrictions from
loading except from the samedomain


2006/6/7, Mike Anderson <[EMAIL PROTECTED]>:
>
> Hello All,
>
> I have an intense situation right now, and I must come up with an answer
> ASAP.
>
> I wrote a map viewer application for my client, in which my viewer can
> load .swf Vector Maps from a predetermined directory on the server.
> >From within my viewer, the users can perform drill-down queries, by
> selecting contents of multiple dropdown boxes - State, Region, then Lake
> Name.  Paid subscribers, have full access to their maps - but it's
> imperative that they can ONLY view these maps from within the viewer
> app.
>
> Since the Flash Map Viewer, needs to retrieve these maps from the server
> using a public URL (unless I am overlooking something), how can I hide
> these maps from the world - if the outside users are able to figure out
> which path to type into their browser, and snatch up maps?
>
> I know that server-side scripts, can access local resources - like
> "D:\Documents", etc. - but once the Map Viewer is running from a Remote
> Browser, how can I bury these maps under some type of file system that
> is not directly accessible by the outside world (but only through the
> Map Viewer app)???
>
> Also, once the user views a particular map, how can I prevent the
> map.swf file from being Cached on their hard drive?
>
> If any of you could help me out regarding this, I'd be very
> appreciative.
>
> 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
>



-- 
João Carlos


------------------------------

Message: 9
Date: Wed, 7 Jun 2006 12:04:47 -0500
From: "Geoffrey Holland" <[EMAIL PROTECTED]>
Subject: RE: [Flashcoders] How to hide SWF Assets from Internet users
To: "'Flashcoders mailing list'" <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="us-ascii"

As for the caching issue, here is a php script that I used on a recent site
that did the trick:

==========================================
<?php

$filename = $_GET['filename'];

header('Content-type: application/x-shockwave-flash');header("Expires: Thu,
01 Jan 1970 00:00:00 GMT, -1 ");
header("Cache-Control: no-cache, no-store, must-revalidate");
header("Pragma: no-cache");
$content = file_get_contents($filename);
echo$content;
?>
==========================================


Say this is movieloader.php;

So in your flash movie, when loading external assets, use 

myTarget.loadMovie("movieloader.php?filename=NameOfMovie.swf")

Im sure there are similar scripts in other server side languages that
perform the same function, just don't have em on hand.

-Geoff

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Anderson
Sent: Wednesday, June 07, 2006 11:51 AM
To: Flashcoders mailing list
Subject: [Flashcoders] How to hide SWF Assets from Internet users

Hello All,

I have an intense situation right now, and I must come up with an answer
ASAP.

I wrote a map viewer application for my client, in which my viewer can
load .swf Vector Maps from a predetermined directory on the server.
>From within my viewer, the users can perform drill-down queries, by
selecting contents of multiple dropdown boxes - State, Region, then Lake
Name.  Paid subscribers, have full access to their maps - but it's
imperative that they can ONLY view these maps from within the viewer
app.

Since the Flash Map Viewer, needs to retrieve these maps from the server
using a public URL (unless I am overlooking something), how can I hide
these maps from the world - if the outside users are able to figure out
which path to type into their browser, and snatch up maps?

I know that server-side scripts, can access local resources - like
"D:\Documents", etc. - but once the Map Viewer is running from a Remote
Browser, how can I bury these maps under some type of file system that
is not directly accessible by the outside world (but only through the
Map Viewer app)???

Also, once the user views a particular map, how can I prevent the
map.swf file from being Cached on their hard drive?

If any of you could help me out regarding this, I'd be very
appreciative.

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





------------------------------

Message: 10
Date: Wed, 7 Jun 2006 13:09:28 -0400
From: "Bieniasz, Myles" <[EMAIL PROTECTED]>
Subject: RE: [Flashcoders] How to hide SWF Assets from Internet users
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii

One way is to use the _url property, which will point to the .swf's
location on the file system, then just have each map check if it's
residing at the proper url.  If it is allow the map to be view and if
not don't display anything.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Anderson
Sent: Wednesday, June 07, 2006 12:51 PM
To: Flashcoders mailing list
Subject: [Flashcoders] How to hide SWF Assets from Internet users

Hello All,

I have an intense situation right now, and I must come up with an answer
ASAP.

I wrote a map viewer application for my client, in which my viewer can
load .swf Vector Maps from a predetermined directory on the server.
>From within my viewer, the users can perform drill-down queries, by
selecting contents of multiple dropdown boxes - State, Region, then Lake
Name.  Paid subscribers, have full access to their maps - but it's
imperative that they can ONLY view these maps from within the viewer
app.

Since the Flash Map Viewer, needs to retrieve these maps from the server
using a public URL (unless I am overlooking something), how can I hide
these maps from the world - if the outside users are able to figure out
which path to type into their browser, and snatch up maps?

I know that server-side scripts, can access local resources - like
"D:\Documents", etc. - but once the Map Viewer is running from a Remote
Browser, how can I bury these maps under some type of file system that
is not directly accessible by the outside world (but only through the
Map Viewer app)???

Also, once the user views a particular map, how can I prevent the
map.swf file from being Cached on their hard drive?

If any of you could help me out regarding this, I'd be very
appreciative.

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


************************
MLB.com: Where Baseball is Always On




------------------------------

Message: 11
Date: Wed, 7 Jun 2006 12:10:18 -0500
From: "Steve Polk" <[EMAIL PROTECTED]>
Subject: RE: [Flashcoders] anyone using mCom?
To: "'Flashcoders mailing list'" <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="US-ASCII"

The components themselves are great. They are lightweight, generally easy to
skin, and the API is very compatible with the v2 components that MM ships.

With that said; the company that acquired the set, Metaliq, does not appear
to be interested in documenting or supporting them. I have sent numerous
emails/tickets trying to get better documentation, but have not received a
reply yet on that issue. At one point, Grant Skinner said his people would
try to get them to update the documentation, but this has not happened yet.

Direct from their website you can see the last update was: September 1st,
2005 Version 1.0.124.

HTH,
Steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rich
Rodecker
Sent: Wednesday, June 07, 2006 12:02 PM
To: Flashcoders mailing list
Subject: [Flashcoders] anyone using mCom?

anyone out there have any experience with using the mCom component set
from Metalliq?  Just looking for some feedback...performance issues,
comparison with v2, wierdness, extending, etc.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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






------------------------------

Message: 12
Date: Wed, 7 Jun 2006 18:12:23 +0100
From: "Peter Hall" <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] Flash XML: Creating a CDATA text node?
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

escape() is for url encoding, which is not the same as xml encoding. Though
it would work ok, since all the relevent XML special chars would be also
escaped there.

Flash's XML object does not support <![CDATA[]]>. When you load XML
containing CDATA, it simply XML-encodes the contents.

If XML-encoding is enough for you, you can do it like this:

var rawText:String = "blah blah 1 < 2 & 2 > 1!";
var encodedText:XMLNode = new XMLNode(3, rawText);
myXML.firstChild.appendChild(encodedText);

Peter


On 6/6/06, Marlon Harrison <[EMAIL PROTECTED]> wrote:
>
> Is using the escape() function out of the question for your application?
>
> On 6/6/06, Ryan Matsikas <[EMAIL PROTECTED]> wrote:
> > The simple answer is: no.
> >
> > But you can build an XML string with CDATA and write the file or send it
> to
> > a server with CDATA tags in tact.
> >
> > On 6/6/06, Rifled Cloaca <[EMAIL PROTECTED]> wrote:
> > >
> > > Flashcoders,
> > >
> > > I know it's possible to read from a CDATA tag in Flash... but is it
> > > possible
> > > to create a CDATA text node via Actionscript?
> > >
> > > Thanks in advance,
> > > -g
> > > _______________________________________________
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/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
>


------------------------------

Message: 13
Date: Wed, 7 Jun 2006 14:16:19 -0300
From: jcanistrum <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] How to hide SWF Assets from Internet users
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8; format=flowed

and I found more in the manual about sandBox

sandboxType (security.sandboxType property)public static

sandboxType : String [read-only]

Indicates the type of security sandbox in which the calling SWF file is
operating.

System.security.sandboxType has one of the following values:

â- remote: This SWF file is from an Internet URL, and will operate under
domain-based sandbox rules.

â- localWithFile: This SWF file is a local file, and has not been trusted by
the user, and was not published with a networking designation. This SWF file
may read from local data sources, but may not communicate with the Internet.

â- localWithNetwork: This SWF file is a local file, and has not been trusted
by the user, and was published with a networking designation. This SWF may
communicate with the Internet, but may not read from local data sources.

â- localTrusted: This SWF file is a local file, and has been trusted by the
user, using either the Settings Manager or a FlashPlayerTrust configuration
file. This SWF file may both read from local data sources and communicate
with the Internet.


2006/6/7, Bieniasz, Myles <[EMAIL PROTECTED]>:
>
> One way is to use the _url property, which will point to the .swf's
> location on the file system, then just have each map check if it's
> residing at the proper url.  If it is allow the map to be view and if
> not don't display anything.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike
> Anderson
> Sent: Wednesday, June 07, 2006 12:51 PM
> To: Flashcoders mailing list
> Subject: [Flashcoders] How to hide SWF Assets from Internet users
>
> Hello All,
>
> I have an intense situation right now, and I must come up with an answer
> ASAP.
>
> I wrote a map viewer application for my client, in which my viewer can
> load .swf Vector Maps from a predetermined directory on the server.
> >From within my viewer, the users can perform drill-down queries, by
> selecting contents of multiple dropdown boxes - State, Region, then Lake
> Name.  Paid subscribers, have full access to their maps - but it's
> imperative that they can ONLY view these maps from within the viewer
> app.
>
> Since the Flash Map Viewer, needs to retrieve these maps from the server
> using a public URL (unless I am overlooking something), how can I hide
> these maps from the world - if the outside users are able to figure out
> which path to type into their browser, and snatch up maps?
>
> I know that server-side scripts, can access local resources - like
> "D:\Documents", etc. - but once the Map Viewer is running from a Remote
> Browser, how can I bury these maps under some type of file system that
> is not directly accessible by the outside world (but only through the
> Map Viewer app)???
>
> Also, once the user views a particular map, how can I prevent the
> map.swf file from being Cached on their hard drive?
>
> If any of you could help me out regarding this, I'd be very
> appreciative.
>
> 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
>
>
> ************************
> MLB.com: Where Baseball is Always On
>
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



-- 
João Carlos

------------------------------

Message: 14
Date: Wed, 7 Jun 2006 13:18:34 -0400
From: Sam <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] amfphp NetConnection.Connect.Failed
To: Flashcoders mailing list <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed

I surely can't be the only one experiencing this, could I?


------------------------------

Message: 15
Date: Wed, 7 Jun 2006 13:24:39 -0400
From: "Scott Hyndman" <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] How to hide SWF Assets from Internet users
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

You could hold the swfs in a database (or in some datastore only
accessible to the server), then serve out the swfs through Java or PHP
(or any other serverside language). Authenticate each map request with
a username / password in the query string. If you wanted to prevent
that username / password from being seen (by people watching the
line), use HTTPS.

On 6/7/06, Bieniasz, Myles <[EMAIL PROTECTED]> wrote:
> One way is to use the _url property, which will point to the .swf's
> location on the file system, then just have each map check if it's
> residing at the proper url.  If it is allow the map to be view and if
> not don't display anything.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike
> Anderson
> Sent: Wednesday, June 07, 2006 12:51 PM
> To: Flashcoders mailing list
> Subject: [Flashcoders] How to hide SWF Assets from Internet users
>
> Hello All,
>
> I have an intense situation right now, and I must come up with an answer
> ASAP.
>
> I wrote a map viewer application for my client, in which my viewer can
> load .swf Vector Maps from a predetermined directory on the server.
> >From within my viewer, the users can perform drill-down queries, by
> selecting contents of multiple dropdown boxes - State, Region, then Lake
> Name.  Paid subscribers, have full access to their maps - but it's
> imperative that they can ONLY view these maps from within the viewer
> app.
>
> Since the Flash Map Viewer, needs to retrieve these maps from the server
> using a public URL (unless I am overlooking something), how can I hide
> these maps from the world - if the outside users are able to figure out
> which path to type into their browser, and snatch up maps?
>
> I know that server-side scripts, can access local resources - like
> "D:\Documents", etc. - but once the Map Viewer is running from a Remote
> Browser, how can I bury these maps under some type of file system that
> is not directly accessible by the outside world (but only through the
> Map Viewer app)???
>
> Also, once the user views a particular map, how can I prevent the
> map.swf file from being Cached on their hard drive?
>
> If any of you could help me out regarding this, I'd be very
> appreciative.
>
> 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
>
>
> ************************
> MLB.com: Where Baseball is Always On
>
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


------------------------------

Message: 16
Date: Wed, 7 Jun 2006 10:47:17 -0700
From: "Rich Rodecker" <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] anyone using mCom?
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

yeah, theri sample app on the homepage has a note on the bottom that
says the app was built with eariler versions of the components, and
the set was being updated, but i didnt see anything on the site
regarding updates.



On 6/7/06, Steve Polk <[EMAIL PROTECTED]> wrote:
> The components themselves are great. They are lightweight, generally easy to
> skin, and the API is very compatible with the v2 components that MM ships.
>
> With that said; the company that acquired the set, Metaliq, does not appear
> to be interested in documenting or supporting them. I have sent numerous
> emails/tickets trying to get better documentation, but have not received a
> reply yet on that issue. At one point, Grant Skinner said his people would
> try to get them to update the documentation, but this has not happened yet.
>
> Direct from their website you can see the last update was: September 1st,
> 2005 Version 1.0.124.
>
> HTH,
> Steve
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Rich
> Rodecker
> Sent: Wednesday, June 07, 2006 12:02 PM
> To: Flashcoders mailing list
> Subject: [Flashcoders] anyone using mCom?
>
> anyone out there have any experience with using the mCom component set
> from Metalliq?  Just looking for some feedback...performance issues,
> comparison with v2, wierdness, extending, etc.
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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
>


------------------------------

Message: 17
Date: Wed, 7 Jun 2006 13:54:08 -0400
From: "Tom Lee" <[EMAIL PROTECTED]>
Subject: RE: [Flashcoders] How to hide SWF Assets from Internet users
To: "'Flashcoders mailing list'" <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="us-ascii"

This is a problematic area for sure.  It's technically impossible to
completely protect the data in a swf from being cached and decompiled.  If
you do use the _url property, it is entirely possible for someone to
decompile and rewrite the "viewer" swf to send back whatever they want
instead of the _url property.

With regard to the PHP script that was mentioned earlier: scripts like these
that prevent caching may not work the same across different browsers and
OS's.  Also, they can be defeated with other tools.  Essentially, if the
bytes can get to your machine, they can be captured.

You have to understand the level of risk involved and decide what lengths
you wish to go in order to protect your data.  It may be appropriate to use
one of the methods suggested already, or it may be that something more
robust is in order.  Since we're talking about maps, I would think that you
wouldn't need to go to great lengths to protect them (unless they are maps
to buried treasure!).

That said, Flash Player 9 will have the ability to load a swf over a socket
into a ByteArray and then display it with Loader.loadBytes.  This would be a
pretty bullet-proof way to prevent the swf from being cached, and make it
much more difficult to capture.  But, you may not want to wait for Player 9.

Present day, you could look at rendering the maps using the Drawing API -
then you'd just be passing coordinates instead of whole swfs.  But, that
would take significant effort, and it sounds like it's pretty late in the
game.

-tom

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bieniasz,
Myles
Sent: Wednesday, June 07, 2006 1:09 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] How to hide SWF Assets from Internet users

One way is to use the _url property, which will point to the .swf's
location on the file system, then just have each map check if it's
residing at the proper url.  If it is allow the map to be view and if
not don't display anything.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Anderson
Sent: Wednesday, June 07, 2006 12:51 PM
To: Flashcoders mailing list
Subject: [Flashcoders] How to hide SWF Assets from Internet users

Hello All,

I have an intense situation right now, and I must come up with an answer
ASAP.

I wrote a map viewer application for my client, in which my viewer can
load .swf Vector Maps from a predetermined directory on the server.
>From within my viewer, the users can perform drill-down queries, by
selecting contents of multiple dropdown boxes - State, Region, then Lake
Name.  Paid subscribers, have full access to their maps - but it's
imperative that they can ONLY view these maps from within the viewer
app.

Since the Flash Map Viewer, needs to retrieve these maps from the server
using a public URL (unless I am overlooking something), how can I hide
these maps from the world - if the outside users are able to figure out
which path to type into their browser, and snatch up maps?

I know that server-side scripts, can access local resources - like
"D:\Documents", etc. - but once the Map Viewer is running from a Remote
Browser, how can I bury these maps under some type of file system that
is not directly accessible by the outside world (but only through the
Map Viewer app)???

Also, once the user views a particular map, how can I prevent the
map.swf file from being Cached on their hard drive?

If any of you could help me out regarding this, I'd be very
appreciative.

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


************************
MLB.com: Where Baseball is Always On


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

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




------------------------------

Message: 18
Date: Wed, 7 Jun 2006 18:59:35 +0100
From: "mike cann" <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] reposition MC on release
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

i think he means sumthin like this:

inside your button:

on (release)
{
      _root.myMC.endX = -500;
      _root.myMC.endY = -200;
}

assuming myMC is the movieclip you are talking about

On 07/06/06, jcanistrum <[EMAIL PROTECTED]> wrote:
>
> if I understand it correctly, one way would be to use attachMovie like
>
> var myMC = this.attachMovie( "MC", "newName", this.getNextHighestDepth())
> ;
>
> myMC.onRelease = function()
> {
>        this.endX = -500;
>        this.endY = -200;
> }
>
>
> 2006/6/7, Tony Watkins <[EMAIL PROTECTED]>:
> >
> > OK, not sure I can explain this. The following code is inside the MC to
> be
> > repositioned. Notice the AS targets the button named contact.
> >
> >    _root.contact.onRelease = function() {
> >        endX = -500;
> >        endY = -200;
> >    };
> > }
> >
> > Fine. But what if I want to move the AS out of the actual MC and onto
> the
> > button named contact? How would I target the MC to be repositioned after
> > on
> > (release)?
> >
> >
> > on (release) {
> >        something here I presume?
> >        endX = -500;
> >        endY = -200;
> > }
> > _______________________________________________
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
>
> --
> João Carlos
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


------------------------------

Message: 19
Date: Wed, 7 Jun 2006 14:01:25 -0400 
From: "Gresh, Lois" <[EMAIL PROTECTED]>
Subject: RE: [Flashcoders] remove haloGreen - haloBlue- haloOrange
To: 'Flashcoders mailing list' <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
        
Content-Type: text/plain;       charset="iso-8859-1"


Well, I can make the themeColor for the radios white or black or whatever,
but still, how do I completely remove the themeColor so it is transparent?
Anyone know something about how to do this?  Much appreciated, if so.




-----Original Message-----
From: Gresh, Lois [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 11:40 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] remove haloGreen - haloBlue- haloOrange


Does anyone know of a quick way to disable (completely remove) the
themeColor of a radio button component?  The selected radio button deposits
a green circle (I believe due to themeColor, such as haloGreen/etc) in
subsequent frames.  I need to get rid of the green circle residues. Help
appreciated - 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

End of Flashcoders Digest, Vol 17, Issue 25
*******************************************
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

Reply via email to