Solved

xml url window resizing

Posted on 2011-03-07
15
318 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
 

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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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 500 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
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…
Viewers will learn how to use LFOs to modulate the sound of their Sampler instruments. Click the Modulation tab in Sampler: Choose one (or more) of the three available LFOs, and click the respective button to turn it on: Select a waveform, an LF…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now