ActionScript 2.0 :: Connection To XML Page Not Working?
Mar 15, 2010
Code:
var theXML:XML = new XML();
theXML.ignoreWhite = true;
theXML.onLoad = function() {
[Code].....
theList is a listBox. So it should show up in the list box. Instead, it's just coming up blank and loading nothing.
View 10 Replies
Similar Posts:
Mar 21, 2012
Because of my version of Xcelsius I'm limited to 2 web service connections so I tried using XML Data connection and aspx page to bring data from database to Xcelsius.I have an ASPX page that outputs an xml file with the format
<data><variable name=""><row><column></column>...</row></variable>...</data>
In Xcelsius I made a XML Data connection having the XML URL pointing to the .aspx page that should output an xml. Then I have the Enable Load checked and I have selected the proper # of cells and rows . If I try preview I get
"An error has occurred. For more information, contact the file creator or yoursystem administrator. Error: Error #2032 Connection Type: XML Data".
I have the crossdomain.xml file on both the application folder and IIS wwwroot folder that looks like this:
<?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="*" secure="false" />
[code].....
If I put in the XML URL in Xcelsius, the url to the xml file directly without using .aspx to write it to the output of the page it works. The xml is in the same application folder as .aspx page.My scope is to use the .aspx page to write query on the database and output back an xml with the table in the correct xml format so I can then consume the data in Xcelsius.
View 2 Replies
Mar 11, 2011
I'm trying to communicate my SWF file with PHP using Zend_Amf. I compile the flash side using Flex SDK 4.Whenever I try to run the swf using the stand alone player (the projector), I always get a NetConnection.Call.BadVersion event. However, when running exactly the same file thorught the player of the browser (even not thoguht a server, just using the file:// kind of address), everything works OK, so I know my code is not completely wrong. However, I added the folder where my swf file is to the global trusted folder; and actually made sure that Security.sandboxType returns "localTrusted".
View 1 Replies
Sep 13, 2011
Im trying to make connection from flex to java and from java to mysql. I managed to connect to java, but having error that class not found: com.mysql.jdbc.Driver. But i downloaded mysql.jar, included it added to library, and connection works when i testing it from clipse scrapbook. Dont know what to do, i spend last couple days on this.
Class.forName("com.mysql.jdbc.Driver");
String username = "username";
String password = "password";
[code]....
Basically the solution was simple. Everybody keeps saying to put jar into lib folder, so i done it, but i wasnt realised that i have to put into my servers lib directory, not app lib directory and this miserable mistake cost so much. Anyway i hope this will help for some newbie like me.In this particular situation im using red5, so i putted it into my red5 dist/lib directory and "surprisingly" its started to work.
View 1 Replies
Mar 16, 2010
we have a two way webcam + mic connection set up using FMIS. we use to add a function that kills the connection?
View 2 Replies
Feb 22, 2011
I have started the vhost setup. I have cpanel on the server and I added the domain and it resolves to
the hosting account just fine pull up www.domain.com and goes to server.
I added the www.domain.com vhost. I pointed the application dir to /home/domain/public_html/applications/
I copied live over to applications dir. I setup user and pass for the virtual host login.
View 3 Replies
Dec 15, 2011
I have a weird problem,Flash banner is working "clickable" if the page url have preceding "www" and not working if not,So the if the URL in the address bar was [url]... the banner will be clickable and will redirect you to the link embedded in it, if the URL was [url]... the flash banner will not be working.
View 1 Replies
Jan 26, 2009
i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,
function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....
View 0 Replies
Jan 9, 2010
I have a problem with my contact page,when I fill in the fileds,and click on SEND, the information is supposed to clear from the fields, and send to the specific email addressI am hosting with they support php, but for some reason they tried to say they cant do it for spam reasons??? I have given the read,write permissions
<?php
$sendTo = "degrees28@hotmail.co.uk";$subject = "Enquiry from Your Website";
$headers = "From: " . $_POST["name"] . "<" . $_POST["email"] .">
[code].....
View 17 Replies
Jan 18, 2010
I have a task to figure out why the contact page isn't working.is my site
PHP Code:
<?PHP
$to = "sven@peachypro.com";
$subject = "OEX Charters";[code]................
View 1 Replies
Apr 19, 2009
I am working on one project which have 7 links. HOME:TRAINING: WEBSHOPERODUCTS: CONTACTS: SERVICE. all this pages are in one movieclip called PAG with appropriate names to moviclip and frames.I am having problem with Home page i hv some icons which shld take user to links. but its not working .and same link works fine with training page.the link in training page is :
on (press, release) {
_root.pag.training.gotoAndStop("t2");
}
View 1 Replies
Mar 14, 2011
I'm busy making a page scrollbar with the code below. All visable stuff is on stage. But when i render the movieclip the bar isnt working at all
- selecting the dragger doesnt seem to work (on click function doesnt work)
- cant drag the dragger down.
- thus no scrolling
the fla is 9 mb so i didnt add it. the size is due to local pics whom will be replaced with dynamic content when the scrolling is fixed.[code]
View 3 Replies
Mar 1, 2012
we're having a strange problem on a project here. When we use NetConnection in combination with a NetGroup to initiate communication between two local AIR applications on Windows XP, they always both connect to the NetGroup succesfully and detect each other as neighbors. However, on Windows 7 both applications connect succesfully to the NetConnection and NetGroup both don't detect each other as neighbors.To reproduce this problem, here are two AIR applications:[code]
These applications can connect and send message to each other without a problem on Windows XP. On Windows 7 however, they cannot.Does anyone know why this wouldn't work on Windows 7 and what steps can be taken to make it work? It's critical to our project that this works.In some cases, the applications take quite a long time to detect each other as neighbors (up to 15 seconds in some cases), in other cases they detect each other immediately. Does anyone know what could cause this delay?
View 1 Replies
Jun 30, 2009
I'm trying to get a working .fla file of the .swf at the bottom of this page... [URL] I tried the free version of SoThink's decompiler, but all I got was a black box with lots of layers. I'm using Flash CS3.
View 1 Replies
May 26, 2011
I have a bizarre situation in IE where JS can't call up into flash using ExternalInterface after I hit "refresh". I know the movie is getting loaded and the code that does the ExternalInterface.addCallback() appears to be completing without any error Here's a rundown of the steps to reproduce:
Open IE and load up the movie for the first time, the ExternalInterface callback methods are available to JavaScript. If I hit refresh, the callback methods aren't available and I get the error Object doesn't support this property or method.If I clear my cache and refresh the page, they are available again.If I then hit refresh again without clearing my cache, they're unavailable.If I close the browser and reopen, they're available again.
I've run into this situation before and I'm pretty sure that the extra delay required to download and instantiate the swf is what's allowing ExternalInterface to get set up properly. The way I worked around this before was to add a random number to the end of the swf's url, so that it's never used from cache, but that's not a real solution.
[Code]...
View 2 Replies
Nov 27, 2011
I have created a website which consists of pages created from flash and dreamweaver (with embedded swf navigation bar at top of webpage)Once the home page is loaded there is a button to visit the page created with DW (with embedded swf nav bar). This works fine if I run the web from my computer locally.But if I write these entire website on a CD and access all the files from CD and then try to open the same html page from the same button in IE9; it does not work. It just keep showing the progress nothing happens. Interestingly, everything works fine on google chrome browser from the CD and also works fine from the other computer with Xp and IE8. But does not work on Windows 7 with IE9 from a CD specifically.
I have also tried to use the option in DW (called "Convert active content") for that page.which added that .js file and script on the html code. even after that does not work.I have also turned on the option "run active content from the cd" internet option for IE9 and "activex filtering" is also off on the security tab of tools of IE9.
View 5 Replies
Dec 17, 2010
I got a IP Communications new account having following paramters:
[Code]...
Its showing me connecting ... Status is not getting update like: "Connection Failed" or "Connection Success". how to use the above information in this app,
View 1 Replies
Jun 18, 2010
My Flash file is working but the html will not open and play. I've never had this issue before. I brought into Dreamweaver and saved it out hoping that might make a difference but still the same.
View 16 Replies
Jun 30, 2010
i created a slide show with buttons, when i test it in flash it works correctly but when i put it in a html page, it does not redirect you to the page when you click on it.
View 2 Replies
Aug 29, 2011
I just step into the task of printing jobs in as3. All I have to do is to print the text in a dynamic text field which is in a movieclip. The text filed has a scroll bar to show the rest of the content. I am using the following lines of code to print the page.
pJ.addPage(txtContainer)
I have also tried printArea and pageHeight,pageWidth, paperHeight, paperWidth properties. But still I am not able to control the margins of page.
View 3 Replies
Aug 30, 2009
I am using the following code for my Navigation in a FLash CS4 file:
stop ();
function buttons(event:MouseEvent):void{
gotoAndStop(event.target.name);
}
home.addEventListener(MouseEvent.CLICK,buttons);
services.addEventListener(MouseEvent.CLICK,buttons);
about.addEventListener(MouseEvent.CLICK,buttons);
contact.addEventListener(MouseEvent.CLICK,buttons);
It works great when I am on the home page, but stops working once I navigate to any of the other pages. I have an Actions layer and that layer extends the full length of all pages/frames of the timeline.
I have the frames labeled as such: home, services, about, and contact. (All are "Type:Name")
each button is named as such: home/ instance of "home", services/instance of "services", etc.
View 1 Replies
Feb 11, 2003
i am making a flash portfolio and am working on the "work" page.i have a bunch of links.i would like each link to open up a seperate window containing a graphic that is already in the library.so basically, what is the script to link to a graphic already in the library and have it open in a seperate window.(i just said the same thing twice.....)and also, is there any way to customize these pop up windows?
View 3 Replies
Apr 19, 2007
Has anyone found a solution to having multiple scrollers work on the same page? I tried applying different instance names on all components but that didn't work either. The AS below only allows for one scroller to work.
[Code]...
View 1 Replies
Dec 10, 2009
I need to embed a SWF on a website. The swf is this interactive map at [URL](where it says select your region). So I found the SWF file and I tried to embed it on a test page, and its not working correctly. [URL] I don't know anything about flash, but the code I used was this:
Code:
<embed src=" [URL] The map is showing up, but the continents regions are not click-able, and the drop down text is not showing the continents.
View 1 Replies
Oct 15, 2010
I am making flash page and i have put it on my test server:[URL]It works in ie and firefox but not safari. But when i try it in safari locally on my computer it works.
View 3 Replies
Mar 7, 2011
I am doing a simple login page application in FlashBuilder 4.0 & I have kept 2 input boxes like Login,Password and a submit button. On clicking the button I am calling a method, so far everything is working fine. But some how tabenabling is not working. suppose if you are in login inputbox and i press "tab key" it has to go to password input box.. but its not working. I have tried all the attempts using tabEnabled = "true". But still I am failing to do this.
View 2 Replies
Apr 30, 2007
I have designed a "Before-and-After" slideshow using Alpha tweens to slowly fade one image into another. The effect works great, however, it seems that the effect only works on the first time the user enters that page. If the user clicks the "play again" button, I reload the .swf and want the effect the play again, but it just moves from the first to second image, without the alpha effect transition.Is there some way to "reset" the .swf to replay the alpha tween effect? why it would have this behavior? The site and effect are purely actionscript, so I cannot do something like "goToAndPlay(1)" in the last frame, the entire site is only in the first frame.
View 2 Replies
Jul 1, 2007
I am creating a site, and I have this navigation system inside the portfolio page. But it is not working. So it is like this it is built. Default.fla is loading portfolio.fla inside a movie clip loader. and the portfolio.fla has a navigation system for different portfolio pieces. I have set up the first one to work (dasa design). so, I need the outro to play of hm1.fla (first file loaded) and then play the intro of the Dasadesign file. I know this has something to do with the depth and so, but I have tried many ways but not succeeded. files are found here! [URL]
View 3 Replies
Dec 3, 2008
in the SWF file itself, the mouse wheel works perfectly (using 28bit's code for the scroll) you can see it here...
but, when in the desired html, it doesn't.. check it out...
View 3 Replies
May 3, 2009
I have a home page and five other pages. The five pages have a main menu at the top containing buttons that allow you to go to the other pages:
on(release){
gotoAndPlay("gallery");
}
I have an actions layer. Each section has the following action in the first frame: stop(); When I view the website the home page works correctly. However, any page with the main menu automatically switches to the next page after about six seconds. The code seems pretty straightforward so I have no idea what I'm missing.
View 4 Replies