Solved

xml url window resizing

Posted on 2011-03-07
15
322 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
How our DevOps Teams Maximize Uptime

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

 

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

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.
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
This video will give a brief orientation and organization of Logic Pro X, and how to access different work spaces quickly with keyboard shortcuts.
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…

739 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