Adobe Dreamweaver Forums



Last 10 THreads :         RoboHelp 7 Skins (Last Post : HelpDev - Replies : 7 - Views : 35 )           »          Code that can effect two movie clips (Last Post : Alessandroy - Replies : 0 - Views : 1 )           »          Clock .getUTC not working (Last Post : kglad - Replies : 3 - Views : 4 )           »          problems linking PDFs (Last Post : Alan - Replies : 1 - Views : 2 )           »          Changing RadioButton Label (Last Post : justintoflex - Replies : 2 - Views : 5 )           »          Table Borders MIssing in JavaHelp (Last Post : soxmann - Replies : 3 - Views : 8 )           »          cfimage error (Last Post : masoud_amen - Replies : 2 - Views : 3 )           »          Dragging components (Last Post : hsfrey - Replies : 2 - Views : 5 )           »          Is file too large? (Last Post : tweaked_eye - Replies : 0 - Views : 1 )           »          Could not find the included template (Last Post : azuro28 - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-25-2008, 05:42 PM
projectproofing
 
Posts: n/a
Diggs:
Default ActionScript RemoteObject

I have a remoteobject created in AS in my constructor:

var trackerDAO:RemoteObject = new RemoteObject();
trackerDAO.destination = "ColdFusion";
trackerDAO.source="FXVideo.edu.umich.video.tracker DAO";
trackerDAO.addEventListener(FaultEvent.FAULT, alertFault);

I am trying to invoke a method of it in another part of my code
trackerDAO.countIt(addOne, results, action, source);

But flex builder is giving me this error:
1120: Access of undefined property trackerDAO.

What am I missing or how can it be done? Thanks.



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-25-2008, 06:52 PM
projectproofing
 
Posts: n/a
Diggs:
Default Re: ActionScript RemoteObject

Ok, I figured I put it in the wrong area and have fixed that. However, I am
getting a 'No destination called ColdFusion' error. Its exactly like the MX
version. Does something change when you write it in AS only for Flex?

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 11:57 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk