ActionScript 2.0 :: WSDL - Movie Web Sites Obtain There Info?
Apr 16, 2005
how movie web sites obtain there info?? Check out this link to see someone elses app that gets movie times and stuff.. its actually macromedia dev central... intsall it.. and check out movie times.. [URl] I am curious about building one of these movie apps myself..
View 1 Replies
Similar Posts:
Jan 3, 2003
I have been trying for a few days to obtain information about the users of sites. No success so far.In flash I am using:
loadVariablesNum("mailPHP.php", "0", "POST");
My php code is:
PHP Code:
<html>
<body>
<?php
$mail_to="northls@nbkayaking.com";[code].....
I know I have made an arseup somewhere.
View 14 Replies
Mar 1, 2006
I would like to write a flash program that obtains the viewer's IP address, then obtains the viewer's state, and then according to the state it shows a particular picture. So if I put this flash on my website and someone from Massachussetts looks at my website they will see a picture of a MASS license plate, but if someone from NJ looks at the same site they will see a picture of a NJ license plate. I am familiar with some PHP, HTML, java-script and I have done alot Flash graphics work but I have not done any ActionScript which will need to be used here.
View 4 Replies
Mar 16, 2011
I am making an intro movie for my site and I have no idea how get the movie to re-direct to my sites homepage after the movie ends
View 5 Replies
Jan 13, 2010
today I'm trying to get the URL where my Flash movie is sitting on.
I found a similar question here, which was answered with a link to Flash's LoaderInfo method, but I'm not sure I'm using it correctly as the textField in my test movie here: [URL] does not display the URL
Updated! WORKING CODE
All I needed was this: stage.loaderInfo.url :)
package {
import flash.display.Stage;
[Code]....
View 3 Replies
Jun 24, 2010
I have some scrolling content (info). I've also made my own scroll bar.I want the scrollBar dragger to be positioned in relation to the info._y as the user scrolls info.I have created two vars: one that worsk out where info._y is as a percentage and the other that works out where the scroll._y dragger should be as a percentage...
Actionscript Code:
var scrollBarPercent = Math.round(scrollBar.dragger._y / [code]........
also onMouseWheel working too.I need a small bit of code that takes the % of info._y and moves the scrollBar dragger to the same % but in relation to the Stage.height...so if projectGalleryPercent = 50%, make dragger._y 50% of Stage.height using scrollBarPercent.
View 1 Replies
Dec 28, 2011
Ok, in a nuthsell I am looking to write a piece of actionscript using an included PHP file that connects to a mySQL databse. Depending on the result of the database, I want to know if its possible for the actionscript to then control a movie clip.Ok I'm probably not making an awful lot of sense, so I'll basicaly lay out what I want to perform (if it is at all possible).The flash file will essentialy be a map of the world and will list certain ports (i.e. New York Harbour, London Harbour, Sydney Harbour). The flash file then connects to a database to find out if each harbour has a sailing ship present. If a ship is present at the harbour, a movie clip of a ship would be turned on for that particular harbour, if no ship is present the movie clip would remain hidden.
View 2 Replies
Sep 30, 2002
Is it possible to pass info from one movie clip to the next e.g.value of a Radio Button selected, can this value be passed from one movie clip to the next.I know this can be done in different frames in one movie but I really need to be able to pass it to a different movie.
View 14 Replies
Oct 2, 2009
I recently came across interesting banner that said something "You've been wasting time online for 4:30h do something useful finally, click here"What grabbed my attention, was that this flash banner actually got the time right, I logged in 4:30h ago. How did the flash know that? Is there a function that communicates with browser and checks how long it's been on? Javascript maybe? Same way it accesses getTime, getDate etc.
View 0 Replies
Feb 16, 2011
I'm quite new to A.S and lately i got a problem when trying to trace the info of an attached movie clip.I created 2 movie clips named "test" and "testChild". In actions frame of "testChild" i put this:
[Code]...
View 5 Replies
Nov 2, 2006
Ok, in a nuthsell I am looking to write a piece of actionscript using an included PHP file that connects to a mySQL databse. Depending on the result of the database, I want to know if its possible for the actionscript to then control a movie clip.
Ok I'm probably not making an awful lot of sense, so I'll basicaly lay out what I want to perform (if it is at all possible).
The flash file will essentialy be a map of the world and will list certain ports (i.e. New York Harbour, London Harbour, Sydney Harbour). The flash file then connects to a database to find out if each harbour has a sailing ship present. If a ship is present at the harbour, a movie clip of a ship would be turned on for that particular harbour, if no ship is present the movie clip would remain hidden.
View 4 Replies
Sep 8, 2009
Flex Builder 3 provides support to generate actionscipt from WSDL via the GUI ( Data->Import Web Service (WSDL) ) - but this sort of method requires that you check in the generated source. This is not desirable to us (we understand both sides of the 'should generated source be checked in' and we have decided that they should not) so we would like a method to generate the actionscript classes from an ant task. In this case, the WSDL would live in the file system.
View 2 Replies
Feb 25, 2010
As part of a nightly build i want to automate the generation of action script classes like Flex does but in an automated fashion. So I'm looking for an equivalent tool to flex builder 3's Import Web Service functionality, but accesable to a Hudson nightly build using ant.
View 1 Replies
Aug 3, 2011
I have a flex app that loads a WSDL at runtime and shares that across several different web services I have defined. Unfortunately each call to loadWSDL() makes a network request for it, and while it's not really a problem due to caching it's still annoying and wasteful to have all those requests generated. Is there a simpler way to solve this problem and only make one network request?[code]
View 1 Replies
Apr 6, 2008
I start the service in Actionscript with:[code]My issue is that the server that my WSDL is on, seems to be very slow, and the WSDL file is very large. So it takes around 5 seconds to initially grab the WSDL file. This wouldn't be too bad, but for what I am doing I need to create about 5 or more WebService objects all using the same WSDL (this is a must). It seems pointless to download the WSDL for each new object when I know it is the same.What I am wanting is a way to maybe cache the WSDL locally, or in flash(maybe as an XML object), then apply it to a new WebService object. Or even if someone could tell me how to access the data inside the WebService Object and apply it to a new one.
I have tried a few ideas. I tried using a "clone object" script to clone the WebService object once the original has loaded the WSDL. But it crashed flash because the loop is too big.Is this a case to use a "prototype"? I'm not too sure what it even is. Would it be useful in this situation?
View 2 Replies
Jun 28, 2009
I'm using WebService class with WSDL.How to list available operations in WSDL and their parameters?There is operations property but it's empty.
View 2 Replies
Apr 21, 2011
WSDL defines a number of datatypes supported by web service . Is there a documentation stating the various equivalents of those datatypes on flex side. In general for any language that we use to consume web service, how do we get to know the equivalent datatypes of the wsdl types.
One of the web service that I am consuming is returning base64Binary (an image binary data) , What is the equivalent datatype of this on flex ?
View 2 Replies
Jul 4, 2011
General information:
I use Flex 4.5
I use FlashBuilder 4
I generate the WSDL using JAX-WS 2.2 (via a GlassFish 3.1 AS)
I want to have a web service that returns a list of clients.
In the Java code, I have a base class for a Client, and 2 extending classes:
public class Client {
public String getName() {
return this.name;
[Code] .....
View 1 Replies
Oct 31, 2011
I'm trying to consume a .Net web service of mine in a Flex Builder 3 project. The function's signature in the service is:
bool MyFunction(Enums.Channels var1, Enums.Payments.PayMethods var2)
I tried importing the WSDL with the wizard but when I tried to call the web service it results in an error stating
"Cannot marshall type "http://www.w3.org/2001/XMLSchema::EnumsChannel"to simple type"
What kind of object do I need to create in Flex Builder 3 to pass into the webservice so that it will recognize it as the appropriate type? The wizard is not correctly creating the appropriate type. Here is the xsd for the enums.
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/My.Shared" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/My.Shared">
<xs:simpleType name="Enums.Channels">[code]....
I'd like to try to build my own objects to call the service myself (without the wizard).... created the mx:WebService and mx:Operation but not sure how to handle the enum parameters.
View 1 Replies
Mar 7, 2011
we have an internal webservice developed in our company and i have connected that web service using flex and am able to get all the methods/operations from that service. but wen i try to get data from methods i get the following error msg while running the applicationSecurity error accessing urlUnable to load WSDL. If currently online, verify the URI and/or format of the WSDL (http://ispl30:8080/MGEMWS/MGEMWS?wsdl)am not able to figure out what the problem is?
View 1 Replies
Apr 20, 2011
i am trying to add a web service in flex 4. This web service is deployed in share point 2010 in the intranet . I am able to see this wsdl file through browser but trying to introspect the service is giving an authentication error. I am getting the following error :-
There was an error during service introspection.
WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'http://sql2008:47672/_vti_bin/StoryboardingDatabaseConnect.asmx?WSDL'.: java.io.IOException: Authentication failure
View 1 Replies
Mar 17, 2010
I am developing a Flex application on top of Mate framework. In this application, I am using a webservice to retrieve data.As this webservice as not a fix location URL (depending on where customers installed it), I define this URL in a config file.When the Flex application starts, it first reads this config file, then I would like to use the value I found to initialize the webservice.But currently, I have no idea how to this.
[Code]...
View 3 Replies
Mar 20, 2011
I hope this problem would not waste your time. I use Adobe Coldfusion 9 to create CFC to to interact with database. Generally, CFC can be generate WSDL by itself. for example:[URL]..
The WSDL was generated well. But the problem has been found when I tried to use Adobe Flash Builder 4's Data service to generate service class to connect ColdFusion's WSDL.
If you tried to invoked the remote function that return primitive data type as int or String, it works correctly.
[Code]...
View 1 Replies
Feb 28, 2012
i have a question to ask, and im really new to this script. i try my best find this solution but i didnt have enough information about Flash AS2.0 Connect with RESTful Services. i have server link "[URL]" if it WSDL link i know how to connect it using Webservices Class on Flash COmponent. but to this RESTful Services what actionscript code to connect with that link. any information about this action that can share with me?
View 2 Replies
Aug 16, 2011
The requirement is to get the method named getIncidentList() from web service using Soap and wsdl using Flex or Actionscript.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:WebService id="DirectoryService"
wsdl="http://cmuicds.rutgers.edu/uicds/core/ws/services/DirectoryService.wsdl"
useProxy="false"
[code].....
View 1 Replies
Mar 11, 2010
I have problem with obtaining variables from php script.
Here is my php script
<?php
echo "&Files=1,2,3";
php>
And now in the actionscript 2.0
var GVars:LoadVars = new LoadVars();
var Pictures:Array = new Array();
GVars.onLoad = lVars;
GVars.load("[URL]");
function lVars(){
trace("Files: " + this.Files);
Pictures = this.Files.split(",");
} trace("Array: " + Pictures.length);
Here is the output in the trace window
Array: 0
Files: 1,2,3,
As you can see the first is Array:0 which means that actionscript ran first trace
("Array: " + Pictures.length);
End then lVars function. I cannot load variables from php in correct order.
View 4 Replies
Oct 14, 2010
Situation:I've got 2 swf files,1 is a preloader which loads the 2nd swf file, my site.Both of them, if started separately,work correctly.Problem:when I put the files together,linking the site's swf to the preloader,I get a null element error and the site loads no correctly.What I've understood :The preloader is ok, because I can remove the error message working on the site's swf AS code.In the preloader's code I have some lines to center its animation on the stage, I do that like this:
import flash.display.Stage;
var myStage:Stage = this.stage;
then using myStage.stageWidth and myStage.stageHeight I calculate the clip position
Also on the site's code I do the same to center a movieclip using exactly the same code, but it doesn't work and I've found that the problem is the myStage variable, not because it has the same name as the variable on the other file (I've tried to name it myFrame).It looks that on the site's swf the myStage variable can't be assigned and then results to be null.
Question: How can I obtain the stage's height and width since var myStage:Stage = this. stage; doesn't work?
View 11 Replies
Apr 27, 2010
So I have a URL that I need my Flash movie to extract variables from:
example link: [URL].. I need to get the aID and the bID numbers.
I'm able to get the full URL into a String via ExternalInterface
var url:String = ExternalInterface.call("window.location.href.toString"); if (url) testField.text = url;
Just unsure as how to manipulate the String to just get the 1234 and 5678 numbers.
View 2 Replies
May 11, 2010
I need to get the fillcolor from a legendItem, howerver doinglItem.getStyle("fill") returns a different color than the actual legendItem marker color. Any pointers on what am I doing wrong here?
View 2 Replies
Dec 31, 2010
I want to obtain a list of methods available to a class, given its name. How can I do this?
View 1 Replies