Re: [svg-developers] Re: event listeners in svg tiny

2007-10-09 Thread ~:'' ありがとうございました 。
What is the question?

regards

Jonathan Chetwynd
Accessibility Consultant on Media Literacy and the Internet



On 9 Oct 2007, at 04:32, shydisturbedboy wrote:

anyone?






[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 


[svg-developers] Re: event listeners in svg tiny

2007-10-09 Thread shydisturbedboy
if i register the root, the elements will also be registered right?
does this also apply for jsr 226? for mobile phones? and in
DOMActivate, what does activate mean?



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 


[svg-developers] Re: event listeners in svg tiny

2007-10-08 Thread shydisturbedboy
doc = svgImage.getDocument();
svg = (SVGSVGElement)doc.getDocumentElement();
EventTarget t = (EventTarget)svg;
t.addEventListener(click, new LayerManager(), false);

in the LayerManager class i just print the ids of the element..
i also tried this code:

doc = svgImage.getDocument();
svg = (SVGSVGElement)doc.getDocumentElement();
elt = (SVGElement)svg;
elt.addEventListener(click, new LayerManager(), false);

when i press the up key in the emulator, my midlet will print the id of
the element that is on the center of the viewport. trying the first code
above, i can only access the root element even though there is another
element at the center. the second code above is the same. so i tried
this code:

doc = svgImage.getDocument();
SVGElement elt = doc.getElementById(elementID);
elt = (SVGElement)svg;
elt.addEventListener(click, new LayerManager(), false);*
EventTarget t = (EventTarget)svg;
t.addEventListener(click, new LayerManager(), false);



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 


[svg-developers] Re: event listeners in svg tiny

2007-10-08 Thread shydisturbedboy
anyone?



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 


[svg-developers] Re: event listeners in svg tiny

2007-09-29 Thread shydisturbedboy
Hi Doug,

sorry that i didn't clearly explain my question.. i am trying to make a
midlet(jsr-226).

here's the code:

 doc = svgImage.getDocument();
 svg = (SVGSVGElement)doc.getDocumentElement();
 EventTarget t = (EventTarget)svg;
 t.addEventListener(click, new LayerManager(), false);

in the LayerManager class i just print the ids of the element..
i also tried this code:

 doc = svgImage.getDocument();
 svg = (SVGSVGElement)doc.getDocumentElement();
 elt = (SVGElement)svg;
 elt.addEventListener(click, new LayerManager(), false);

when i press the up key in the emulator, my midlet will print the id of
the element that is on the center of the viewport. trying the first code
above, i can only access the root element even though there is another
element at the center. the second code above is the same.  so i tried
this code:

 doc = svgImage.getDocument();
 SVGElement elt = doc.getElementById(elementID);
 elt = (SVGElement)svg;
 elt.addEventListener(click, new LayerManager(), false);*
 EventTarget t = (EventTarget)svg;
 t.addEventListener(click, new LayerManager(), false);




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/