stage within a stage

0 views
Skip to first unread message

arya

unread,
Nov 10, 2009, 2:47:50 PM11/10/09
to PulpCore
Hi David,

If I wanted to run a pulpcore applet within another surrounding
pulpcore applet (assuming I have the source for both), what would be
the least painful way(s) to do that?

Thanks,
Arya

Aric Holland

unread,
Nov 10, 2009, 3:11:21 PM11/10/09
to pulp...@googlegroups.com
<applet code="applet1.class"></applet><BR /><BR /><applet code="applet2.class"></applet>

The code for if you want to run the apps on a webpage simultaneously. Hope that helps.

arya

unread,
Nov 10, 2009, 5:55:50 PM11/10/09
to PulpCore
Thanks for that Aric.

I'm actually trying to do something more like a VM; take a pulpcore
Scene (A), and with minimal modification, make it a subcomponent in
another scene (B). I don't mind there being a few restrictions on
which calls I can make from scene A. Statically bound calls like
Stage.getWidth( ) might be a problem, for example, unless there's an
easy search/replace fix.

Thanks for any suggestions.
-Arya

On Nov 10, 3:11 pm, Aric Holland <aricholland2...@gmail.com> wrote:
> <applet code="applet1.class"></applet><BR /><BR /><applet
> code="applet2.class"></applet>
>
> The code for if you want to run the apps on a webpage simultaneously. Hope
> that helps.
>

David Brackeen

unread,
Nov 11, 2009, 12:13:59 PM11/11/09
to pulp...@googlegroups.com
There's only one Scene at a time, and there's no plans to change that.
For a subcomponent, make it use Group instead of Scene.
Reply all
Reply to author
Forward
0 new messages