Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Honorary 'Adroit' Mechanic
Picture of BruceM
Posted
Hi,

The Events - Formulas aspect of WebEngine intrigue me somewhat especially, as always, it might minimise the maintenance of what I'm building at present. I've not got my mind around it all yet - but nevertheless a question. .

Given that an object may have a numeric value which can be altered and used as a trigger (that correct??) is there a supported method for targeting an object from outside of the current window and consequently changing it's value from another process?
ie much the same way you might target a js function to a particular window with the 'target=' attribute I wondered if we can go one step further and target a WebEngine object within a window?
At a trivial level this might involve an object on one WebEngine built page triggering an object on another WebEngine built page (both pages being part of the same project).


-Bruce
 
Posts: 302 | Location: London - UK | Registered: May 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Harpo
Posted Hide Post
Hi Bruce,

There is no support for that right now. Web engine currently considers each page as a separate scene. But it is an interesting thought an we will keep it in mind as we go forward.

Cheers,
Harpo
 
Posts: 3215 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
D_L
Honorary Mechanic
Picture of D_L
Posted Hide Post
BruceM ..

I have successfully used the (Flash) techniques demonstrated here ... Hawaii Map demo .. but so far for Flash objects only ..

possibly the same techniques could be applied to control of SVG objects in different frames??

the trick is to build the Flash objects in different frames (separate objects in different frames in an HTML frameset) .. then intercommunicate between frame objects using javascript.

DL
 
Posts: 415 | Location: U.K. | Registered: July 06, 2003Reply With QuoteEdit or Delete MessageReport This Post
Honorary 'Adroit' Mechanic
Picture of BruceM
Posted Hide Post
Hi DL,

Thanks for the input. I guess I was hoping there would be an integrated DOM type of solution - something along the lines of

window.document.images.obj1.value=6

I can live without it for now though.

-Bruce
 
Posts: 302 | Location: London - UK | Registered: May 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
D_L
Honorary Mechanic
Picture of D_L
Posted Hide Post
like this .. SVG DOM model .. ?

but not integrated .. needs some javascripting.

DL
 
Posts: 415 | Location: U.K. | Registered: July 06, 2003Reply With QuoteEdit or Delete MessageReport This Post
Honorary 'Adroit' Mechanic
Picture of BruceM
Posted Hide Post
In principal, though the SVG element is of limited interest to me at the moment - until SVG is standard within the browser (ie no plugin required) I'll not be using it for production work.
 
Posts: 302 | Location: London - UK | Registered: May 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Harpo
Posted Hide Post
Engine does use consistent ID values so you can in theory code any object you want using script and the HTML DOM.

Of course it is up to you to steer clear of conflicts with the engine if you do add you own code. Object IDs use 'O' plus the object name, Geometries use 'G' plus the name etc. So, Obj1, Ggeo1, etc. See the HTML source code for more detail.
 
Posts: 3215 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.