the _root. problem...
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > the _root. problem...




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    the _root. problem...  
Sean Moran


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-05 07: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






[ Post a follow-up to this message ]



    RE: the _root. problem...  
Stefan Richter


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-05 07: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






[ Post a follow-up to this message ]



    RE: the _root. problem...  
acolpitts-lrT4F1HGyz9Wk0Htik3J/w@public.gmane.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-10-05 01:45 AM

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.gman
e.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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:16 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register