My swf is not loading xml on server
Hi I'm creating a flipbook which get the data through xml. It works properly in the flash means when I test it using ctrl+Enter but when I upload it onto the server it not shows even a single page means the cml isn't loaded there. Any ideas what would be the problem.
Thanks
Hi Ned,
Sure, here is my link http://74.213.174.176/wasim/mdbook/new/sample.html actually the functionality that I want is such that. Once the flip book parser loads all the pages of the book it provides us the functionality of the common flip book, means we can flip the pages back and forth. Now you noticed that there is a blue button which is used for sending this movie to the frame where I have all the logic for sorting the tabs and arrays for writing the xml to the file. What I need is after done this sorting, I refresh the movie from a button which I don't place there yet. So the reason of refreshing the movie is only that, now the first parser which is of flip book's, reload the xml file in it and I get the pages at different places as I was sort that, the soring algo just checking the arrays and writes the array by using php, I checked all this seperately it works. But when I put it together with the flip book then it works locally means I got the right messages on the output. but when I load it on to the server it don't writes the xml file.
I hope you understand my project. The xml file is attached with this message.
Regards
chand
Similar Messages
-
Swf does not load flv on server
This has been asked before but it doesn't appear to
have been answered... On my local workstations the swf loads and
runs the flv fine. They are both in the same directory. When I
upload the pair to a server (windows 2003) the swf no longer loads
the flv file. I've tried multiple workstations and two servers with
the same result. No matter where I put the swf/flv pair and no
matter how I try to load the swf (direct URL, in an HTML page by
itself or in the web page) the result is the same....
When I imbed the video in the swf it runs fine, so, the swf
runs okay it is specifically the loading and running of the flv
file by the swf file on the server. I don't think it's a network
issue because I've tested my workstations across the network and it
works fine. It is specifically when the swf tries to load a flv on
a server. I don't get an error message, just a blank swf holder.
It's not the flash code because I've tried multiple playback
components and they all give me the same resutl. Again, it appears
to be specifically related to the swf loading the flv on the
server.
It appears to be something that has happened in the last few
months (maybe I missed an update/) because I know it worked when I
first uploaded the site. It appears to have stopped working in the
last six weeks. I don't check my site on a daily basis but I last
updated my site about the end of January and it was working then...
I'm using studio 8...
THANKS...quote:
Originally posted by:
jcasanova
Is the path
http://www.yoursite.yadayada/yadayada.flv
right?
Are you referring to the url in the object on the html page?
Is that supposed to be the swf?
<param name="movie" value="
http://www.yoursite.yadayada/yadayada.swf"
/>
tyroners,
If you have found a solution, please post it! I have been
working on this all day with no luck. Runs fine on localhost, but
on my WIN2003 server, it just shows the blank swf. I did read that
you also need to upload the skin swf file to the same directory if
you are using one.
I will post too when I fugure this one out
Thanks
G -
Applet does not load on app server when Free Design Layout
Hi,
I have to embed a an applet in a webpage of an web application. Before I go on to anything.. let me first tell you, I am using Netbeans 6.0
As shown in the tuorial:
[http://www.netbeans.org/kb/articles/tutorial-applets-40.html]
1. I first made the "Applet" source say HelloApplet. java. After compiling and running it I get the HelloApplet.jar.
2. I created a WebApplication and then from the properties -> packaging -> I "Add Project" HelloApplet.jar.
3. Then I a webpage I "embeded" the applet.
4. I run the web app and the applet gets loaded and everything is just fine.
But before I go on I must tell you that the applet was designed in Null Layout. Now I edited the applet source once again and changed the layout to Free Design Layout*. ( this is available from Netbeans..on the HelloApplet.java .. go to the design view.. right click on the form and from the context menu you can change the layout to FreeDesign or whatever you might want).
When I expand the "Libraries" node I see the that the library Swing Layout Extensions - swing-layout-1.0.3.jar has been added.
When I "run" the "HelloApplet.java" file, the applet is shown in the appletviewer. No problems with that.
But!
When I try to Clean & Build and Run the WebApplication, the applet does not get loaded. On inspecting the java console I see the following error:
java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jdesktop.layout.GroupLayout$Group
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 10 moreIt clearly shows that the Free Design Layout has something to do with the GroupLayout which can be found by expanding the "Swing Layout Extensions - swing-layout-1.0.3.jar". Now when the HelloApplet.jar is created only the HelloApplet.class file gets included together with some other data but NOT the swing extensions. Hence when I run the web app the class file looks for the GroupLayout.class definition but can find it in the jar as its not included when the HelloApplet.jar is created.
But with null layout there isint a problem because null layout takes the definitions from the JRE on the machine.. and so it runs without a hitch.
My Question is : How can I run the applet with Free Design Layout? or is it possible to package the swing layout extensions in the HelloApplet.jar?<</u>
Thanks for all your replies.
Cheers.
Edited by: arijit_datta on May 15, 2008 4:07 PMSolved.
Here is the solution:
[http://www.nabble.com/Applet-does-not-load-on-app-server-when-Free-Design-Layout-to17259115.html|http://www.nabble.com/Applet-does-not-load-on-app-server-when-Free-Design-Layout-to17259115.html]
Cheers..
Edited by: arijit_datta on May 16, 2008 7:41 AM -
Swf does not load the images on the web
I made a swf that works perfectly on my computer.
The swf does not load the images, cal with the buttons, when I use the swf on the web.
I think the problem is due to the fact that the web changes the path of the file, that is called with the following variable:
var ImmageUrl: String = "MyFolder2 /" + MynamePic + ".jpg";
The path is C:/MyFolder1 "(with the swf)" /MyFolder2 "(with the pics)"
Any hint ?
Thank you.When you place an swf in a web page, any files that the swf loads have to be targeted as if the swf is sitting in the same folder as the html page. If you have the swf in a different folder than the html page, then you need to adjust the paths for the files it loads so that it acts as if it is in the html page's folder.
-
Xml file not loading from different server
Hi,
I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from eckul.com" and will not actually pull in the number. Unfortunately I can't put the files on the same servers. Any help would be much appreciated, below are the links and the xml code I'm using followed by the action script. Cheers
http://www.sainters.net/newsletters/2010/flash_test_membership2.html
http://www.eckul.com/number.xml
<?xml version="1.0"?>
<inventors>
<person>
<name>892</name>
</inventors>
function loadXML(loaded) {
if (loaded) {
_root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
_root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
name_txt.text = _root.inventor;
comment_txt.text = _root.comments;
} else {
trace("file not loaded!");
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("http://www.eckul.com/number.xml");so, in frame 1 of your fla before you execute that cross-domain load method, use:
System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>
and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
</cross-domain-policy> -
SWF files not loading onto page in Catalyst output.
Hello,
This is a new one that I have not yet seen. I have a large assortment of SWF files set up in Scroll Panes and they are not loading up when I check the project using Firefox or Safari. The site is here:
www.electronic-lifestyle.com
Go into any page linked from the top row and then hit a sub page. When you see a scroll bar come up on the right side of the film strip yet nothing inside the film strip you will see the issue.
This is really serious and could screw up my entire project so any advice would be really helpful. I need to figure out why the SWF files are not loading in on the browser with the files from the server when they work just fine using the local deploy files. Everything works just fine from the machine but when I try to get it to download from the server nothing.
All of the SWF files are built in Flash CS5 using AS3 and contain some simple links and commands. Some of the SWF files are coming up just fine, it is just the latest batch of files I have uploaded that are giving me the problem, but only off the server. The same files work just fine in local mode.
Thanks in advance,
BrettChris,
This is not an apples to apples comparison but I think it will Illustrate the differences. This is a sample of code from Catalyst that works:
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:fclib="com.adobe.flashcatalyst.components.*" xmlns:d="http://ns.adobe.com/fxg/2008/dt">
<fx:Script>
<![CDATA[
protected function mac_btn_clickHandler():void
navigateToURL( new URLRequest( encodeURI("http://www.mcintoshlabs.com")), "_blank");
protected function integra_btn_clickHandler():void
navigateToURL( new URLRequest( encodeURI("http://www.integrahometheaters.com")), "_blank");
]]>
</fx:Script>
<fclib:SWFController loadForCompatibility="true" source="assets/images/ElectronicMain2c.swf" x="0"/>
<s:Button skinClass="components.Button1" x="0" y="1328" d:userLabel="Mac_btn" click="mac_btn_clickHandler()"/>
<s:Button skinClass="components.Button1" label="Button" x="0" y="1768" d:userLabel="Integra_btn" click="integra_btn_clickHandler()"/>
</s:Group>
This is an example of the AS3 code that was confounding the SWF load on the example I gave:
button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);
function fl_ClickToGoToWebPage(event:MouseEvent):void
navigateToURL(new URLRequest("http://www.mcintoshlabs.com"), "_blank");
button_2.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_2);
function fl_ClickToGoToWebPage_2(event:MouseEvent):void
navigateToURL(new URLRequest("http://www.integrahometheater.com/"), "_blank");
Now these are from the same page, the first of which is online right now here:
www.electronic-lifestyle.com/AS/Main.html
This particular code is used on the Electronics page. When I look at the two side by side it seems there are some syntax differences but I do not know enough about AS3 to tell what the important differences are.
Thanks for looking,
Brett -
Swf file not loading over Https(SSL) on Internet Explorer...
hi ,
I have a .swf file used in html file and i try to browse using "https(SSL)".it will loads fine in Firefox, but in Internet Explorer wont able to load. When right-clicking it says "movie not loaded".
even i googling for the same and i got below option but i am still not able to get flash on html page. it will working fine in Internet Explorer,FireFox etc when we use"http".
1) add headers like "Cache-Control: must-revalidate" or "Cache-Control: max-age=0" or "Cache-Control: no-store" etc
2) use CrossDomain.xml
we also able to load swf in https on Internet Explorer but for that we have to do below settings in Internet Explorer browser.
1) Go to Tools --> Click on Internet Option --> click on Advanced tab --> Now in security section checked mark on "Do not save encrypted pages to disk".
but above way is not a proper way to resolve the https issue
Thanks.found this within the Adobe forums, seems to solve your issue.
I would make sure to use the crossdomain file as well. -
When viewing a simple swf (1 chart, no data connections) in InfoView (or Dashboard Manager), i get a blank swf with the 'Click to activate and use this control...' screentip - but when i click the object it's still blank, Right-click gives me a (greyed out) 'Movie not loaded...' item and 'About Adobe Flash 9...'
the swf works fine in XCelsius preview or when saved locally
any ideas? cheers
XCelsius 2008
flash player version 9,0,124,0
BOXI R2 SP1
Internet Explorer 6 SP2Hi Mike, your update R2 SP2 Windows plattforms or SQL Server 2008?
I'm have the same problem!
My Plattforms is
Win Server 2008 R2 SP1 x64 STD
SQL Server 2008 R2 x64 STD
SB1 8.81 SL04
Thanks! -
Swf movie not loaded...
I have swf and html file in the same folder, but only show the background of the html and nothing else... right click and the message of movie not loaded show up...
only on line, in my c/ folders run perfectly well, but as soon as I upload them doesn't works, even if I only update the swf file ...
I am having this problem recently... I did this millons of time without problem and now I am getting crazy...
help! please...I am trying to apply ac_fl_run content and I thin I am getting in more and more trouble... here is the code...
this new internet explorer I can only copy the code like this sorry,
Content == 0) {
alert("Esta página requiere el archivo AC_RunActiveContent.js. En Flash, seleccione \"Aplicar actualización de contenido activo\" en el menú Comandos para copiar el archivo AC_RunActiveContent.js en la carpeta de salida HTML.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '550',
'height', '400',
'src', 'prueba',
'quality', 'high',
'pluginspage', 'http://www.macromedia.co<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>prueba</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#ffffff">
<!--URL utilizadas en la película-->
<!--Texto utilizado en la película-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_Runm/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'prueba',
'bgcolor', '#ffffff',
'name', 'prueba',
'menu', 'true',
'allowScriptAccess','sameDomain',
'movie', 'prueba',
'salign', ''
); //end AC code
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca>
</body>
</html>
b#version=8,0,0,0" width="550" height="400" id="prueba" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="prueba.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="prueba.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="prueba" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript -
SWF is not loading in Google Chrome browser.
Hello,
My project is developed in adobe flash builder which used sdk 4.0.
But from last few month it creates one problem with Google Chrome browser.
Some times swf which reside in my .aspx page is not loading and i am getting white background in swf.
This is looke like flash player does not rendering proper so i show white back ground in swf.
But when i try this link in different tab then it is working.
Any one have idea how can i solve this issue ?
OS System : Window 7
Chome Version : 28.0.1500.72
Thanks,
MohitBest way is to try to catch it in the debugger. If you search the internet, other folks have had problems. Some are bugs in the google chrome version of Flash, but for others, small differences in the stage size caused their app to never finish its initial layout.
-Alex -
I created a master fla and swf files to load into the master
file externally. Everything loads into the master file just fine
when I view it in flash or flash player. However I need to add a
background to it along with a couple other things that I only now
how to do in dreamweaver. Dreamweaver will load the master flash
swf but it wont load the external swfs. Please help if you can.
Thanks.I am not sure I completely understand what you are trying to
do. Can you give us a link to the page in question? -
Iweb not loading properly to server?
Hi I have used Dreamweaver in the past but decided to try iweb this time. I built a site www.southernlakestravel in iweb and have both published it to a local folder for safe-keeping and also to my webserver (2day.com) . I have also tried to ftp the site in dreamweaver. My problem is that all the fites load onto the server (whether published directly from iweb or via dreamweaver ftp) BUT I can almost never get the navigation bar to show up - just appears as a little dot on the top left side. I also note a lot of the images are not loading properly. If I resize them in photoshop to fit then it seems to be more secure. When I look at my files serverside and remoteside I have the folder name, the index file then the subfolder name with all the page files and a second index file and the script files. I notice that the script files include a js navigation menu. Is there a problem with the heirarchy of these files and whether the main index page can "pull these". Should the server be looking to document or root folder. I am at my wits end to know what to do. I can click on links between pages (click on activities in the above page and then go to some of the links shown), but basically the pages load without the iweb style navigation menu showing up at all and with many of the photos only half showing. Also, why does it become southernlakestravel/southernlakestravel?
I am about to give up on iweb.
Meg.You have the double domain name because the second one is your site name - you gave your site this name in iWeb and you can change it to something shorter and more suitable and then this won't happen.
As you have seen, it is the way that iWeb works - when you publish to a local folder, iWeb produces a site folder with a separate index.html file - there is another index.html file inside the site folder itself so what you need to do is upload the site folder to the root folder and then you upload hte separate index file that will sit outside the site folder and point in towards it.
The iWeb page template navigation menu is javascript based and sometimes if there is a black dot, this means that all the files are not being uploaded to the server correctly.
It would suggest that you publish your site to a local folder and then view your site by opening the html pages and seeing if there is a problem there before you upload your site.
i would then suggest that you then use something other than Dreamweaver to upload your site - download Cyberduck for free - this is a dedicated ftp programme and may be better than Dreamweaver for uploading. With Cyberduck, you can see exactly where everything is being uploaded to.
In the end, if you really want to eliminate your site name, then you can - you just need to upload the contents and the contents only of your site folder. This means that you will not need the extra index file - simply select all the contents of your site folder and upload these with the index file that is in there already. If you do this your url will just be http://www.domain.com/page name.html without the site name at all. -
My page is not loading correctly after server work? Help?
A couple of days ago I was having issues uploading files to my webserver and come to find out, they were working on something on their end.
So okay. But now, certain pages on my website are not loading correctly. These are not necessarily pages I was working on during the issues
with the server. Whats more, they appear to load fine in Mozilla, but they don't load correctly in Chrome. Chrome is what I have been using lately,
and I did not have any issues with these pages prior to a few days ago. Basically the formatting on the page is all screwed up. I contacted the techs
on the sever side and they said it what outside their scope and said it was likely server/script incompatability??? I have no idea what this is or why
since my page was working just fine a few days ago. The "home" page loads correctly, but basically if you click on "About" , "contact" or any of
the other pages you will see what I mean if you are using Chrome (unless it is actually my computer?) I would appreciate any input you might have,
and here is the link to my page:
http://rickcicciarelli.com/AntiqueTargetThrowers.htmlSo I realized that I must have messed with the screen resolution by accidently touching the touchpad on my laptop. So it appears, that the page loads funny in certain screen resolutions. What doesn't make sense is that the laptop will be set at a certain resolution and the "home" page loads properly, but the other pages shrink down and load funny. So when I change the screen resolution to what it is 'suppose' to be, the page loads fine. So this begs the question, why should it load funny in a different screen resolution?
-
Any reasons SWFs will not load into an application?
I've loaded thousands of swfs before into applications/components, but now I have an application (component) that won't load a swf - no matter where I put it, not matter how I load it (I've tried using a static <mx:SWFLoader source="test.swf" /> with the test.swf in the same directory as the component). I've also tried with a combination of the SWFLoader control with ActionScript and I tried loading it using all ActionScript (var loadTheSWF:SWFLoader = new SWFLoader() method).
I even wrote a test application to load the test.swf - that loads fine.
This particular component is very busy, I'm wondering if I've just "maxed out" the components ability to do more? Or confused it somehow with namespaces and import statement. At a loss here.
Any insights welcomed.
Thanks.The SWFloader appears on the screen with a broken link graphic in its place, but it can't seem to "find' the swf. I have tried four different swfs. I even created one with a simple 50-frame animation with no AS that will not load. All these swfs will load in another application, just not this one for some crazy reason. I may have to break down the whole comonent, or do a work around.
Thanks. -
JDEV 10.1.3 XML Editor does not load XML file
I am trying to edit a large (300MB+) xml file with JDEV 10.1.3 running on a Windows XP Pro workstation with a 2.8 ghz processor and 1GB of memory. The XML file has application data in it. The file loads just fine into the Oracle database using the XML Developer's toolkit so I don't thing there is anything wrong with the XML.
I'm finding that the XML editor does not load the file. Many minutes elapse, then JDEV appears to simply give up - JDEV is no longer busy. There's no XML data to edit - that window is empty. There are no error messages displayed.
I'm new to JDEV so I need to know if there is an error log file I should examine.
BTW, other XML editors (XML Spy, Stylus Studio, etc) simply run out of memory and lock up the machine - it appears they are tryign to convert the XML file contents into 32-bit unicode in memory, build a list of pointers to impose a DOM-like structure, and then load their editor.Do you really want to manually edit the 300MB file? how much scrolling will you need to do to get to the last row?
In any case it is likely that JDeveloper also runs out of memory - you can try running the [jdev-root]\jdev\bin\jdev.exe file and see if you get any error message in the log window.
Maybe you are looking for
-
I have done all of the steps that Apple have said to do, including completely restarting my phone and registering it as a new one, but still my wifi is greyed out, can anyone help me?
-
Problem with acrobat 9 when validating text fields
Hello I've been using a script to provide feedback for my English Students. The correct input turns the backgroundcolor to green, an incorrect one turns it to red. This script has been working fine for many years including Acrobat Reader 8, but versi
-
I want to spend £1000 on a Mac...I'm tempted to go for an Intel iMac, but I'm also keen on a laptop of some kind. I know that it depends on whether I want to take a computer with me to places, but there doesn't seem to be any laptop equivilent to the
-
Disable the default "Start my camera" button for rtc WebcamPublisher
Hello, I notice in the samples that WebCamera displays the cam. Is there an easy way of disabling the "Start my camera" button? I wish to control this from the app itself. <rtc:WebCamera width="65%" height="396" id="webCamPub"/> I notice in the WebCa
-
Windows O/S running in the virtual machine has frozen does not want to shut down
Our old Windows-based PC is a virtual machine on our iMac (it is accessed using VMWare Fusion 2). The Windows XP Home Edition O/S froze when booting, and cannot be shut down by sending a Ctrl-Alt-Del or Force Quitting VMWare Fusion. Putting the iMac