Hello,
I've been presented with the challenge of incorporating a flash map widgit, into the cck admin module in drupal.

http://hdev.wearevi.com/kauffman/mapwidget/

The map widgit allows you to select dots on the map, then pull out the coordinates using javascript. I've never made a custom cck flash field, nor have I have ever done anything like this.

What are the steps to get this working guys?

Edited by WorldFallz - moved to appropriate forum.

Comments

bsenftner’s picture

The book "Flash with Drupal" will have you doing this by Chapter 3. By chapter 6 it gets into integrating javascript with flash and drupal. Well worth the read.

robl@wearevi.com’s picture

Thank you for the reply, are you sure this will embed a flash swf into the cck system and allow you to pick up values from javascript to store into fields?

I need to have the flash replace a field inside a content type.

bsenftner’s picture

Reading the book myself at the moment, I'm at chapter 5. Thus far I've got a flash swf acting as the "front end" of a CCK based custom content type. Chapter 6 is where it starts the javascript integration, but it sure looks like what you're asking for is covered in the book.

robl@wearevi.com’s picture

Sorry guys, I've not been able to get this to work. What do I need to do? Can you point me in the right direction?

All I need is to get this map widigt to fill in the correct coordinates.

bsenftner’s picture

Have you been able to get the widget onto your drupal page? Are you familiar with java script programming? How's about jQuery, familiar with that? I ask, because looking at your example page at http://hdev.wearevi.com/kauffman/mapwidget/ and viewing the source, it seems like what you're tying to do is trivial, IF you're familiar with the languages I asked about. Did you read that "Flash with Drupal" book? it really covers this stuff quite well.

robl@wearevi.com’s picture

well do you have an example of a flashfield working in an administration section?

mcfilms’s picture

Ummm... So you DIDN'T by the book that was recommended, then?

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com