ActionScript 2.0 :: Remote Access Of Functions & Objects?

Sep 18, 2009

How do I access actionscript programs, such as functions, from remote as files without using the #include command?

View 0 Replies


Similar Posts:


Flex :: Protect Access="remote" Functions In CFCs From Snoopers?

May 22, 2009

One of the great features of CFCs is the ability to reuse the code for both a straight .cfm page and for Flex apps.

One such app that I devleoped uses Flex for its charting capabilities and needs access to a 'getResults()' function in the cfc.

All of this content is behind an authentication mechanism, but since the cfc will open itself up to a wsdl request:

[URL]

and will actually return the results to the browser if the URL query is crafted properly:

[URL]

What techniques have people used to protect the cfc from direct access UNLESS the request is coming directly from the CFML processor OR from Flex Remoting?

View 5 Replies

.net :: Reduce Number Of Remote Objects?

May 4, 2011

I am making a flex application with .NET at back end (connection using WebORB and remote objects). I have five drop-down boxes in Flex component, each having unique values from different tables (e.g. city name, county name, user name, etc.).On page load (or can say creation create) I need to display these values so that users can select from the list. I was trying to get data using five remote objects (one for each drop down box.). I am wondering if there is way to get all data in one remote call.

View 1 Replies

Flex :: Understanding Remote Shared Objects?

Oct 20, 2009

I have 2 questions about remote shared objects in Flex/ActionScript3:1) If I connect to a remote shared objects, but do not handle the SYNC event, will the shared object still receive data from the server? ie. will the server still broadcast data to this client ? This is what I expect

View 2 Replies

Flex :: Parallel Calls To Remote Objects

Nov 29, 2009

I have the following application in flex. I want to call two different remote objects in parallel.

[Code]...

Now what the methods do is to print sth. when they are called, then wait 8 secs and print sth. after that. When clicking each button seperatly, it works, both methods are started in parallel. However, calling both method the same time, leaves one service to wait with its call while until the other is executing. How can I avoid that?

View 2 Replies

Performance :: Multiple Remote Objects - Best Practices

Oct 3, 2011

I have an application with about 20 models and controllers and am not using any particular framework. What is the best practice for using multiple remote objects in Flex performance-wise?

1) Method 1 - One per Component - Each component instantiates a RemoteObject for itself
2) Method 2 - Multiple in Application Root - Each controller is handled by a RemoteObject in the root
3) Method 3 - One in Application Root - Combine all controllers into one class and handle them with one RemoteObject

I'm guessing 3 will have the best performance but will be too messy to maintain and 1 would be the cleanest but would take a performance hit.

View 3 Replies

Flex :: What AMF Servers Support Remote Shared Objects

Mar 29, 2010

I'm planning on building a Flex based multiplayer game, and I'm researching what will be required for the server end. I have PHP experience, so I started looking at ZendAMF.

Now in this game, I'll need the concept of rooms, and real time updates to clients in those rooms, so it looks like I'll be using remote shared objects (correct, yes?). I'm not seeing where ZendAMF can support this.It seems to indicate that ZendAMF isn't going to do what I want. WebORB for PHP seems to be the only PHP based solution that does messaging, but on that page it doesn't mention "real-time" next to it like the Java based ones below it do.

View 3 Replies

Flash - Possible To Access Remote SWF Without Downloading?

May 20, 2010

We have a very large SWF hosted in a website which is just a repository of hundreds of movies/symbols. We load this SWF at the beginning with the Loader class but then the client will access a very few of them at that moment. Is it possible to tell the loader to download symbols only when they're needed? (as with applicationDomain.getDefinition(...)).

View 4 Replies

Java :: Remote Object(flex) And ArrayList Of Custom Objects?

Jan 24, 2012

I have a custom java class which has an ArrayList and corresponding to it have a custom vo class which has ArrayCollection (in Flex).I want to return data from Java to flex.Every variable in java is getting mapped to vo perfectly except for ArrayList.When trying to retrive When trying to retrive exposureUSDList (which is an arrayList) in flex I am getting empty ArrayCollection. It is not getting mapped properlyPlease find my code below:

Flex Code:
package com.example.vo
{

[code].....

View 1 Replies

Media Server :: Remote Access For Streaming From FMS?

Oct 24, 2011

Ive been able to setup FMS 4.5 and stream RTMP videos locally from a webcam stream but if i try to access it remotely i cant get a connection. Ive forwarded port 1935 through to my local IP from my router but still no connection, what do i need to configure on the servers end to tell it that its behind an NAT etc. Do i just add the public ip to the hostname line in the fms.ini, or is there more i need to do too? Do i log into the admin panel and change the server name from localhost to my public IP

View 3 Replies

Flex :: Access The Remote IP Of A RTMFP P2p Stream?

Oct 4, 2010

I'm writing a communication system, using Actionscript 3 and C#. Flash is used to communicate with RTMP server and stream video and audio using RTMFP p2p, but the actual client logic is handled in C#.

What I want to be able to do, is allow users to share files between each other also using a direct p2p connection. I have got the RTMFP connection working but I need to access the IP address of the remote user so I can initiate a connection to send or receive files.

I looked at the Adobe docs but I can't see anything except how to access the farID.

Is there a way to get the IP of a RTMFP stream?

View 1 Replies

Flash :: Air Remote External Swf Can Not Access Local Apk?

May 4, 2011

I'm developing an android file by using flash cs5 air extention. I know the basic crossdomain policy and server to server connections. And I searched many pages but there is no solution about this.

My "container.apk" loads "external.swf" from the server.. And I want to be able to reach the variables and functions in "container.apk" from "external.swf". But I can't reach any function on my container (application file .apk) from my external module swf (remote file).. I mean, I'm trying to reach container.apk's functions from the loaded swf. Like when a button clicked on "external.swf" it should effect a function in "container.apk".

Also here are some error codes that I'm getting ;

[Code]...

View 1 Replies

Flex :: Develop The HTTPS Application Using Java - Remote Objects Or HTTPServices

Feb 8, 2010

I need to develop the HTTPS application using Flex and Java. But i have idea about remote objects or HTTPServices. which one is the best for developing HTTPS application.

View 1 Replies

ActionScript 2.0 :: Play (not Access Methods) A Remote SWF With CreateEmptyMovieClip?

Jun 20, 2009

Everything talks about accessing methods & variables.

Simple:

- I have a local flash file that is loading .swf files from a local directory, and playing them.

Code:
for (x=myBanners.length-1;x>-1;x--){
var bannerName:String = "banner" + (x+1);
var movieLocation:String = myBanners[x].firstChild.nodeValue;

[Code]....

View 2 Replies

ActionScript 2.0 :: Remote SWFs May Not Access Local Files

Feb 4, 2007

I have this situation (simplified):
MC-A.swf opened from local computer (C:/) and loads MC-B.swf which is hosted on a server.
When MC-B.swf is loaded, it tries to access file called "loader.swf" which is also on local computer (C:/).

When it tries to access the "loader.swf" I get the following error message:
*** Security Sandbox Violation ***
Connection to file:///C|/loading.swf halted - not permitted from [URL]
-- Remote SWFs may not access local files.

I read discussions concerning this issue, and as I understood, I could use:
System.security.allowDomain("[URL]");
to solve this problem, but it didn't work.
I wouldn't like to change the loaded file to load it's resources also from the web, since it can find them on the local machine.

View 4 Replies

ActionScript 3.0 :: Remote SWFs May Not Access Local Files?

Aug 18, 2009

lod.load(new URLRequest(str2));how to unload the lod when second time i cal that function.how to over come this (*** Security Sandbox Violation ***SecurityDomain )

View 1 Replies

Actionscript 3.0 :: CS4 Flash Remote Access To FTP Server Data

Feb 22, 2010

I am trying to access a FTP server that allows anonymous access to the data files stored on the server.. they are stored as txt files... I want to display some of the files in a flash CS4 Movie... It is also on a HTTP server directory...

I have accomplished it within the CS4 Flash development application using the HTTP Server but when I publish the document it gives me a blank stage the data that shows in the Test Movie swf is not showing when the SWF is on its own... I am thinking it has something to do with crossdomain security that is built in... is there a way I can accomplish this? I prefer the FTP access but will use the HTTP access...

Here is the AS3 I am using...

import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;

[Code].....

View 13 Replies

Media Server :: Stream Priorities - Live Audio And Video / Remote Objects

Jul 14, 2010

I currently have two connections with two separate streams. They both hit the same fms 3.5 server. One connection transfers live audio and video. The other one is used for remote objects. Sometimes when viewing the audio and video stream with a slower internet connection, the stream for the shared objects disconnects. I think it is a bandwidth issue. Is there any way to set the priority of the streams? I think this should allow me to set a higher priority for the shared object connection so it won't disconnect.

View 3 Replies

Flex :: Use DTOs Or Domain Objects When Connecting To Blazeds/java/jpa Using Remote-services?

Jul 24, 2011

I am working on an Adobe Flex front-end with a Java back-end using JPA for persistence. he protocol I am using is remote objects (AMF) implemented with BlazeDS.I started out with a service-facade and entity DAOs, but without any specific DTOs. The same POJOs, the domain objects, were passed in the service-facade as those used as DTOs passed to the Hibernate DAOs.However, the latest few days I have been thinking whether this is a good approach or not. The latest article on the subject I read was this one:Interesting JPA Pattern blogThe situation:Say I have POJO Book with a unidirection ManyToOne relation with the POJO Category (i.e. each book may only be associated with one category, but the same category may be associated with many books). I see some alternatives:Alternative 1:I expose a method/operation addUpdateBook(Book book). In the implementation of this operation I add/update both the book and the referenced category.

View 1 Replies

ActionScript 2.0 :: Access Local PC Files From Remote Flash Player?

Feb 7, 2010

I have a flash file located on a web server. When it's loaded, I want it to access the user's PC and display some data (such as file directories, files, etc)I know there are security rules about what a flash player can access, but so far all I can seem to find are rules regarding local flash players accessing the internet, but not much on the other way around, or how do go about doing that.

View 0 Replies

ActionScript 2.0 :: Get Movie To Access / Download Remote Pdf / Other File On Server?

Jun 6, 2010

How do I get the movie to access and download a remote pdf or other file on my server?

View 2 Replies

Flex :: Access A Remote Java Class (on Spring/BlazeDS) From The Cairngorm Application?

Nov 5, 2009

I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong

[Code]...

View 2 Replies

Flex :: Flash Channel.Security / Error Unable To Access Remote Resource

Jul 31, 2010

I tried to deploy my otherwise working flex app on a web server (tomcat 6).It threw a Channel.Security.Error.After some research, I became aware that flash movie loaded from flash_movie_domain will not be able to load resource from any other domain.Some suggested adding a crossdomain.xml.However, the crossdomain.xml route doesn't quite make sense.In this case, I am loading resources from a third party web site.My understanding is that I need this third party website to include a crossdomain.xml on their root directory in order for app to function.The third party web service is provided as is. I will not be able to change what's given. Since the third party is providing public access, it already explicitly give permission to the general public. Adding a crossdomain.xml to their root seems to be a redundant act?

View 1 Replies

ActionScript 1/2 :: Create Objects Using Functions?

Nov 21, 2009

I tried turning the following object (clear sake) into the product of a function (see below),however, my attempts to display any kind of output produces "undefined".[code]...

View 3 Replies

ActionScript 3.0 :: Layered Objects And Functions?

Sep 22, 2010

I have two movie clips on the stage: mcA and mcB, each have a function when rolled over:
 
mcA.addEventListener(MouseEvent.ROLL_OVER , aActivated);function aActivated (event:MouseEvent):void{     trace('mcA was rolled over');}mcB.addEventListener(MouseEvent.ROLL_OVER , bActivated);function bActivated (event:MouseEvent):void{     trace('mcB was rolled over');}
 
Under certain circumstances mcA may overlap mcB. When the cursor rolls over their intersecting area I would like both functions to launch, how do I do that? Currently, the problem is that only the object on the top will launch its function.

View 2 Replies

ActionScript 3.0 :: Accessing Objects In Other Functions

Jan 15, 2009

I'm working on a flash video player and I'm trying to figure out how to access something inside the constructor that I know is set but it keeps telling me its not.

[Code]....

now in the metadata function its giving me the error, "Access of undefined property video" Now, am I just completely not understanding how classes work or is this a common problem?

View 4 Replies

Actionscript 3.0 :: Distance Between 2 Objects : Math. Functions?

Feb 18, 2010

often seen in simple flash games. So you can look at an example. http:[url]....Green object shots a bullet and what i want to acheive is to run bullet toward black bar even if bullet is shot to the left side of the screen. Bullet should make a circle, slow down and change direction to the bar and finally proceed faster and faster to the bar. Simply it should behave like remote control rocket chasing enemy. Right now i am with this: Code: Select all

function movingBull(e:Event):void [code].........

//of course i dont know what should be inside if statement

//to make the code work.

View 2 Replies

Java :: Fetching Remote Objects Add "_$$_javassist_x" To Type?

Jan 5, 2010

we have a client/server app (Flex and Java) that uses BlazeDS to do remoting. This allows us to exchange and map types between client and server. For some reason a User type we are retrieving from the server is not sent as "User", but as "User_$$_javassist_x", where x is an integer.

The other types we are sending over all work fine, even the User type used in a different service class.

View 1 Replies

Professional :: How To Access Functions

Apr 16, 2011

[Code]...

with the code above how would you call the function clicker from the function clicker2? as with the code i have it comes up with the error "1084: Syntax error: expecting rightparen befor colon")

View 7 Replies

C++ :: Flex To Access Functions From A DLL?

Jul 13, 2011

I have an Adobe Flex application that needs to call C++ functions from a dll .Since Flex apps execute within the browser, is there any way to do this ?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved