Skip to main content
Known Participant
February 17, 2008
Question

convert hand drawn vector to actionscript code

  • February 17, 2008
  • 4 replies
  • 573 views
hey all,
i'd like to use a simple 16x16 b/w grab icon for a custom cursor and i can't have anything in the Flash library so i need to convert an image of an icon to actionscript. anyone know if there's a tool to convert a bitmap or hand drawn vector to an actionscript graphics.x shape code.

thx
michael
This topic has been closed for replies.

4 replies

kglad
Community Expert
Community Expert
February 19, 2008
exactly. you have to do it by hand. i'm aware of no application that will convert anything to code.
kglad
Community Expert
Community Expert
February 18, 2008
take a screenshot of the hand icon and import that into flash. otherwise duplicating that with the drawing api is doable, but why bother?
Known Participant
February 18, 2008
that's the easy way. just load the bitmap into the library and reference it. but my client needs the entire app to rely upon code only, no timeline or library references. so i need to recreate the line art of the bitmap of a grab icon into graphics api. wondering if there's an easy convert of a bitmap to graphics api actionscript code or do i have to just do it by hand which would be a pain.
kglad
Community Expert
Community Expert
February 18, 2008
by "the object", you mean your custom cursor? if so, how are you going to create that cursor? the drawing api? if so, what's the problem?
Known Participant
February 18, 2008
yes, i'm creating the cursor object via the graphics api but i need to replicate existing artwork (a grab hand icon) and draw it with the graphics api. then i'll use that object as my new cursor.
kglad
Community Expert
Community Expert
February 18, 2008
how's the custom cursor created?
Known Participant
February 18, 2008
just a simple Mouse.hide() and setting the .x and .y of the custom cursor object to the mouse. i need the object to be generated in code, not pulling from the library.