|
Home > Archive > Macromedia Flash Server > August 2005 > the _root. problem...
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
the _root. problem...
|
|
| Sean Moran 2005-08-05, 2:45 am |
| I have read over Peldi's blog entry "A new AS best practice: be
prepared to be loadMovie'd!" and I am not prepared ;)
I am struggling with this in a videoplayer. The player is database
driven, and the parameters for the path, client, video etc come from
mysql. So a php call retrurns initial data that is sent to the swf
which then gets the actual video details from mysql through PHPObject
remoting. All works great, except when 2 months later the client
decides to build a flash interface around the player. Out goes the
preloader, and broken is the video due to those _root. variables
being set.
Anyone have some advice on handling this? The loadMovie call will
have to include the necessary variables like client_id, category, and
media_id. Is this even possible in loadMovie, across domains?
Thanks,
Sean
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Stefan Richter 2005-08-05, 2:45 am |
| Couldn't you just set the necessary variables on the loaded movie once it's
loaded?
Stefan
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Sean Moran
Sent: Friday, August 05, 2005 4:52 AM
To: FlashComm Mailing List
Subject: [FlashComm] the _root. problem...
I have read over Peldi's blog entry "A new AS best practice: be prepared to
be loadMovie'd!" and I am not prepared ;)
I am struggling with this in a videoplayer. The player is database driven,
and the parameters for the path, client, video etc come from mysql. So a php
call retrurns initial data that is sent to the swf which then gets the
actual video details from mysql through PHPObject remoting. All works great,
except when 2 months later the client decides to build a flash interface
around the player. Out goes the preloader, and broken is the video due to
those _root. variables being set.
Anyone have some advice on handling this? The loadMovie call will have to
include the necessary variables like client_id, category, and media_id. Is
this even possible in loadMovie, across domains?
Thanks,
Sean
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| acolpitts-lrT4F1HGyz9Wk0Htik3J/w@public.gmane. 2005-08-09, 8:45 pm |
| Not sure about which variables are loosing scope.... If you want to leave
the logic inside the movie that is getting loaded maybe this will help...
this._lockroot = true;
hope this helps
AC
flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org wrote on 08/05/2005 04:33:44 AM:
> Couldn't you just set the necessary variables on the loaded movie once
it's
> loaded?
>
> Stefan
>
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Sean Moran
> Sent: Friday, August 05, 2005 4:52 AM
> To: FlashComm Mailing List
> Subject: [FlashComm] the _root. problem...
>
> I have read over Peldi's blog entry "A new AS best practice: be prepared
to
> be loadMovie'd!" and I am not prepared ;)
>
> I am struggling with this in a videoplayer. The player is database
driven,
> and the parameters for the path, client, video etc come from mysql. So a
php
> call retrurns initial data that is sent to the swf which then gets the
> actual video details from mysql through PHPObject remoting. All works
great,
> except when 2 months later the client decides to build a flash interface
> around the player. Out goes the preloader, and broken is the video due
to
> those _root. variables being set.
>
> Anyone have some advice on handling this? The loadMovie call will have
to
> include the necessary variables like client_id, category, and media_id.
Is
> this even possible in loadMovie, across domains?
>
> Thanks,
>
> Sean
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|
|
|
|
|