Topic: Some HTML and Flash Mx help needed....

I know a lot of html but i am just having a hard time figuring out images maps such as finding the image coords can someone help me?

also i have flash mx and want to know how to use it and make intros and templates can someone help or suggest a tutorial?

2 (edited by ameenullah 2004-07-13 07:46)

Re: Some HTML and Flash Mx help needed....

I dont have much IDEA about FLASH.. regarding HTML I can help you

I would like to suggest you to go thru the manual first for any help, then start asking question only if you wont understand.

      Co-ordinates are nothing-but pixel position of that image

here is an HTML example for map

<IMG SRC="images/shapes.gif" WIDTH=100 HEIGHT=100    ALT="shapes" USEMAP="#mainmap" 
<MAP NAME="mainmap">
<AREA SHAPE=CIRCLE COORDS="50,50,25" HREF="http://home.netscape.com">
<AREA SHAPE=RECT COORDS="50,50,100,100" HREF="http://developer.netscape.com">
<AREA SHAPE=RECT COORDS="0,0,100,100" HREF="http://developer.netscape.com/docs">
<AREA href="http://www.htmlhelp.com/tools/" ALT="Carz" SHAPE="poly"
 COORDS="12,38,75,125,7,100">
</MAP>

For CIRCLE coorinates are like (x,y,r) x,and y are pixel positon for that image and r is radius

for RECTANGLE - (x,y,x1,y1) where x and y are left top(again pixel values) position of the rectangle and x1,y1 for right bottom cornor of the rectangle.
for polygan you can define your own..

depend on the Map position it will go to the particular URL specified in 'href' tag.


I would like you to visit http://www.flashkit.com for help and tutorial for FLASHMX

God wisely designed the human body so that we can neither pat our own backs nor kick ourselves too easily

Re: Some HTML and Flash Mx help needed....

also you can get source files for flash in flashkit.com

God wisely designed the human body so that we can neither pat our own backs nor kick ourselves too easily

4 (edited by newera70 2004-07-13 18:34)

Re: Some HTML and Flash Mx help needed....

so what would i do take a screen shot and figure it out in ms paint?

I would like to suggest you to go thru the manual first for any help, then start asking question only if you wont understand.

what manual?

Re: Some HTML and Flash Mx help needed....

Ooops!! Manuals means, Guide or help(notes) regarding the subject(or thing)

else go for Online tutorials

God wisely designed the human body so that we can neither pat our own backs nor kick ourselves too easily

Re: Some HTML and Flash Mx help needed....

There are small javascript programs too to identify the pixel position of the given image with the mouse pointer.

else you can use any photo editing tools to knwo the pixel position

God wisely designed the human body so that we can neither pat our own backs nor kick ourselves too easily

Re: Some HTML and Flash Mx help needed....

i think im better off using a javascript program... is there a specific name for it?

8 (edited by ameenullah 2004-07-22 07:01)

Re: Some HTML and Flash Mx help needed....

Here is a simple way.
This script will display the x and y position in the status bar.
you can insert the image between body tag and you can note the x, y position..

<html>
<head>
<SCRIPT LANGUAGE="JavaScript">

    ns4 = (document.layers)? true:false
    ie4 = (document.all)? true:false

function init() {
    if (ns4) {document.captureEvents(Event.MOUSEMOVE);}
    document.onmousemove=mousemove;
}
function mousemove(e) {
    if (ns4) {var mouseX=e.pageX; var mouseY=e.pageY}
    if (ie4) {var mouseX=event.x; var mouseY=event.y}
    status="x= "+mouseX+", y= "+mouseY;
}

</SCRIPT>
</head>

<body onLoad="init()" marginwidth="0" leftmargin="0" topmargin="0">
<!-- Change this image to your wish-->
<img src="http://punbb.org/forums/img/avatars/1357.gif">
<!-- Change this image to your wish-->
</body>
</html>
God wisely designed the human body so that we can neither pat our own backs nor kick ourselves too easily

9

Re: Some HTML and Flash Mx help needed....

ameenullah wrote:

Here is a simple way.
This script will display the x and y position in the status bar.
you can insert the image between body tag and you can note the x, y position..

Nice, web based. Could be used in an admin section ;)

Re: Some HTML and Flash Mx help needed....

Thank you smile

God wisely designed the human body so that we can neither pat our own backs nor kick ourselves too easily

Re: Some HTML and Flash Mx help needed....

thank you ameenullah ill try it out soon