Solved

xml url window resizing

Posted on 2011-03-07
15
320 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

The Problem How to write an Xquery that works like a SQL outer join, providing placeholders for absent data on the outer side?  I give a bit more background at the end. The situation expressed as relational data Let’s work through this.  I’ve …
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
The viewer will learn how to search for and apply Apple Loops, as well as create their own in Logic Pro X. Record a region in the tracks area: Select the region: Go to File > Export > Region to Loop Library: Select the appropriate search terms…
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…

810 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