HELP: Problem using AS3 and CF-Flash Remoting CFC

I am trying to use CF flash remoting from an AS3 Class using
the NetConnection class. The approach I am using is directly from
"ActionScript 3.0 Cookbook" by Joey Lott et. al.
I am using a totally standard default install of CF, Flex and
SQL server on Windows 2003 R2.
When I do a CF Flash remoting call using,
_netConnection = new NetConnection();
_netConnection.connect('
http://pordev2.wcrt.xeroxlabs.com:8500/flashservices/gateway/');
_netResponder = new Responder(onGotData, onGotError);
_netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
_netResponder, 1, strtest);
all seems OK. The CFC returns the integer and string just
fine.
HOWEVER, when I also add an associative array, "aa", to the
string of arguments, I get an error...
_netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
_netResponder, 1, strtest, aa);
returns the error: "Unknown object type tag (17)"
The same error is also returned if "aa" is an XML variable
instead of an associative array.
So:
a) Is this a bug?
b) Is there an AS3 specific gateway I should have referenced?
c) Is Flash Remoting not yet supported in AS3?
Thanks you for your time,
Ned
=================================================================
Here is my test code:
<cfcomponent displayname="ProjValuationRemote"
hint="Returns an array of Project Header, Valuation and supporting
data recordsets">
<cffunction access="remote" name="getProjValuationData"
output="false" returntype="String">
<cfargument name="test1" type="numeric" required="no"
default=1>
<cfargument name="test2" type="string" required="no"
default = "a default string">
<cfargument name="AA" type="Struct" required="no">
<cfset testReturn = #test2# & ": TESTING -- This is
the return integer: " & #test1#>
<cfreturn testReturn>
</cffunction>
</cfcomponent>
public function requestVRD():void {
var strtest:String = "Simple test string";
var aa:Object = new Object();
aa.curDataSet = 86;
aa.curYear = 2007;
_netConnection = new NetConnection();
_netConnection.connect('
http://pordev2.wcrt.xeroxlabs.com:8500/flashservices/gateway/');
_netResponder = new Responder(onGotData, onGotError);
_netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
_netResponder, 1, strtest);
private function onGotData(re:String):void {
// arVRD = re;
trace(re);
returnString = re;
trace("got remote data response");
private function onGotError(error:Object):void {
trace("Executing the gotProjectData_Fault: " +
error.description);
trace("Executing the gotProjectData_Fault -- no detail");
// setErrorAlert();
This works as expected producing the following trace:
Simple test string: TESTING -- This is the return integer: 1
Replacing the remote with the following, which adds an array
to the parameter list...
_netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
_netResponder, 1, strtest, aa);
Produces the following error:
Executing the gotProjectData_Fault: Unknown object type tag
(17)

I didn't think so,
We are putting together ads with alot of images with that 40k limit
so the images don't look great.
I was trying to find the best way to work with the images, while keeping it as simple as possible.
Oh.... your right I was hoping to slowly introduce my associates into AS3, I thought If this could be done
It woud be a great tool to introduce them to, but no
Thank you for your time and feedback

Similar Messages

  • How do I upload an image using as3 and display it without a server?

    Is it possible to upload an image using as3 and flash player 9 and then display it in a movie clip without server side assistance?
    thanks,
    JB

    Hi,
    Check out the links..
    I hope it will helps u.
    http://labs.findsubstance.com/2008/04/03/as3-upload-encode-images/
    http://flexscript.wordpress.com/2009/01/12/uploading-an-image-into-flash-without-server-si de-script-using-flash-player-10/
    Saransoft

  • How to read a local file using as3 in a flash object in HTML? [urgent]

    My web site contains a flash object.
    I want to use as3 to read some local .txt file
    by getting the user directory of the file.
    i know AIR can support this by sth like:
    File.desktopDirectory.resolvePath
    but when i open a AIR file for this, it seems
    the action cant be run when i embed it in html.
    And i tried to use the above function in a normal
    flash file in the action script.
    But it cant recognize the File. class..
    How can it be done ?
    It's reli urgent,
    please help...
    Thanks !

    a web based flash app can't detect user directories.  you can use the filereference class'es browse method to let the user locate a file in any directory the user wants.  flash can then retrieve the file's name and type.  but, as mentioned before,  flash can't determine the file's directory.

  • Problem using SVG text in FLASH --ViceVersa

    hi all,
    I had been developing an application to read SVG files in to
    flash.....i am successful in reading shapes,,with the path's....but
    the biggest problem is with the "SVG text".......the positions of
    text with respect to FLASH and SVG differs completely.....
    As far as i know the origin differs from flash to
    SVG.....Flash has it's left top as origin ....SVG has lower left as
    origin....
    when i scale or rotate the flash text ....if i need to
    convert those in to SVG text..the problem arises....because the
    SCALING and ROTATION acts very differently in SVG...when compared
    to FLASH
    iam struck here....pls anyone help me to find a
    solution......
    THANKS in ADAVNCE !!!!!!

    Thanks for answering
    So you have IE8 and the hardware acceleration was able to be UNchecked and FP(Flash Player) is working properly with IE.
    In IE flash works fine with any settings.
    When I unchecked "Hardware acceleration" checbox in IE it also became unchecked in opera, but nothing changed in opera's behavior.
    When you don't use the Aero it's displayed correctly but the settings do not work. What settings are you referring to?
    It's about flash settings in Opera
    With aero: http://img443.imageshack.us/i/settingsh.png/
    Without aero: http://img816.imageshack.us/i/settingswoaero.png/
    In both cases the settings dialog is displayed like in the screenshots above, but when I click on checkbox/tabs/'close' button in it nothing happens. I can't change any settings or close it (dialog disappers only after reloading page)
    Just to sum up everything mentioned above:
    - In IE flash works fine regardless of any settings
    - In Opera text is displayed wrong when using windows aero, and without aero theme it's displayed correct
    - I didn't manage to make settings dialog work in Opera
    - When I change some flash settings in IE, they are also changed in Opera
    Now Flash Player works thru the browser, do you have perhaps have an addon that is conflicting? What Anti-Virus do you have Installed? Any addons of that?
    I have 7 extensions installed in Opera, I've disabled all of them, but nothing changed.
    I use Kaspersky Internet Security 2011, disabling it also gives nothing.

  • Problem with Windows7 and Adobe Flash freezing computer?

    Hello All, There is a problem with Windows7 and my Adobe Flash causing my computer to freeze. So, Skype, videos, etc will not work. Have tried many things to solve problem. Can Oracle VM be used to run a different operating system...such as XP or Vista where Flash will work properly? I would hate to have a new operating system installed on a new computer. thanks

    If you mean Oracle VM VirtualBox, then yes, definitely. A free download, it installs and runs great on Windows 7. http://www.virtualbox.org/

  • Using drag and drop in remote desktop on windows server 2008

    we running an application on windows server 2008 terminal services .. this application was support drag and drop functionality .. i understand that terminal services on windows 2008 is supported to drag and drop but is not happening !! even when i run remote desktop connection on this server the drag and the drop is not working !
    i need to enable the drag and drop for windows 2008 terminal services  ..
    Thanks in advance

    Hello Ayman,
    If your requirement is to drag and drop files between local and remote sessions, Danny is right. Drag-and-drop feature is not supported in Windows Server 2008-based Terminal Server, which is a by-design behavior hard-coded in the current version of the Remote Desktop Protocol.
    As a workaround, I recommend you to use copy-and-paste function instead of drag-and-drop. To enable the copy-and-paste between local and remote session, please enable the clipboard redirection in Windows Server 2008-based RDC. (In Windows Server 2003 environment, local drive redirection is needed.)
    Hope it helps. Thanks.
    Best Regards,
    Lionel Chen

  • Using AS3 and Python to access MSSQL

    How could I implement Python to access a MSSQL database in a Flash application using AS3? Thanks!

    you call and retrieve data via python using the urlloader class in flash.

  • Problems using MAX and PXI 8186 RT

    Hi all !
    I'm facing to problems using MAX
    1) We have a 1GB switch in order to connect my PXI 8186 RT controller and the host PC, when i use this switch, and i try to access the cards plugged in the PXI card with MAX, MAX crash! When i use a 10/100 Mb switch everything is ok, i can access to the card without any problem ! I know the PXI 8186 controller is only fitted with a 10/100 Mb Ethernet card, but i think that must not be a problem , am i wrong ? Is this problem a known bug ??
    2) I want to install all software used by my application on the host computer (in order to be able to reinstall the PXI8186 controller in case of a crash)! To do that i installed MAX 3.1.1, then all drivers NI-DAQmx 7.4, CAN2.2, VISA 3.3, and finally Labview RT 7.1 Embedded on my gost computer! After that i tried to download these software in the controller using MAX! The problem is these software are on the host computer (there are visible in system/ software) , but when i try to install them on the controller, max don't see them ! I tried to uninstall and re-install all software but no changes ... Is there a procedure or an order to install all these software ??? What should i do ???

    Hello,
    The process to install software on RT controller is :
    1/ Install LabVIEW Real-Time 7.1 on your host computer
    2/ Install all driveres you need on your RT target
    3/ On your host machine, in MAX, go to "remote targets"
    4/ Expand "Software"
    5/ Clik on "Install" button.
    This application note will give you more details about above process.
    Our controller is only provided with 10/100 MB network device. You have to check if you can configure your 1GB switch into 10/100 MB.
    Regards,
    Isabelle
    Ingénieur d'applications
    National Instruments France

  • Problems with RAID and a Flash USB Drive

    I'm attempting to install on a RAID 1 array using just one usb flash drive.  Yes, just one.  I'm trying out the idea's in this thread: http://bbs.archlinux.org/viewtopic.php?id=64281
    Partitioning scheme:
    sdb1 -> boot partition
    sdb2 -> swap
    sdb3 -> raid 1 array -> root
    I set the partitiions to type 0xfd (linux raid autodetect) in fdisk (probably not necessary) and created the array with:
    mdadm -C /dev/md0 -n 2 -l -b internal missing -W --write-behind /dev/sdb3
    I then installed like normal, specifying that I needed usb and raid hooks in mkinitcpio.conf
    I added "md=0,/dev/sdb3" as a kernel option in grub's menu.lst, specifying that the md driver should assemble /dev/md0 (my root partition) out of /dev/sdb3 before trying to mount it.
    This process was succesful using a partition on my hard drive.
    However, using a usb drive causes a kernel panic during boot when trying to mount /dev/md0.
    Looking at the messages reveals that before my usb drive was detected, md attempted to create the array, unsuccessfully, as /dev/sdb didn't exist yet.  "md: unkown device name /dev/sdb3" or something to that effect.
    In mkinitcpio.conf, the usb hook comes before the raid hook, so this shouldn't be happening, should it?

    I think rootdelay will not work in that special case, rootdelay makes the system to wait after all the hooks are executed, and you need to wait before executing the raid hook.
    I don't know if there is an easy way for that, but one solution is to modify the raid hook to wait for /dev/sdb3 to be created :
    - edit /lib/initcpio/hooks/raid, add this before the /bin/mdassemble command :
    until [ -e /dev/sdb3 ] ;
    do
    sleep 1 ;
    done
    - rebuild your boot images with mkinitcpio (you'll need to chroot to your system)
    that should work
    PS: someone correct me if I'm wrong, but from what I know, the usb hook does not create your /dev/sdb (if you edit the usb hook, you'll see that it only set rootdelay if it is not yet set). it is the udev daemon, which is launched in the background by the udev hook, and the udev daemon is quite long to create USB device nodes.

  • Any problem using bseg and bkpf tables

    For fico details i using  bseg  and bkpf  tables.
    I noted that programming is very difficult because of these tables are cluster table.
    plz give me other tables
    if i using these tables any problem will come?

    >
    mysvijai197715 wrote:
    > Hi Aniesh,
    >
    >            BSEG and BKPF are cluster tables. It contains transperant tables like BSIS, BSIK etc. For example to take vendor details usr the BSIK.If you use BSEG and BKPF it will take long time search. suppose your concern having lot of data means may be your server will get shutdown. So use only trasnperant tables like BSIS, BSIK etc.
    >
    >
    > Regards
    > R.Vijai
    Incorrect.  BKPF is a transparent table and not a cluster table and you can use it just like any other transparent table.  BSEG is a cluster table but there is no problem selecting from it so long as you use the key of BUKRS, BELNR, GJAHR - unless you are selecting a very large amount of data, but then this can cause problems when selecting from any type of table.
    The advantage of using BSEG over the other FI line item tables such as BSIS and BSIK is that it holds all the lines of an FI document while the others will hold only a subset eg BSIK will only hold lines that contain a vendor reference and BSAS holds only cleared GL account lines.  Though you can only use it when you have the key.  If you need to search on vendor, you can use BSIK as a starting point, but since I usually need to get hold of all the lines on an FI document, I then have to select from BSEG anyway.

  • Color palette problems using Toolbar and ImageList ActiveX Controls

    I'm using Toolbar and ImageList ActiveX controls to implement toolbar functionality in a top-level VI.
    I designed the icons used in the toolbar with a 256 color palette. When I initially added the icon images to the ImageList control and ran the VI, the icons were properly displayed in the toolbar, as expected. After saving VI, exiting LabVIEW, and reloading, it appears that a different palette has been applied to the images in the ImageList control. I'm attaching a screenshot of the problem as well.
    Has anyone encountered this type of problem before? Any suggestions you provide will be greatly appreciated.
    Thanks,
    Zach
    Software Engineer
    OnWafer Technologies, Inc.
    www.onwafer.com
    Attachments:
    icon.zip ‏3 KB

    I'm using Toolbar and ImageList ActiveX controls to implement toolbar functionality in a top-level VI.
    I designed the icons used in the toolbar with a 256 color palette. When I initially added the icon images to the ImageList control and ran the VI, the icons were properly displayed in the toolbar, as expected. After saving VI, exiting LabVIEW, and reloading, it appears that a different palette has been applied to the images in the ImageList control. I'm attaching a screenshot of the problem as well.
    Has anyone encountered this type of problem before? Any suggestions you provide will be greatly appreciated.
    Thanks,
    Zach
    Software Engineer
    OnWafer Technologies, Inc.
    www.onwafer.com
    Attachments:
    icon.zip ‏3 KB

  • Problems with Explorer and Adobe Flash Player

    I have downloaded the new Flash Player, but now it doesn't work at all in Explorer-I download it again, and it says "Installation Successful", but when I go to Youtube, the message says I need Adobe Flash Player.  Can anyone help?

    Its a browser specific issue. Try a different browser like chrome or firefox, it should work.
    For fixing IE, lets follow below suggestions :
    Run the Flash Player Uninstaller as applicable for your machine(i.e.Windows or MAC) and remove flash player.
    For Windows : http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html
    Restart the machine.
    Download and Re-install Flash Player.
    Restart the browser and check.
    You might also wanna check the below articles ::
    Enabling Flash Player in Internet Explorer 9 : http://forums.adobe.com/thread/885448
    ActiveX Filtering in Internet Explorer 9 : http://forums.adobe.com/thread/867968
    Cheers!
    Arpit

  • Problems previewing file and with flash action

    I am using Acrobat.com for my children's book in order to send it out to agents and it has been working well since October. I have checked it several times and there were no issues but today it will not preview either file any longer and the flash page turner is no longer working. I upoaded a new version of the same file and it is working but the link I sent out to agents will only allow a download now. Just wondering what may have caused this. I read where someone else had a similar issue but there was no result posted. The page turning issue, though not really an important feature, is just something I really liked about the program. Thank you.

    Hello,
    This should have been a temporary issue - the preview function should be working normally for the new file now. Please lmk if this is not the case.
    Michelle

  • BUG? JDev 10.1.3.1.0 on MacBook Pro - problem using space and delete keys

    Is anyone using JDev 10.1.3.1.0 production release on a Macbook Pro? I am experiencing problems using the delete and space keys. The delete key no longer seems to work at all when using any of the key bindings including Default MacOS X. Using the spacebar also seems to have a conflict with the code completion feature. I am finding that the code completion always pops up when the space bar is used and no space is inserted with the editor. The space bar only works when used in conjuction with the shift key. Can anyone verify if they are able to use these keys in JDeveloper 10.1.3.1.0 on a Macbook Pro?
    Thanks,
    Richard

    This was from the dmg file.
    I found that in Preferences | Accelerators, Completion Insight lists 'Space' as an accelerator, right after 'CommandAIC'. Removing that fixed the problem, but I still can't fix the Delete issue.
    The Delete action is assigned to the 'Delete' key, which is recognizes as the key combination fn-Delete. I tried to assign the Delete Previous Char to just the delete key, but pressing the Delete key while in the New Accelerator field is not recognized - it just pretends as if I had not pressed a key.
    I'm looking at the the file:
    jdevhome/system/oracle.jdeveloper.10.1.3.39.84/Default_macosx.kdf
    trying to find entries for Delete and they are not in there - is there some other place I should be looking?
    Thanks,
    --ee                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problems using Hotmail and Twitter in Firefox

    I'm having problems using both Hotmail and Twitter in Firefox (and Google Chrome) but they both seem to work fine in Internet Explorer. I can log-in to both sites but in Hotmail the drop-down menus and links don't work, and in Twitter the stream does not appear at all.
    I've tried everything: deleted cache, history, cookies, disabled add-ons etc... I've also tried re-installing both new and older versions of Firefox and I've still had no joy. If anybody has any ideas for a fix I'd really appreciate it. I can't stand using IE but I am forced to at the moment.

    My problem with Firefox & yahoo seems similar - so you are not alone.

Maybe you are looking for

  • Do I have credit card from apple store

    I want to by a MacBook pro with payment

  • Sync / Async Bridge without BPM

    Hi All, I was trying to implement the Sync / Async Bridge without the BPM. I am trying a HTTP to JMS Sync / Async Bridge. I have followed the following link and done exactly the same as shown in the document http://help.sap.com/saphelp_nw04/helpdata/

  • My iPhone 5 only display the apple screen with text on the top (like a command prompt). Has anyone else seen this???

    I was checking my mail and suddenly i get the apple screen with text on the top (like a command prompt). It won't receive phone calls and it doesn't respond to anything. I tried to force shutdown, reset, etc and nothing happened... Now the screen cha

  • How to create database in express edition

    I have downloaded and installed Oracle10g Express edition. As the tutorial suggests using windows /start/all program/oracle10g Express edition/go to Database home page, I am able to login as well. My problem is How can I create a new database in orac

  • Gmail Folders

    Hi Everyone, I know that there have been tons of posts about Gmail and the Playbook - it feels like I have read every post (on this site and others) yet I don't have a definitive answer to my predicament.  To put this succinctly; is it possible to ha