How can I get the SWF file to send a variable in HTML file

I'm new to flash and trying to figure out how it works. I have a task to upgrade a website. I have a map of ND with a few cities on it. I needed to add a new city to the SWF that does not seem to be hard (asuming I did correct). Action on all buttons for each city we the same except the name after the # is the selected city.

(release)
{
getURL ("locations_info.html #minot", "location_content");
}

In the code HTML snip that controls that looked like this:

< object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase =" " http://download.Macromedia.com/pub/Shockwave/cabs/Flash/Swflash.cab#version=7, 0,19,0 "width ="627"height ="400"> "
< param name = "movie" value = "flash/map.swf" >
< param name = "quality" value = "high" >
< embed src = "flash/map.swf" quality = "high" pluginspage =" " http://www.Macromedia.com/go/getflashplayer "type =" application/x-shockwave-flash"width ="627"height ="400"> < / embed > "

< table >
< /tr >
< b >
"< td align ="left"valign ="top"> < IFRAME src ="locations_info.html"name ="location_content"width ="627"height ="190"scrolling =" "frameborder ="0"> < / IFRAME > < table >"
< /tr >
< /table >
< table >

capture from the file locations_info.html looks like:

< b >
< td align = "left" valign = "top" > < table width = "687" border = "0" cellspacing = "0" cellpadding = "10" >
< b >
< td align = "left" valign = "top" > < class p = "maintext12" > < / p >
"< class p ="maintext12"> < strong > < a name ="minot"> < /a > Minot/Home Office < facilities > < br >".
408 20th Ave SW, Suite 101, Minot, N.D. 58701 < br >
Main line: (701) 852-5383 < br >
Phone toll-free: (800) 735-4955 < br >
Fax: (701) 852-6272 < br >
Opening hours: Monday - Friday 08:00 to 17:00 < /p >
< p > < / p >

Can someone help me understand how when I run the present of my system it should load and process information for the correct city since the locations_info.html file but it doesn't. Nothing shows...

Jeanne

If all the other directives getURL() in the film use the same syntax for the named anchor link so that part should be OK. In the html document, locations_info, even once, if all named anchors look like the one you listed, then you can just need to clear your cache to get the new anchor to work.

The anchor name = "XXX" is to be depricated in some browsers. You can use id = "XXX", or both, instead. Although if you're working, they should all work.

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • PowerBook G3 battery

    Guys I need help. There are several sellers on eBay, but nowhere it says it is compatible with my powerbook, which is PDQ (wallstreet?) 300 mhz. All I got is compatible with the 1998 model, which is my PowerBook. I don't want to waste money if it doe

  • Modem ZTE MF622 USB and a Portege R500

    I have problems with a modem to broadband ZTE MF622 USB of '3 '. The modem installed self as advertised but my Portege R 500 reports 'USB modem not detected. The modem works fine on my old laptop. There seems to be some software incompatibility probl

  • The BIOS update does not work on the Satellite - cannot load PHLASHNT.sys

    "Cannot load the PHLASHNT.sys driver.It gives then a few silly respons to check if you have admin rights or not.Under windows, very nice everyone has admin right here, that the problem with this :-/

  • problem to connect to http WI - FI

    I'm triying to connect to HTTP using a WI - FI connection, but it gives an exception: net.rim.device.cldc.io.dns.DNSException: DNS error Error code: 7. This error occurs in the las line copied below. This is the code: HttpConnection conn; boolean sto

  • 8 Windows BSOD WHEA_UNCORRECTABLE_ERROR

    I encounter this error message on my Toshiba laptop and the laptop stops frequently. Sometimes, it also shows some other error messages., for example, UNEXPECTED_KERNEL_MODE_TRAP, DRVR_IRQL_LESS_OR_NOT_EQUAL. This happens especially when I'm streamin