?
Solved

xml url window resizing

Posted on 2011-03-07
15
Medium Priority
?
327 Views
Last Modified: 2012-05-11
I have the following code in an xml file which feeds into a flash website. The url is accessed via the flash site from the xml file. The page opens in a separate windws but there is NO RESIZING. Please can someone put me right:

<pageText><![CDATA[
<a href="http://www.microsoft.com" target='_blank'><u>
Linkedin
</u></a>
]]></pageText>

I have tried the following which opens the window but it DOESN'T resize it:

<pageText><![CDATA[
<a href="http://www.microsoft.com" target="popup" onclick="window.open('http://www.microsoft.com', 'popup', 'width=300,height=150'); return false"><u>
Alternative Web Site popup
</u></a>
]]></pageText>
0
Comment
Question by:doctorbill
  • 8
  • 7
15 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35065810
Feeds into the flash how? Flash normally does a navigateToURL and does not render an HTML link as html
0
 

Author Comment

by:doctorbill
ID: 35067920
The flash site references an xml file. I alter various text and url parameters by editing this xml file. These changes are then actioned by the flash site
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35067940
However flash does not render html onto a page so we need more information as to how the xml is transformed.

What is the flash app you are using?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:doctorbill
ID: 35068917
I have a flash website in flash cs3 professional. This flash site references an xml file with the url links (above). Should I be looking in the flash file to solve this ?
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35068952
Yes. If the flash is reading the XML and creating browser instructions, I would like to know how
0
 

Author Comment

by:doctorbill
ID: 35069061
ok. The flash movie was not created by me so I will need to look around.Can you give me some idea of what I am looking for please
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35069109
I expect navigateToURL somewhere
0
 

Author Comment

by:doctorbill
ID: 35069698
I am still unclear about how the url is being hadnled. I can create as many url's in the xml file as I want and they will be accessed by the flash site. Doesn't that mean that the url is being controlled by the xml file, not the flash ?
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35070040
Sure but flash has its own way of navigating and you want the flash to call a javascript that will open a sized window. Unless you put such a script in the html where the flash also lives you will not get a sized window. I am not a flash specialist but I doubt flash can open such a window without help
0
 

Author Comment

by:doctorbill
ID: 35070953
Is it not possible to embed a script or function in the xml file which will resize the window - I can't find one which will do the job
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35071272
Not IN the flash as far as I know but in the page and the flash can call it.
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35112041
1: A "C" grade is not acceptable. Request a delete instead HOWEVER:
2: Some questions have an unpleasant answer. From what you have told/shown me so far the answer is not possible. It is a valid answer. You may not like to hear it, but you should not shoot the messenger!
0
 

Author Comment

by:doctorbill
ID: 35147695
I had no intention of "shooting the messenger". Would a B grade be acceptable?
If so, how do I delete and regrade ?
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 1500 total points
ID: 35148152
Yes a "B" would be better, if you accept it is not possible to do what you want.

I unaccepted so you can choose a comment to grade
0
 

Author Closing Comment

by:doctorbill
ID: 35148999
It looks as if the question I was asking was not possible. I have now added the relevant links into buttons in the flash site itself rather than try to use xml links and this works ok.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
The viewer will learn how to download, install, and customize fonts inside Adobe Illustrator CS6. To install and use a font: Go to dafont.com and download a premade font : Unzip it, and open it up by double-clicking: Press “Install This Font” in…
This video will give a brief orientation and organization of Logic Pro X, and how to access different work spaces quickly with keyboard shortcuts.
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question