On 12/19/05, fritzdimmel <[EMAIL PROTECTED]> wrote:

> I want to create a Flex app which allows it to drag images which are taller
> than the surrounding canvas. I tried it with DragManager & Co, but it didn't
> work for me since the DragManager thing is for things like drag and drop and
> not for dragging images (or did I understand its meaning not right?).

Have you tried startDrag() and stopDrag() on the image objects? 
Search the documentation for these methods of the Sprite class.

> Well I've created this app which works for me (ok, I wanted the image just
> to be dragable within the canvas, but I think I can accomplish this later).
> This app works if the image is quite small (smaller than the surrounding
> canvas. If the image is larger (and it will be in the final app), I got this
> Error:
> TypeError: Error #1009: null has no properties.
>      at ImageDragger/myStartDrag()

[snip]

Okay, first of all, the child objects should be created in the
createChildren() rather than the constructor.  It's just the
recommended way of doing it.

About the runtime error, what line exactly is it on?

Manish


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to