Re: [Flashcoders] Local Connection / Intel Mac bug??

2007-05-18 Thread Alan Queen

confirmed.. same issue here..

I found it trying to get a mProjector exe with embedded universal
plugin to talk to a director app which obviously uses the rosetta
emulation..

On 5/17/07, Andy Herrman <[EMAIL PROTECTED]> wrote:

Is your situation the same as Jeff's?  Specifically, is one SWF
running in Flash 9 natively and the other running in Flash 8 through
Rosetta?  If so then I doubt they would be able to connect via local
connection.

My understanding of how Local Connection works is that it uses shared
memory (though I could be wrong).  This is something that probably
can't be done between something running natively and something running
through Rosetta, as they would effectively have completely different
environments.  It would be similar to running one flash movie in
windows, then running another one inside another windows running in a
Virtual PC instance and expecting them to talk to each other with
local connection.  True, they're running on the same machine, but
their environments are segregated.

If both your movies are running in the same environment then I don't
know why it wouldn't work.

 -Andy

On 5/16/07, Adam Hoyle <[EMAIL PROTECTED]> wrote:
> Hi Jeff,
>
> Thanks for responding. Glad for sanity reasons to know that I am not
> the only person experiencing this.
>
> Adam
>
> On 16 May 2007, at 14:39, Jeff Gomes wrote:
>
> >
> > Adam-
> >
> > When one process is running natively (with Flash 9 universal binary
> > player) and the other is running under emulation (with a Flash 8
> > projector or the Director Flash Asset Xtra), I cannot get it to
> > work either.
> >
> > -Jeff
> >
> > At 05:00 5/16/2007, Adam Hoyle wrote:
> >> Hi Flash Coders
> >>
> >> I am having a problem with local connection communication between an
> >> exe and a website, but only on INTEL macs.
> >>
> >> I have the underscore before the name, but the messages aren't
> >> getting through (they do on windows and g4 mac). Interestingly
> >> (frustratingly) the second thing to connect to lco doesn't get any
> >> onStatus message called either. I have tried removing the underscore
> >> and appending the domain and a colon to the beginning, but that also
> >> fails on intel mac, but works on windows and g4 mac.
> >>
> >> Has anyone else come across this bug, or more to the point has anyone
> >> got an exe and a swf on a website to talk to one another on an intel
> >> mac (g4 works fine, so it's specific to intel macs)? I've noticed
> >> that the Luminic Box tracer doesn't work on Intel Macs either,
> >> haven't checked xray.
> >>
> >> Any help/suggestions would be gratefully received,
> >>
> >> Cheers,
> >>
> >> Adam
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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


Re: [Flashcoders] displaying < in html text field

2006-11-15 Thread Alan Queen

thanks all.. I should have know that after all this time ;)

On 11/15/06, Adrian Ionut Beschea <[EMAIL PROTECTED]> wrote:

so...

You need to use :
var text:String = '1 < 2'
this.tfTest.htmlText = text;

<  stands for <
>  stands for >




Adrian Ionut Beschea <[EMAIL PROTECTED]> wrote: You need to use :
var text:String = '1 < 2'
this.tfTest.htmlText = text;

< stands for <
> stands for >




Alan Queen  wrote: I have a textfield with html turned on.

There is a case where I need to actually show a less than (<) sign in
the text field itself...  but assigning it dynamically just hides
anything after the <...

any ideas?


example:
var text:String = "1 < 2";
this.tfTest.htmlText = text;

this will only display "1"
--
- Alan Queen
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



-
Sponsored Link

Mortgage rates near 39yr lows. $310,000 Mortgage for $999/mo -  Calculate new 
house payment
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



-
Sponsored Link

Mortgage rates near 39yr lows. $420,000 Mortgage for $1,399/mo - Calculate new 
house payment
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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


[Flashcoders] displaying < in html text field

2006-11-14 Thread Alan Queen

I have a textfield with html turned on.

There is a case where I need to actually show a less than (<) sign in
the text field itself...  but assigning it dynamically just hides
anything after the <...

any ideas?


example:
var text:String = "1 < 2";
this.tfTest.htmlText = text;

this will only display "1"
--
- Alan Queen
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Prevent loaded clip from calling Stage.addListener?

2006-09-25 Thread Alan Queen

I'm loading an external swf at runtime from a different domain,
and the loaded swf is doing some resizing when the Stage is resized..

I'm trying to prevent the loaded swf from doing this... is there a way?

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

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


Re: [Flashcoders] allownetworking?

2006-07-14 Thread Alan Queen

Restricts browser communication. This property affects more APIs than
the allowScriptAccess property.

The allowNetworking property supports the following values:

all: No networking restrictions. Flash Player behaves normally. This
is the default.
internal: SWF files cannot call browser navigation or browser
interaction APIs (such as the ExternalInterface.call(), fscommand(),
and navigateToURL() methods), but can call other networking APIs.
none: SWF files cannot call networking or SWF-to-SWF file
communication APIs. In addition to the APIs restricted by the internal
value, these include other methods such as URLLoader.load(),
Security.loadPolicyFile(), and SharedObject.getLocal().
For more information, see Programming ActionScript 3.0.

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1002.html

On 7/12/06, Rajat Paharia <[EMAIL PROTECTED]> wrote:

MySpace has recently started writing this into all Flash embeds:
allownetworking="internal"
Google searching doesn't turn up much, is there documentation on this
somewhere?

thanks, - rajat
--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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


[Flashcoders] base param and reload on IE

2006-06-21 Thread Alan Queen

Has anyone else seen this?

We are seeing an issue related to using the BASE attribute where the .swf is
served from a different sub domain than the html page hosting it..

I have used this time and time again without fail...

works great when you first hit the page, but if you use IE and simply hit
reload on the page, it totally disregards the BASE attribute...

We are using lighttpd on linux to serve the content.

It doesnt happen on windoze and mozilla works every time.. only IE has this
problem..



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

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


[Flashcoders] disable all actions in a loaded clip?

2006-05-22 Thread Alan Queen

Is there a way to load in a clip and then disable ALL actions inside the one
clip?

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

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


Re: [Flashcoders] Testing LocalConnection from a server in the IDE

2006-03-29 Thread Alan Queen
forgive me if this is implied, but there's always been alot of
misunderstanding about LocalConnection..

LocalConnection is not used to send messages from one machine to
another. It's meant to send messages between 2 or more swf files on
the same machine whether in browser or .exe

again, don't kill me if that's not what you were referring too ;)

On 3/29/06, Rajat Paharia <[EMAIL PROTECTED]> wrote:
> Hi Mani -
>
> Have you prefixed your localConnectionID with an underscore?
> Try "_id" as opposed to "id".
>
> The other gotcha is just to make sure there aren't two instances of the
> receiving swf running (as often is the case when using one of the SWF2EXE
> tools), since one will capture all the messages and the other will show
> nothing.
>
> best, - rajat
>
> On 3/29/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote:
> >
> > I have a swf that is sending to a LocalConnection and it works fine when
> > they are both operating locally but when I place the sending swf to the
> > server it stops working- this is despite the fact that I have tried
> > placing
> > an allowDomain in the receiving swf.  I am using Flash 8 as my authoring
> > environment.
> >
> > What other issues should I troubleshoot when dealing with a
> > LocalConnection
> > behaving this way?
> >
> > Thanks,
> > Mani
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
>
> --
> Rajat Paharia
> [EMAIL PROTECTED]
> http://www.bunchball.com
> http://www.rootburn.com
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>


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

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


[Flashcoders] proportional image/clip scaling

2006-03-20 Thread Alan Queen
anybody have the math handy to proportionally scale one clip to another?

Meaning, let's say I load in an image that is 100w - 300h.

and I want to display it in an area that is 320w - 240h.

So I want to scale the original image clip to fit within the display
area, but show the entire image.

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

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


Re: [Flashcoders] How does goowy do it? (HTML in Flash)

2006-03-04 Thread Alan Queen
goowy is a desktop app right?

So they are probly using something like swfstudio or one of the other ones..

They all let you embed a browser inside the app..

-aq


On 3/4/06, David Mendels <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I think they might be using a variation on this idea (but I am not
> sure): http://coenraets.com/viewarticle.jsp?articleId=95
>
> _David
> Adobe
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf
> > Of Ramon Miguel M. Tayag
> > Sent: Saturday, March 04, 2006 12:16 AM
> > To: FlashCoders Programming
> > Subject: [Flashcoders] How does goowy do it? (HTML in Flash)
> >
> > How do you put an HTML window within the Flash movie?  I
> > thought it might be superimposed... but I'm not sure.
> >
> > --
> > Ramon Miguel M. Tayag
> > Managing Director
> > Quirkworks
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



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

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


Re: [Flashcoders] way to get window.location from flash?

2006-03-01 Thread Alan Queen
actually just tried it and you are right..

they (myspace) replaces my scriptAccess tags with "never"
( amongst other things )

arg...

rajat, do you guys have a way of knowing where all your games are posted?
on which sites/blogs I mean?

btw, bunchball is very, very cool stuff..

-aq


On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote:
>
>  great question..
>
> my solution
>  var host:String = String(ExternalInterface.call("eval", "
> window.location.host"));
>
>  only works when:
>
> [ie] the id, classId and scriptAccess are included and scriptAccess is set
> to always
> [mozilla] scriptAccess = "always"
>
> are you saying that myspace will overwrite what I put in?
>
> I will try this out on myspace tommorrow and report back...
>
> -aq
>
>  On 3/1/06, Rajat Paharia <[EMAIL PROTECTED]> wrote:
> >
> > Just a quick question - do these calls to javascript work when the embed
> > tag
> > has disabled script access? For instance, whenever you put a Flash movie
> >
> > into a page at MySpace, they always set AllowScriptAccess to "never".
> >
> > thanks, - rajat
> >
> > On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote:
> > >
> > > fyi, I got this to work in both ie and mozilla..
> > > var host:String = String(ExternalInterface.call("eval", "
> > > window.location.host"));
> > >
> > > requires flash 8..
> > >
> > > my goal here was to simply return the host name where the webpage is
> > > running
> > > without requiring any javascript on the page..
> > >
> > >
> > >
> > > On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote:
> > > >
> > > >  Hey Geoffrey,
> > > >
> > > > This works great in IE! thx..
> > > >
> > > > but doesnt in mozilla, u know of a work around for it in mozilla?
> > > >
> > > > -aq
> > > >
> > > >
> > > >  On 3/1/06, Geoffrey Williams < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > If you want the URL of the page (not the SWF), you can try
> > something
> > > > > like:
> > > > >
> > > > > getURL
> > > > > ('javascript:document.getElementById
> > > ("object_id").setVariable("url_string",
> > > > > window.location.href); void (0);');
> > > > >
> > > > > -Original Message-
> > > > > From: [EMAIL PROTECTED]
> > > > > [mailto: [EMAIL PROTECTED] On Behalf Of
> > Bart
> > > > > Wttewaall
> > > > > Sent: Wednesday, March 01, 2006 2:11 PM
> > > > > To: Flashcoders mailing list
> > > > > Subject: Re: [Flashcoders] way to get window.location from flash?
> > > > >
> > > > > trace(_root._url)
> > > > >
> > > > > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>:
> > > > > > Is there a way get the window's location ( url ) from flash
> > without
> > > > > embedded
> > > > > > a javascript helper function on the page?
> > > > > >
> > > > > > --
> > > > > > - Alan Queen
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ___
> > > > > Flashcoders@chattyfig.figleaf.com
> > > > > To change your subscription options or search the archive:
> > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > > >
> > > > > Brought to you by Fig Leaf Software
> > > > > Premier Authorized Adobe Consulting and Training
> > > > > http://www.figleaf.com
> > > > > http://training.figleaf.com
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > - Alan Queen
> > > >
> > >
> > >
> > >
> > > --
> > > - Alan Queen
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> > >
> >
> >
> >
> > --
> > Rajat Paharia
> > [EMAIL PROTECTED]
> > http://www.bunchball.com
> > http://www.rootburn.com
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> >
>
>
> --
> - Alan Queen
>



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

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


Re: [Flashcoders] way to get window.location from flash?

2006-03-01 Thread Alan Queen
great question..

my solution
var host:String = String(ExternalInterface.call("eval", "
window.location.host"));

only works when:

[ie] the id, classId and scriptAccess are included and scriptAccess is set
to always
[mozilla] scriptAccess = "always"

are you saying that myspace will overwrite what I put in?

I will try this out on myspace tommorrow and report back...

-aq

On 3/1/06, Rajat Paharia <[EMAIL PROTECTED]> wrote:
>
> Just a quick question - do these calls to javascript work when the embed
> tag
> has disabled script access? For instance, whenever you put a Flash movie
> into a page at MySpace, they always set AllowScriptAccess to "never".
>
> thanks, - rajat
>
> On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote:
> >
> > fyi, I got this to work in both ie and mozilla..
> > var host:String = String(ExternalInterface.call("eval", "
> > window.location.host"));
> >
> > requires flash 8..
> >
> > my goal here was to simply return the host name where the webpage is
> > running
> > without requiring any javascript on the page..
> >
> >
> >
> > On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote:
> > >
> > >  Hey Geoffrey,
> > >
> > > This works great in IE! thx..
> > >
> > > but doesnt in mozilla, u know of a work around for it in mozilla?
> > >
> > > -aq
> > >
> > >
> > >  On 3/1/06, Geoffrey Williams <[EMAIL PROTECTED]> wrote:
> > > >
> > > > If you want the URL of the page (not the SWF), you can try something
> > > > like:
> > > >
> > > > getURL
> > > > ('javascript:document.getElementById
> > ("object_id").setVariable("url_string",
> > > > window.location.href); void (0);');
> > > >
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] On Behalf Of Bart
> > > > Wttewaall
> > > > Sent: Wednesday, March 01, 2006 2:11 PM
> > > > To: Flashcoders mailing list
> > > > Subject: Re: [Flashcoders] way to get window.location from flash?
> > > >
> > > > trace(_root._url)
> > > >
> > > > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>:
> > > > > Is there a way get the window's location ( url ) from flash
> without
> > > > embedded
> > > > > a javascript helper function on the page?
> > > > >
> > > > > --
> > > > > - Alan Queen
> > > >
> > > >
> > > >
> > > >
> > > > ___
> > > > Flashcoders@chattyfig.figleaf.com
> > > > To change your subscription options or search the archive:
> > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > >
> > > > Brought to you by Fig Leaf Software
> > > > Premier Authorized Adobe Consulting and Training
> > > > http://www.figleaf.com
> > > > http://training.figleaf.com
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > - Alan Queen
> > >
> >
> >
> >
> > --
> > - Alan Queen
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
>
> --
> Rajat Paharia
> [EMAIL PROTECTED]
> http://www.bunchball.com
> http://www.rootburn.com
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>


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

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


Re: [Flashcoders] way to get window.location from flash?

2006-03-01 Thread Alan Queen
fyi, I got this to work in both ie and mozilla..
var host:String = String(ExternalInterface.call("eval", "
window.location.host"));

requires flash 8..

my goal here was to simply return the host name where the webpage is running
without requiring any javascript on the page..



On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote:
>
>  Hey Geoffrey,
>
> This works great in IE! thx..
>
> but doesnt in mozilla, u know of a work around for it in mozilla?
>
> -aq
>
>
>  On 3/1/06, Geoffrey Williams <[EMAIL PROTECTED]> wrote:
> >
> > If you want the URL of the page (not the SWF), you can try something
> > like:
> >
> > getURL
> > ('javascript:document.getElementById("object_id").setVariable("url_string",
> > window.location.href); void (0);');
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Bart
> > Wttewaall
> > Sent: Wednesday, March 01, 2006 2:11 PM
> > To: Flashcoders mailing list
> > Subject: Re: [Flashcoders] way to get window.location from flash?
> >
> > trace(_root._url)
> >
> > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>:
> > > Is there a way get the window's location ( url ) from flash without
> > embedded
> > > a javascript helper function on the page?
> > >
> > > --
> > > - Alan Queen
> >
> >
> >
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
>
> --
>
> - Alan Queen
>



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

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


Re: [Flashcoders] way to get window.location from flash?

2006-03-01 Thread Alan Queen
Hey Geoffrey,

This works great in IE! thx..

but doesnt in mozilla, u know of a work around for it in mozilla?

-aq


On 3/1/06, Geoffrey Williams <[EMAIL PROTECTED]> wrote:
>
> If you want the URL of the page (not the SWF), you can try something like:
>
> getURL
> ('javascript:document.getElementById
> ("object_id").setVariable("url_string",
> window.location.href); void (0);');
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Bart
> Wttewaall
> Sent: Wednesday, March 01, 2006 2:11 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] way to get window.location from flash?
>
> trace(_root._url)
>
> 2006/3/1, Alan Queen <[EMAIL PROTECTED]>:
> > Is there a way get the window's location ( url ) from flash without
> embedded
> > a javascript helper function on the page?
> >
> > --
> > - Alan Queen
>
>
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



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

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


Re: [Flashcoders] way to get window.location from flash?

2006-03-01 Thread Alan Queen
thx, but i'm actually looking for the url in the browser not the url of the
flash movie itself..

in otherwords if the browser's url is:

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

and the flash file is embedded from:

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

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





On 3/1/06, Bart Wttewaall <[EMAIL PROTECTED]> wrote:
>
> crap.. I meant:
> trace(_root._url)
>
> 2006/3/1, Bart Wttewaall <[EMAIL PROTECTED]>:
> > trace(_root.url)
> >
> > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>:
> > > Is there a way get the window's location ( url ) from flash without
> embedded
> > > a javascript helper function on the page?
> > >
> > > --
> > > - Alan Queen
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> > >
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



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

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


[Flashcoders] way to get window.location from flash?

2006-03-01 Thread Alan Queen
Is there a way get the window's location ( url ) from flash without embedded
a javascript helper function on the page?

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

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


[Flashcoders] String object utf-8?

2006-01-06 Thread Alan Queen
Does anyone know this?

When creating a new String object is the encoding alwasy utf-8 by default?

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


[Flashcoders] phone conferencing

2005-12-28 Thread Alan Queen
Folks,

Does anyone know of a technology, a hack, a company, etc that can get
telephony conferencing working in Flash?

I'm not talking about using the FMS server..

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


Re: [Flashcoders] jsfl and xml

2005-11-08 Thread Alan Queen
ok i got it now.. makes more sense anyway.. so i can have a ui to choose the
xml file, then let flash parse it and execute jsfl commands using
MMExecute...


 On 11/8/05, Danny Kodicek <[EMAIL PROTECTED]> wrote:
>
> >Can you guys elaborate on that one?
>
> We're talking about creating a separate window which is opened by Flash as
> an interface and talks to your JSFL functions. Check out the Sample Trace
> Bitmap panel in the Flash help as a starting point.
>
> Danny
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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


Re: [Flashcoders] jsfl and xml

2005-11-08 Thread Alan Queen
Can you guys elaborate on that one?
 Maybe an example somewhere?

 On 11/8/05, Danny Kodicek <[EMAIL PROTECTED]> wrote:
>
> >Can't you use a flash panel to parse it for you then execute the JSFL
> based on that?
>
> Ah - that makes sense. I knew there was some value in those windows! :)
>
> Danny
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



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


[Flashcoders] jsfl and xml

2005-11-08 Thread Alan Queen
Is there a way to read in xml using jsfl?
 I'm trying to build a fla from an xml file using jsfl, and I just realized
I can't create an xml object with it..
am I missing something?

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