Flash :: WCF Service Is Not Responding
May 10, 2010A Flash program is connecting to WCF web service hosted on a server without anti-virus and without firewall and windows server 2003 64 bit environment.[code]...
View 2 RepliesA Flash program is connecting to WCF web service hosted on a server without anti-virus and without firewall and windows server 2003 64 bit environment.[code]...
View 2 RepliesI am experiencing a strange problem when I want to bind a service to a button or something else:
[Code]...
I can add the services to the Data Services panel but I have two strange things:
1) when I want to configure the return type he doesn't let me create a new ValueObject type, I only get the bottom datagrid which states: Properties returned by the operation: Property: country_Id, provence_Id, city_Id, id_cdpc, district_Id with the related values on the right side. Why can't I create a new data type on the top?
2) When I accept this and want to add the service call to a button (drag&drop) I get the following error: Error occurred while generating code. Make sure that there are no compiler eroors and try again after reopening the file. Componentn type services.cdpc.CDPC not found... (ps: When I perform a Test Operation everything seems to be ok, I get the expected output values)
I am noob in Flex/Actionscript so I have the code where compiler doesn't show error but code returns nothing.[code]...
View 4 RepliesI am creating an animation using ActionScript2 on Flash Professional CS5 and whenever I try to export (or even test) my animation, the progress bar comes up but the progress does not move. Then after about a second the dreaded '(not responding)' appears at the top of the window and if you click anywhere it greys out closes it.f I leave it it doesn't export for ages (liteally like 3-6 minutes which is long for just exporting).It only has 280 frames and the .fla file so far is 9.96MB! Other animations I have made have had double the frames yet 5 times smaller a file.
View 1 RepliesWhen I listen to mouse click event on the stage, it seems it's not always responding to my mouse click event. what I have is:
stage.addEventListener(MouseEvent.CLICK, Test);
function Test(event:MouseEvent):void
{
trace("test");
}
I usually have to click a few times randomly on the stage to get the trace statement.
I thought when I add this event listener to the stage, it should respond to any mouse click within the swf area, no?
i build ed simple single threaded web server that i embedded to my application in Qt c++ this server are responding fine with simple html pages , but when i try to response with flash file embedded inside the html all the html string just got printed to the browser my question is what headers and http responses do i need to unable me to serve flash content to the browser
View 1 RepliesI'm making a puzzle game in Flash cs5/as3 which can have custom puzzle shapes. Basically, the user can draw basic protrusions of a puzzle. Then I create a black and white puzzle piece with a custom function like this var piece:PuzzlePiece= new PuzzlePiece(true,true,false,false); PuzzlePiece is a class that extends Sprite. The four arguments correspond to the four sides of a puzzle piece (up, down, left, right). If the argument is true, it means that protrusion should stick out of that side of puzzle piece. If it's false, it should have a hole on that side, so it fits the protrusion. I first attach the protrusions that stick out, then i flip the protrusions that stick in, attach them to a new sprite (in_part) and invert them with the following function:
[Code]...
I recently created a form in flash and managed to get it all set up so i receive it through e-mail,But, I do not see the info. on what has been typed in the text fields from someone responding to the form. what script should I be using to see that info, once it's emailed to me?
View 2 RepliesIs it posible to custom flash to behave like powerpoint ? can it move to next and previous scene by clicking on keyboard arrows or by using the mouse wheel?
View 1 RepliesI am very new to flash. I've built a movie clip, inside this movie clip there is a button. There button does not respond to clicks (when I hover over it my cursor remains the same). I know it's not a problem with the button, since when I put the button directy in the main scene it works just great.
Btw, I am using flash cs4 with action script 3
I have several stage event handlers to enable mouseovers over several dynamically generated moviecilps on the stage that then change their alpha to indicate the mouse is over that particular mc... fairly trivial (mcOver handler). Additionally, I also want to know what MC is clicked, so I update a public variable (public var activemc:Number) with the ID of the dynamic movieclip when the mouse is over it (using a hitTest to check, which is why the EventListener is added to stage and not to the MC), which is checked in the mcClicked handler:This is in the constructor:
//stage.addEventListener(MouseEvent.MOUSE_DOWN, startDrawing);
//stage.addEventListener(MouseEvent.MOUSE_UP, stopDrawing);
stage.addEventListener(MouseEvent.MOUSE_MOVE, mcOver);[code]....
However, the mouseover behaviour (alpha 0 when over, alpha 1 when out) stops working as soon as I click on any movieclip on the stage, and the mcClicked ID checking (below) stops working completely. I don't know if this is to do with focus:
private function mcClicked(event:MouseEvent):void {
myTextField.text = String(activemc); // activemc is a public var:Number with the movieclip //ID
}
I then tried adding the event handler for the stage mouse_move again and this gets the mouseover working again but only for 1 more click, after which it stops again:
private function mcClicked(event:MouseEvent):void {
myTextField.text = String(activemc); // activemc is a public var:Number with the movieclip //ID
stage.addEventListener(MouseEvent.MOUSE_MOVE, mcOver);
proper endpoint configuration for my WCF service to enable a Flash app to consume it.
View 1 RepliesI have a swf (flash) program that I projected to an exe file. I would like to run it as a windows service. I am able to install it as a service however the program does not work under local system account.If I change the log on as settings of the service to log as the current user, it works perfectly.Does anyone know why it would not work under the local system account?
View 1 RepliesI'm trying to solve a similar problem as was described here - to create a Windows Service for taking snapshots of rich webpages (html+js+flash) and saving them to a PDF file.
The bundle Firefox+cmdlnprint did the trick for me. I wrote a simple program running as a service that invokes Firefox to make a PDF. All seems well, the PDF gets created, but Flash is completely missing. Although, when started not as a service, Flash renders just fine.
Can anyone shed a light on what blocks Flash from rendering and if there's a workaround?
i want to call web service through flash actionscript i try this code(atteched)
View 0 Repliesusing kirupa's tutorial " Connecting to a Web Service using Flash" i have added Flash Builder's library into my flash project. I am using HTTPService class of Flex in my flash project. If I repeat this process in separate blank as3 file, its works perfectly fine. But when I only add the flex library in my working flash project, it stops working. No error, no warning. I am really confused. Where should i start troubleshooting? Just adding the library starts the problem, but when I add this in a new as3 flash file, it works fine. All settings are same in both files.
View 5 RepliesIs it possible to access Hardware service routine using flash?
View 2 Repliesi have some problem with a streaming with Flash Media Service I have an hosting with influxis with 512 kbps. this is my code:
[Code]...
I just finished making a WCF service for a little hobby project.
[Code]...
Trying to get my button to go to a particular frame in my timeline with this code:
festive_btn.addEventListener(MouseEvent.CLICK, goback);
function goback(event:MouseEvent):void{
gotoAndPlay("return_normal");
[code].....
I'm following a simple tutorial on making a platformer, but I ran into a problem. This is the code I'm using in a player movie clip:
onClipEvent(enterFrame) {
if(this.character.hitTest(_root.bg.ground)==false) {
this._y+=_root.gravity;
[Code]....
When I press the keys, nothing happens, but if I replace the if statement with a 1 then the code executes fine.
im using this method to load movies and create transitions between them for my site.. I have read the technique thoroughly and im fairly sure the code and structure I have used is correct however the loadMovie function called from an embedded swf is not doing anything and I cant work out why..on the main timeline there is a container movie that the swf files are loaded into, the intro sequence is loaded through an action on frame 1:
_root.currMovie = "introsection";
container.loadMovie(_root.currMovie+".swf");
this works no worries.. but when the container is targeted from inside the introsection.swf movie nothing happens, this is the code used:_root.container.loadMovie(_root.currMovie+".swf")I have tried variations with this and nothing works.. the container movie has the correct instance name and the code works from the main timeline but not from within another swf.
My flv files won't run if I move the folder where I have all the contents. How do I fix this problem so that I can run the flv's no matter where the folder is? I know this isn't exactly an actionscript problem since I imported them directly to the library and from there to the stage,
View 1 RepliesIn my main timeline, I have an image fade in and stop on frame 61. On Frame 61, the code below executes;
[AS]stop();
var placesXML:XML =
<places>
[code]....
Im working on a form in Flash/php. The form must contain the possibility of checking boxes, to order material on various services. My challenge is this: How do I make it possible to check more than one box/service at a time? As it is now, when you check box/service no. 2, the first one checked goes back to inactive. I think that the problem is, that I have used radioButtons and not checkboxes from the start. how to make the technique work all the way through (in AS as well as PHP)?
View 2 RepliesIs it possible to call a web service from within Flash (using AS3)? Or is the best idea to put the flash movieclip in a Flex container and use the Flex Libraries?
To be clear, when I say within Flash, I mean within the Flash CS4, AS3 programming environment.
About 1,5 years ago, met with a Web site. On the website you can upload multiple pictures of the object taken from different sides, and the site gave me a flash movie with my object but in 3D. Very similar to what it is now showing photos in Google maps.
Tell me where I can find a similar service or a script?
I have a MS Access query ProductDetailsAll that is queried using an ASP.net web service. The service simply fills a data table with query results. How do I setup and pass parameters from Flash? I need to sear ProductDetailsAll for records having CategoryID 1 or 3 based on user selection. How is the CategoryID passed from Flash to the web service?
I have created rectangle objects in Flash. Each one must contain product name, description, price and the image from the ProductDetailsAll query. How do I pass the search phrase from Flash to the query? Do I use dynamic text boxes to house the returned values?
[Code]...
I'm trying to connect to a very simple .NET WCF web service (created in .NET 4.0) within Flash Builder Burrito and the process hangs on "Introspecting the service". I get no errors -- it just hangs. The web service is on my local network, although not on my local machine.
View 1 RepliesI have the first two values going to separate text fields on stage, and that's working great. However, I'm now trying to implement a switch statement such that the current condition icon value in the XML is read by my script and the corresponding PNG becomes the UILoader source value. First and foremost, is UILoader the best component for use in displaying a PNG on stage?Here's my code thus far:
var src: UILoader.source=uicondicon.source;
switch(src){
case "0 PNG":
[code].....