Flex :: Unable To Invoke CFC Remotely
May 18, 2011
We recently updated to ColdFusion 9 (from 8) and Flex 4 (from 3).
Now receiving below error when attempting to load Flex portion[code]...
Do we need to re-export the Flex project to fix problem or maybe code from /flex/remoting-config.xml needs to be updated?
View 1 Replies
Similar Posts:
Jul 29, 2010
Getting this output from the following code, video streams OK but fills the output log with.Error #2095: flash.net.NetStream was unable to invoke callback onFI
var nc:NetConnection; var ns:NetStream; var nsPlayer:NetStream; var vidPlayer:Video;
function init() { nc = new NetConnection(); nc.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus); nc.connect("rtmp:///video");}
function onNetStatus (event:NetStatusEvent):void { trace(event.info.code); switch(event.info.code){ case "NetConnection.Connect.Success": displayVideo(); break; }}
[code]...
View 1 Replies
Jun 11, 2011
I am trying to use automate a web + flash application. Our dev have provided me ExternInterface APIs, which we are able to invoke using Watire and IE. However same thing is now working on FF 3.6 and watir-webdriver/webdriver/firewatir. I am tending to assume that this is not a problem with either of the automation tool, but FF itself. However other part of our product uses js to invoke other APIs and they are working fine. So I am not able to zero in on browser or automation tool.
View 1 Replies
Nov 13, 2010
For classroom, how do I actually able to remotely control 100's PC from a master application? Like control the student who also using Flex application is possble with XMLsocket?
View 3 Replies
Feb 13, 2011
I have an application built on Flex 2. I am writing a new application (module based) in Flex 3. Will these be able to co-exist? Can I invoke Flex 3 module from Flex 2 application?
View 1 Replies
Jun 10, 2010
I have a Flex app that uses Flash Remoting and the RemoteObject to pull data from a ColdFusion CFC. About 75% of the time it works, but the other times I get a message using Charles (a debugging tool) that says faultString = "Unable to Invoke CFC". FaultCode = "Server.Processing".
Here's my RemoteObject:
<mx:RemoteObject id="carsSvc" destination="ColdFusion" source="ca.sqmIDash.cfc.sqmIdash">
<mx:method name="getCARs" result="resultHandler(event)"/>
</mx:RemoteObject>
The server set up on our web farm is to use load balancing. I'm not sure if this is causing the problem or not. Probably not, but it's a thought.
View 1 Replies
Sep 30, 2010
While this is similar to another post, that post (does not indicate how to perform this (if it can be done) without instantiating an object. Also, without success I have tried multiple variations on the theme of:
class[method](arg)
class[method].call(arg)
method.apply(class, arg)
I have used Reflection in both C# and Java. BTW, the code that I am attempting to get to work in Flex is mirrored in both those languages and works as expected.
Non-functioning Flex Code:
private function ipMethodTester( ipMethodName:String,
shouldPass:Array, shouldFail:Array):void
{
[Code].....
View 1 Replies
Feb 20, 2011
I create a swf with flex. Than I embeded that swf into aspx page.But how can I access/invoke/call swf function from asp.net???
View 1 Replies
Nov 23, 2010
How can I find the return value of a executable which has been invoked by a AIR app using the NativeProcess API? I am using Flash Builder 4. The following c++ generated executable
festival --tts "HelloSpeak.txt"
works fine on the Windows cmd line , but on invoking by the NativeProcess API like in the example article doesn't produce the desired result. I invoke the command with the arguments on a button click handler, but there is no TTS generated output.
View 1 Replies
Dec 15, 2010
I have a component where I expose the property 'questions' with the following code:
private var _questions:ArrayCollection;
private var questionsChanged:Boolean;
[Bindable("questionsChanged")]
[Code]....
In this component, I use commitProperties() to implement my logic.
I use Cairngorm and the 'questions' is in the model and hence it's defined as a source for data binding.
When the 'questions' ArrayCollection's size changes elsewhere in the application, it is not invoking the setter method in the component that is destination for the data binding.
View 1 Replies
May 24, 2011
[Code].....
getUser was already in UserService.java. I just created getUser2 and it's identical to getUser. When I try to call getUser2, i get the "Cannot invoke method" error. question: Do I need to specify getUser2 in some other file? like in some configuration file? if so, which one and how do I do it.
View 1 Replies
Feb 16, 2011
I don't have a sking on my f4v file, it doesn't play in the server but it plays locally[code]....
View 1 Replies
Nov 30, 2009
I have a UIlLoader component that loads external images okay locally, but when i tested it remotely it doesn't work. Below is the code i used. I have a movieclip called content that holds my UILoader component and beside the loader is five buttons that when clicked....loads in my images.
Code:
// Listeners...
content.maryPic_mc.addEventListener(MouseEvent.CLICK, loadPic);
content.lemonPic_mc.addEventListener(MouseEvent.CLICK, loadPic);
content.orangePic_mc.addEventListener(MouseEvent.CLICK, loadPic);
[code]....
why this only works locally? I have doubled checked the directories and for the life of me, i can't work it out!
View 3 Replies
Jun 11, 2010
I have a couple of methodology questions concerning an .fla file I'm working on. I made a flash gallery here. As you can see online the images fade in as they are loaded dynamically via the loadClip() method.
I would prefer them to load more like this. Is it possible to load an image to a variable instead of a MovieClip that exists on stage via actionscript?In other words, at the moment the script loads images as you go. I would prefer if I loaded all the images first and then ran the script to render, view, and navigate the images.
In addition to this if you download the zip file with the flash file, source code, and example you'll notice that the position of the images and the text is more accurate than when viewed in a browser. I thought flash was a self-contained entity and that it would run identically on all platforms / browsers / online / offline / remotely / locally.
I know a lot to ask in one post, but I think the script can benefit you as well as me if you just download it and take a look. I'd love to hear suggestions as to how to remedy the position of the images and text.
View 1 Replies
Jul 15, 2010
I have a zoom slider, code is in red. I have buttons on stage (site39_mc). The zoom slider can be moved manually, that works fine. I need for site39_mc to move slider to 100% scale, no matter where it is currently located. The zoom slider goes from 50% to 200%.Trying to use the code below I get an error._root.slide_mc.onClipEvent(load){ The error is asking for a field name after the "." I keep looking at it, and this is proper reference. URL...This is the site where I am trying to use this code. To see what I mean, click on a gold polygon on map. The map will snap to 100% and center on polygon. But the zoom slider stays at 75% til you manually move the slider.[code]
View 2 Replies
Jan 26, 2011
I create a movie on imovie. I take it to Flash(CS3) and publish it as an swf file I then install that file in Dreamweaver. All is good I save and preview it locally. the file's root folder is images and same remotely I upload all including the HTML page and when I view the page, the place where the file is is blank.
I have uploaded this many times and it just wont work.
View 8 Replies
Dec 6, 2009
I'm looking for an AS3 function to get the filesize of a file that is being hosted on a remote webserver. Tried to find some functions but didn't succeed.
View 3 Replies
Nov 13, 2009
I've discovered something odd. When I load an swf from another server into an object/embed, it seems to kill the getURL function in Firefox and Safari, but not in IE.
View 1 Replies
Dec 3, 2009
I'm trying to make an application, should allow admins to edit XML variables remotely. So you don't need to upload the file every time you edit it! I though, modifying a guestbook file could work: Variable Editor, as you can see, it loads the variables into the board and you can also edit it, the first variable get edited but the 2nd one doesn't, strange
ActionScript Code:
var currPage = 0;
var showAmount = 10;
previous._visible = false;
createMessage._visible = false;
createButton.onRelease = function() {
[Code] .....
View 0 Replies
Jul 13, 2010
I have a zoom slider that works properly. Yahoo! Now I need to be able to control the slider from various buttons located on the stage. The zoom slider goes from 50% to 200%. When a button on the stage is clicked I need the slider to go to 100%. Here is some code...
Code:
stopAllMCs = function(){
map_mc.site39_mc.gotoAndStop(1);
[code].....
View 0 Replies
Nov 19, 2009
I have a zoom slider, code is in red. I have buttons on stage (site39_mc). The zoom slider can be moved manually, that works fine. I need for site39_mc to move slider to 100% scale, no matter where it is currently located. The zoom slider goes from 50% to 200%.Trying to use the code below I get an error._root.slide_mc.onClipEvent(load){ The error is asking for a field name after the "." I keep looking at it, and this is proper reference. [URL]This is the site where I am trying to use this code. To see what I mean, click on a gold polygon on map. The map will snap to 100% and center on polygon. But the zoom slider stays at 75% til you manually move the slider.
Code:
stopAllMCs = function(){
map_mc.site39_mc.gotoAndStop(1);
map_mc.site40_mc.gotoAndStop(1);
};
[code]....
View 2 Replies
Oct 11, 2005
My main movie loads "contact.swf" which has the email form in it that references "email.php".The form gives the completed message locally when running from the main movie but when I upload it nothing works.
View 5 Replies
Jun 11, 2009
I'm using a flash video player plugin and everything works great locally, but when I upload everything on the server the videos are not played...
is it about flash player security restrictions ?
View 1 Replies
Oct 30, 2009
i know this sounds stupid but just can't do it, how do you make another object appear on the press of another button or movie clip?
View 8 Replies
May 5, 2010
I've created a custom MouseEvent in Flex:
package {
import flash.events.MouseEvent;
public class CustomMouseEvent extends MouseEvent {[code]....
From MXML i'm doing this and it doesn't work as well:
<mx:LinkButton click="dispatchEvent(new CustomMouseEvent(MouseEvent.MOUSE_UP, bookmarksRepeater.currentItem.tags))" />
View 3 Replies
Feb 25, 2009
Is there a way to invoke a function using the function's name if it is stored in an array?[code]...
View 2 Replies
Feb 28, 2012
I have created a style in which i am defining a font family.When i apply this style to label it reflects the font were as there is no change when it is applied to a spark button.I Tried various way to Apply font style but it doesn't work.Other properties work fine except font family. Even i tried creating skin class and set the font family style of label in it. While previewing the skin i can see the changes but when i apply it to buttonApproach 1
@font-face{
src:url("HARNGTON.TTF");
fontFamily: MyF;
[code].......
View 2 Replies
Aug 14, 2009
I've made a little game in Flash, and I want it to have an online leaderboard. But after looking into it, it seems it's complicated saving a simple .txt file because of security, and the tutorials I have tried to use, using PHP to do it, have not worked, not even the excercise files. So I was wondering if anyone have either a working tutorial or code to save a simple string in a txt file, or know another way of saving data remotely?
View 13 Replies
Sep 30, 2009
I have a preloader which loads an external swf. When I test locally, everything works fine, but when I test remotely: Preloader runs.External swf doesn't load into preloader. I am using the contentPath to load my external swf, and the only as2 I am using is: on (complete) { this._parent.loaderPB._visible = false; this._parent.mcbgdloader.visible = false;} to hide the progress bar and graphic used in the preloader.
I hope I provided enough info. The preloader is a regular fla and the external uses screens.
View 1 Replies
Oct 4, 2010
Can you access the FMS Start Screen to verify installation remotely? We have a new FMS 3.5.4 installation set up by our IS team, but cannot remote directly into the box to verify the installation per the installation guide. Is there a URL that can be used to access the FMS Start Screen if FMS was installed with Apache?
View 1 Replies