Solved

xml url window resizing

Posted on 2011-03-07
15
321 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
Viewers will learn how to turn a Live Set into a compressed Live Pack file, and how to install Live Packs. Make: File > Collect All And Save: File > Manage Files: Click Manage Project: Click Create Pack: Select save location: Install: Doub…
Viewers will learn how to create and use Simpler instruments in Ableton Live. Load new Simpler into an empty MIDI track: Select a sample and drop it into sample window in Simpler: If sample is not pitched at C3, adjust tuning with Transpose para…

830 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