Hi there:
I've prototyped a simple application in Flash, which I have more
experience with. This is one of my first attempts to do something
with REALbasic, so I'm not the most experienced with its 'paradigm'.
I'm hoping someone can just give me a strategic jumpstart here.
I need to draw some rectangles with text inside them to the screen,
and allow the user to drag them around and arrange them how they want.
Simple enough.
It seems you can't subclass a control, and then instantiate it with
code. Is this true? (I tried subclassing the 'Placard' class, which
would seem to be sort of what I want, except that I have no way of
knowing how many placards will need to be displayed. The IDE
complains that I can't "dynamically create controls from classes")
OK, so can I just either draw a vector shape, or a normal graphics
shape, and then assign it mouse events (i.e., make it respond to
MouseDown and MouseDrag)?
Or, should I be doing this inside a "SpriteSurface", with sprites?
Thing is, I'm not sure exactly how a SpriteSurface responds to mouse
events.
I'll figure out the ins and outs of the code myself looking at the
docs and examples; I just need a jumpstart in the right strategic
direction. How would you go about accomplishing this?
Thanks,
--
__________________________________________________
Marc Antony Vose Always remember
Founder to pillage
Mac Game Database BEFORE you burn.
http://www.gamedb.com/
__________________________________________________
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|