[Xerte] JumpFile question

Dave Burnett d_b_burnett at hotmail.com
Thu Feb 25 11:45:48 GMT 2010



No joy.

If I insert the property via interface:

debug(_level0.engine.STYLES.styleSheet);

gives me the correct path to the .css

If I delete that prop and try to load it the same debug is undefined.

Tried a few variations, but no luck. 


----------------------------------------
> Subject: RE: [Xerte] JumpFile question
> Date: Thu, 25 Feb 2010 10:23:39 +0000
> From: Julian.Tenney at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
>
> There is no LO. If you want to load a new CSS, I think this might work:
>
> engine.css = new TextField.StyleSheet();
> engine.css.load(url);
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
> Sent: Wednesday, February 24, 2010 3:18 PM
> To: Xerte list
> Subject: RE: [Xerte] JumpFile question
>
>
>
> Thanks J.
>
> I suppose I should just try it.
> I'm just looking for as seemless as practical transitions .rlo to .rlo.
> I suppose I'm going to get the loading screen no matter what (unless I diddle the engine itself).
>
> While you're here, how do I target LO?
>
> I'm trying to dynamically set the location of a .css.
> (But I suppose if I use the method you outlined below, it's moot anyway.)
>
> Cheers
>
>
>
>
>
>
>
>
> ----------------------------------------
>> Subject: RE: [Xerte] JumpFile question
>> Date: Wed, 24 Feb 2010 15:01:02 +0000
>> From: Julian.Tenney at nottingham.ac.uk
>> To: xerte at lists.nottingham.ac.uk
>>
>> You need to be a bit careful - not sure I'd recommend it.
>>
>> You're talking about loading up one .rlo file, running it for a while,
>> then loading another one?
>>
>> The problem is cleaning up between the jumps as all the variables you
>> create in your piece will still exist on _level0.engine. If your piece
>> initialisies all it's variables you might be OK, but I think it's easier
>> to jump from window to window passing any data on the url and reloading
>> the movie afresh.
>>
>> It's quite easy to create the html file that takes the rlo file off the
>> search string and then load it, so you have just one
>> index.htm?rloFile=blah.rlo, and you should be able to jump between files
>> by passing a new filename into the page this way. I did a big project a
>> while ago that worked like that - then you can have folders under the
>> root folder for each rlo, all the swfs, engine, preloader, htm, scripts
>> etc live in the root folder.
>>
>> -----Original Message-----
>> From: xerte-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
>> Sent: Wednesday, February 24, 2010 1:45 PM
>> To: Xerte list
>> Subject: [Xerte] JumpFile question
>>
>>
>> Can I re-use the XMLEngine.swf a la AW?
>> Or does it open more holes than it's worth?
>>
>> I'm thinking router in root with modules in folders.
>> Router loads up, FileLocation is root, and I jumpFile to a folder
>> knowing I have to prepend that folder name to the FL variable in order
>> to get a "local" FL.
>>
>>
>> _________________________________________________________________
>> Hotmail: Powerful Free email with security by Microsoft.
>> http://clk.atdmt.com/GBL/go/201469230/direct/01/________________________
>> _______________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> _________________________________________________________________
> Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
> http://clk.atdmt.com/GBL/go/201469229/direct/01/_______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
 		 	   		  
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/


More information about the Xerte mailing list