Search:
Type: Posts; User: tupps
Search:
Search took 0.60 seconds.
-
The Xml is available after the onLoad function. You must have pretty big xml file to warrant deleting the xml file.
Thanks
Luke
-
Probably security, are you loading the xml file from the same server as your local file? It is usually best to reference the eg load("myFile.xml") rather than specify the entire path. A final note...
-
Basically you need to add an else statement to the if statement:
if (p<(total-1)) {
My guess you would then set p = 0, and then run the if (loaded ==... code block.
Thanks
Luke
-
Not really a question for the XML forum.
-
Are you trying to change the file on the web server?
Are you using a backend script?
If you aren't using a script then you can't change the file. Otherwise anyone would be able to change any...
-
Are you able to verify that the server is sending out the correct data? Check the XML file with your browser and make sure that the XML file is being returned.
The other thing to check is to look...
-
Flash can create and edit xml files. However flash cannot save the files anywhere without the help of some backend scripting. So whatever the solution you will need a script to save the files to...
-
Where are you loading the jpegs from? I would guess that it is a security problem.
Have you checked the webserver logs to see if the the jpegs are being requested?
Thanks
Luke
-
The ID tags are handled differently. X-Path is an addon technology. I don't use ID tags much but I am pretty sure you can use xmlDoc.idTagName to get to the node with the ID tag.
Thanks
Luke
-
Is your .aspx returning the correct data? That would be my guess, debug your aspx page to see if the correct data is being returned. The xml doesn't come through as a standard parameter so this might...
-
you can use the ID tag that you have in your Xml tag. BTW you have content1 more than once which isn't correct XML.
You should be able to use xml["content1"] if you only have the id tag in the...
-
It looks like the code is filling in a html text box. You will need to write html code that creates a link. < a href="link" target="newWindow"> is what you need wrapped around that code.
I would...
-
Nothing that I know of. I would guess that you would build this sort of thing in flash and use the xml and images to customise the banner.
Thanks
Luke
-
Why are you using a 3 dimensional array to store your values. From what I can see you are not making anything easier for yourself with your array.
Why not use a one dimensional array instead and...
-
Accent should definitely appear. Later version of flash can support Unicode XML files, and earlier versions supported Xml with things like accents etc. I would suggest there are 2 possible problems:...
-
I don't think Flash and XML justify a book all to themselves. Personally I would get Colin Moock's Actionscript the Definitive Guide as it covers most topics about flash development in a fair bit of...
-
There are/was a couple of XML to Object translators which would create an object structure for you.
At the end of the day the XML structure in Flash is an Array, and it isn't to hard to use once...
-
Well you can, but you have to do all the parsing & implementation of the file. Probably not what you are looking for.
Thanks
Luke
-
Try this:
http://tupps.com/flash/examples/loading_html/demoText.html
Thanks
Luke
-
Well PHP will be able to read the file from the other server. The other option would be to get the PHP script to proxy the xml to your flash application, and then read the xml in the flash file.
...
-
The web.config is the asp.net configuration file, and I believe that by default IIS won't allow you to read this file.
The easiest way to test this is to use a web browser and see if you can load...
-
PHP has functions to work with Xml. Why don't you just save the XML file to your server rather than converting it to variables?
Thanks
Luke
-
Does this code help:
http://tupps.com/flash/examples/loading_html/demoText.html
Thanks
Luke
-
Why can't you just use a counter that you increment every time you get an new button?
Thanks
Luke
-
the function parseXML(createXML) are you passing the createXML in or is it the on load?
Personally I would either run the code in debug mode or put a trace statement in the for loop to find out if...
|
Click Here to Expand Forum to Full Width
|