I`m trying to write XML in HTML and read it with JavaScript,
but it`s not working.
please help.
my XML in HTML.
<xml id="xmldata" style='display:none;'>
<markers>
<marker lat="50.895842" lng="-1.4051" html="text"/>
</markers>
</xml>
Javascript trying to read my XML...
I`m putting markers on Google Mpas using maps.xml,
and I would like to include maps.xml into HTML to make it one file.
Now, I need to know how to read this XML and process.
my XML in HTML.
<xml id='xmldata' style='display:none;'>
<markers>
<marker lat="50.895842" lng="-1.4051" />
</markers>...
so i have a rss flash reader and it`s working and all.
but i need to make one for blogger. it generates atom.xml file.
how can I do this? where to start?
thank you.
Hi, I`m trying to load RSS from "google blog search result" into my flash.
It works locally, but does not work on the server.
This is most likely a cross-domain issue.
Can`t find crossdomain.xml on google.
It does not need to be google as long as it is blog search results.
Is there any way I...
when I animate (with scale changing) a movie clip containing png, the animation doesn`t look smooth.
how can I make it smooth?
Can I make it smother by animating with scripts?
Thanks
I'm trying to make a book mark button the following is what I have.
It shows the alert, but bookmark nothing.
(I'm using Mac.)
function bookmark(title, url){
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {...
I am trying to reset the state of a bitmap back to its original state
after I transformed its color.
import flash.display.BitmapData;
import flash.geom.ColorTransform;
import flash.geom.Rectangle;
_bmd = BitmapData.loadBitmap("photo");
_mc = this.createEmptyMovieClip("bm_mc", 10)...
I have 2 html menu.html and menu2.html,
and would like to swich one another using "onChange" in each form.
function pageCh works first time, but it doesn't 2nd time.
alert("menu2") does not pop up either.
javascript in menu.html
<script language="JavaScript" type="text/JavaScript">
<!--...
onMouseOver works, but onMouseOut doesn't.
What am I missing?
<a href="html.html" onMouseOver="parent.status='LOAD HTML VERSION';return true" onMouseOut="parent.status=' ';retuen true" target="bottom">HTML_VERSION</a>
Thanks
i have this on my main html.
<head></head>
<frameset rows="110,*" cols="*" framespacing="0" frameborder="no" border="0" bordercolor="#FFFFFF">
<frame src="top.html" name="top" frameborder="no" scrolling="no" id="top">
<frame src="bottom1.html" name="bottom" id="bottom">
<noframes><body>...
thanks for your advice.
yeah, i can change use timeZoneoffset in my flash, but
I found a way to place an swf using javascript insted of embed.
now it's working.
http://blog.deconcept.com/swfobject/
I'm trying to change embed src using document.getElementById.
what am i missing?
<script language="JavaScript" type="text/JavaScript">
myDate = new Date();
myTD = myDate.getTimezoneOffset();
alert(myTD);
if ((myTD >= 180) && (myTD < 480)){...
thanks. now other scripts work,
but it doesn't change mySWF.
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="105" height="105 ">
<PARAM name="quality" value="high">...
i wrote this to change my embedded swf depending on the location,
but it's not working.
it also disable other javascript on the page.
myDate = new Date();
myTD = myDate.getTimezoneOffset();
if ((myTD >= 180) && (myTD < 480)){
document.mySWF.src="alaska.swf";
}else if((myTD >=1 80) && (myTD <...
i would like to popup a window and document.write with javaScript.
The following works fine on FF, Safari, NS, both on Mac and PC, but fails in IE (6 and 7 as far as i know).
it opens a new window in IE, but it doesn't write anything. not even title.
any suggestion?
paramaters are
Pic =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.