Opening Doc In Proxy Using Dropdown
Hi Guru's,
Need your help.. I have a project wherein i am using dropdown button.. MovieClip, inside is another MovieClip and inside is the button..
Now, in buttons.. i use to open the doc using proxy that i read in some threads here..but the problem is, its not working..
Hope you could help me..
Button Script: 1st Option: On (release){ fscommand("exec", "proxy.exe"); } 2nd Option: On (release){ MyDoc = "proxy.exe"; fscommand("exec", MyDoc); }
I try to used all these commands..
Batch Script(proxy.bat): start MyDoc.doc
I try also to used some script for testing to know if i did something wrong with my button..so i used the fullscreen command into the button and it works..
Goosshhh..!! please help..
Thanks.. ~LDrey
FlashKit > Flash Help > Flash MX
Posted on: 11-26-2007, 06:26 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[F8] Dropdown Menu - Automatic Opening Of An Item
Hello,
Is there a way to make a dropdown menu open a certain item by default?
ex:
EDITION
item 1
item 2
TOURISM
item 1
item 2
item 3
etc...
The menu is dynamic (arrays and duplicate mcs).
I would like the item "Edition" to open automatically and show the first sub-item when entering the Portfolio section.
Here is a part of the code where, I think (?), I could find something to grab on to for that...
Code:
cont = 0;
for (i=0; i<n.length; i++) {
nom = "objet"+i;
duplicateMovieClip(_root.clip, nom, i+50);
champ [i] = i*25+80;
debut [i] = i*25+80;
_root[nom].touche = i;
_root[nom]._y = i*25+80;
_root[nom].title = titre[i];
for (a=cont; a<cont+n[i]; a++) {
nom1 = "nouvelObjet"+a;
duplicateMovieClip(_root.clip1, nom1, a);
objet2 [a] = i*25+80;
_root[nom1].field = a;
_root[nom1].ldmovie = ldmovies [a];
_root[nom1]._y = champ [i];
_root[nom1].title = fields [a];
}
cont = a;
}
Thank you for your help!
Form Dropdown Help, One Dropdown Works How Do I Code The Other ?
I have a form with 2 comboboxes. One mc is comboselect the other comboselect2. My php code is:
<?php
$sendTo = "myemail@email.com";
$subject = "Contact Flash Form";
$headers = "From: $name<$email>
Reply-To:$email";
$message = "1.Name:$name
4.Email:$email
5.Contact Address:$address
6.Inquiry:$temp
7.Comments:$com ments";
mail($sendTo, $subject, $message, $headers, $category);
?>
the flash AS on submit button is:
on (release) {
trace(name+'
'+email+'
'+address+'
'+temp+'
'+ comments);
}
on (release) {
loadVariablesNum("contacts.php", 0, "POST");
_root.nextFrame();
}
the flash AS on one of the comboboxes is:
this.stop();
myData = new Array('New York', 'Beverly Hills', 'Miami', 'other');
for (i=0; i<myData.length; i++) {
comboselect.addItem(myData[i], i);
}
function comboDisplay(component) {
temp = component.getSelectedItem().label;
}
comboselect.setChangeHandler("comboDisplay");
2nd combobox AS:
this.stop();
myData = new Array('10mil', '50mil', '100mil');
for (i=0; i<myData.length; i++) {
comboselect2.addItem(myData[i], i);
}
function comboDisplay(component) {
temp = component.getSelectedItem().label;
}
comboselect2.setChangeHandler("comboDisplay");
only info comes through is for the 2nd combobox - 10mil, 50mil, or 100mil
what do I need to add to the PHP and AS to have the other combobox info be emailed ?
Behind Proxy.....
i need help for creating flash exe/application, which can fetch data from asp file from server.
now the problem is proxy. how to run that exe behind proxy or if there is password for net, then what is the way to access that asp page..
thanx..
QA Proxy V0.1
Hi
I am announcing the release of QA Proxy v0.1 This is a tool that can be immensely helpful in developing with Flash MX and Flash Remoting. It acts as a proxy and logs all HTTP traffic that travels between your browser and the server. What's more, it decodes all AMF traffic and dumps that to a log as well (thanks to the work done by the AMF PHP team). This tool was developed out of years of QA experience, I hope you like it.
The QA Proxy home page is at:
http://apps.mkulu.org/qaproxy/
P.S. I apologize if the post seems inappropriate but I couldn't find a better forum to post it in
Using Proxy
Hi,
I'm not sure if this is possible but I've been trying to come up with something which uses flash_proxy override getProperty to run some code on a variable call, but to also make use of code-hinting in flash editors (FlashDevelop). So if I've got this class
Code:
package {
import flash.utils.describeType;
import flash.utils.Proxy;
import flash.utils.flash_proxy;
public dynamic class LangStrings extends Proxy {
public var myVariable:String = "Test <test>";
public var myVariable2:String = "Test 2";
private function findAndReplace($str:String):String {
$str = $str.split("<test>").join("rep");
return $str;
}
private var dataObj:Object = { };
public function LangStrings() {
dataObj = {};
var varList:XMLList = describeType(this)..variable;
var tempList:Array = [];
for(var i:int; i < varList.length(); i++){
tempList.push({name:varList[i].@name, content:this[varList[i].@name]});
}
tempList.sortOn("name");
for (var j:int = 0; j < tempList.length; j++) {
dataObj[tempList[j].name] = tempList[j].content;
}
}
override flash_proxy function getProperty(name:*):* {
var checkStr:String = dataObj[name];
if (checkStr == null) {
trace("Error - variable not found - id:" + name);
return "!" + name;
}else {
checkStr = findAndReplace(checkStr);
return checkStr;
}
}
}
}
and then I go
Code:
var testProxy:LangStrings = new LangStrings();
trace("test var:" + testProxy.myVariable);
This allows code-hinting to work but because it's a predeclared variable the 'override flash_proxy function getProperty' doesn't trigger and therefore won't run the findAndReplace function. Any ideas?
Thanks
Richard
Netstream Proxy
Is there a way that I can stream the netstream through a php proxy to use sessions and php specific things? Like can I send video up to the php then the php makes sureyour logged in then sends it to the flash com server?
Proxy Authentication
Hi Guys,
I am using a URLLoader class to send a request a script to a server and and capturing that response using the relevant event handlers. All works fine...internally...now I want to access that script from somewhere else and it doesn't work. The reason is because of the firewall. Now there is a proxy in place to allow incoming requests, but it requires authentication.
Is there a way to authenticate against the proxy using URLLoader?
I've been scanning the documentation and so far I have found nothing so far. Any suggestions would be extremely useful.
Thanks
PHP Proxy For FlvPlayback
Has anyone had any luck using a PHP proxy to load FLVs in the FlvPlayback component? The proxy files I have used in the past all generate errors stating that the component wants a .flv file. Any way around this?
PROXY (is That The Limit?)
Hi!
I´m wondering about PROXY servers...
I searched for articles about how to pass through a proxy server,
but it looks like macromedia didn´t already find a good solution
for that.
The stuff called: HTML TUNNELING doesn´t seen to work as it promise.
Anybody knows if I´m wrong in that point?
ISN´T THERE A WAY TO PASS THROUGH A PROXY?
Thanx!
Zerooito
By-Proxy Authentication.
Dear Frndz,
Can you please help with this.
I am currently developing a flash application, in which I am trying to fetch some real time data from a website. But the problem with this is that, I am unable to bypass proxy authentication part.
What I mean by this is: I am accessing internet connection through a proxy based intranet connection in which I need to give proxy port as well as user name and password for authentication.
Is there anyway to bypass proxy problem in flash or do I have to go for Java.
Ladz
LoadMovie And Proxy
I need to load external data and swf (coming from a distant server) in my main swf.
For data, i use LoadVars. It works fine.
For swf, i use LoadMovie...
In my case, LoadMovie fails because the function doesn't pass throught the proxy browser. (Flash call directly the url without using proxy)
Is there any method to load a swf calling proxy browser ?
Thanks.
Fscommand Proxy.exe
Please help , I am due on Friday and I have no idea what in the world I am doing wrong.
-I am working on flash CS3 Professional ver. 9.0
-I have the 3 files inside the fscommand folder:
the .bat named catalogo_trauma.bat (has this code: start catalogo_trauma.pdf)
the .exe named catalogo_trauma.exe (this is the proxy.exe file)
and the catalogo_trauma.pdf.
-The projector is at the same level that the fscommand folder.
-this is the code inside the button of my projector:
on (release) {
fscommand("exec", "catalogo_trauma.exe");
}
-with this code nothing happens if I press the button inside my projector
-if I change the code to:
on (release) {
fscommand("exec", "catalogo_trauma.bat");
}
and press the button inside the projector, a DOS window appears for a fraction of a second and disappears, I can not read the message.
-if I double click on the .bat file catalogo_trauma.bat the DOS window appears and loads the pdf., if I double click on the .exe catalogo_trauma.exe (proxy.exe file) loads the pdf file without the black DOS window, this tells me that the .exe and the .bat are working fine and communicating with each other.
-I am not sure if this is the problem: when running the projector at the top left of the window appears the adobe flash player 9, the publishing settings are set to flash player 8 but I guess I can not avoid playing it with the flash player 9. The projector has flv files, so I can not downgrade to flash player 7 or less. It does not have a full screen fscommand at the beginning of the projector.
Could some one PLEASE help me with this one? As you can see I am thorough in the way I do things, I have read so many forums looking for the answer and I can see this is it, but it is not working for me.
Please help me.
Projektor And Proxy
Howdy ...
I have build a small Desktop Application which reads in two RSS Feeds. So far so good. When the Customer installs it, it only reads the Feeds once and when the Application is started the next day it has the same RSS Feed from the day before ... They use a Proxy for Internet. So, does any1 know how to avoid this?? Generating a random number (like i do for the internet) wont work as far as i know ...
thanx in advance
cheers
Chrome
RSS Feeds Need Proxy
I have built an AS2 site that retrieves various news feeds; all feeds work fine on my local machine but a number of the feeds don't load online. I have read that I may require PHP server side proxies for permissions for each of the sites not loading. I have found alternative PHP scripts for the proxy but am not sure how to call them - or where in the program for that matter. Anyone else been through this problem? Thanks!!
Proxy SendAndLoad
When doing an xml sendAndLoad of sending xml data is it possible to use a php proxy file (which exists on your site) that basically readsfile to an external url if the url doesnt exist on your site?
One Dropdown Affects A Second Dropdown, HOW?
i have an HTML form where one dropdown (DEPARTMENT) causes another dropdown (AUTHORIZE) to to have it's contents changed.
For example, if the user selects 'Accounting' from DEPARTMENT, then in the AUTHORIZE dropdown, only Accounting department names appear. The user then has to select one of the names.
I want to do the same thing in a flash form, can I just copy and paste my scripts? I am using arrays.
ANY help is greatly appreciated!!!!!
THANKS!
Avoid Proxy Caches With AS?
hi!
I´m having big problems to update contents on a flash site, at least to watch'em updated, due to a proxy my internet company has installed between me and the internet.grrrrr!
i´ve used php header ("Cache-Control: no-cache, must-revalidate") but it seems to work only for the first swf to load, the rest come directly from their cache which lasts for a day or two.
so, is there any script checking my loadmovienums get'em from the right place?
thanks in advance!!
(mx2004 pro on macOSx)
Flash Not Following IE Proxy Rules?
We are tyring to use a flash client to connect to our server from a client's machine. We areusing flash media server 2... The client is able to connect using RTMPT but not using RTMPS; They said this is happening becuase the flash client is not connecting thru the proxy and is connecting directly instead.
This confused me becuase as far as my knowledge goes flash connects just like an HTML page would as far as using proxies go, i didnt think it had the ability to go "Around" a proxy. So if this really is the case- that flash is going around the proxy - how would I go about forcing flash to use the default IE proxy settings??
Thanks!
Passing Var To Proxy.php & Return.....
PHP Code:
<?php
$dataURL=$POST_["dataURL"];
readfile($dataURL);
?>
is the proxy I am calling...
when I hardcode the URL in it.. and call it..it works fine.. if I try to pass the URL for the proxy to use as a var.. it doesnt work.
heres stripped down version of AS Im using to pass the var to the proxy.php then have it returned..
Code:
var proxyVars:LoadVars = new LoadVars();
var nflXML = new XML();
nflXML.ignoreWhite = true;
nflXML.onLoad = function(success) {
if (!success) {
trace("LOAD NO GOOD");
} else {
trace("returned: "+nflXML);
}
}
proxyVars.dataURL = "http://rssfeed.com/rss.xml";
proxyVars.sendAndLoad("http://www.mydomain.com/proxy.php", nflXML, "POST");
if I dont pass in a var.. and use this proxy.php script.. it works fine:
PHP Code:
<?php
readfile("http://rssfeed.com/rss.xml");
?>
what gives?..anyone see what Im missing?
thanks
Server Side Proxy
Howdy,
I have been dealing with a cross-domain policy issue with my flash form and my form host freedback.com. I found a servers side asp proxy script on Adobe.com :
http://kb.adobe.com/selfservice/view...6520&sliceId=1
I cant get it to work. I was wondering if the script is out of date with new Flash 9 security features.
My form loader gets a complete event and it looks like it goes through but it does not.
I got a php proxy script working on another server, but my work server is .net.
Here is the asp script:
Code:
<%@ LANGUAGE=VBScript%>
<%
Response.Buffer=True
Dim MyConnection, TheURL
' Specifying the URL
TheURL = "http://www.freedback.com/mail.php"
Set MyConnection = Server.CreateObject("Microsoft.XMLHTTP")
' Connecting to the URL
MyConnection.Open "Post", TheURL, False
' Sending and getting data
MyConnection.Send
TheData = MyConnection.responseText
'Set the appropriate content type
Response.ContentType = MyConnection.getResponseHeader("Content-Type")
Response.Write (TheData)
Set MyConnection = Nothing
%>
Thanks!
Proxy Image Loader?
Yo.
I can't seem to find any resources for this. I am trying to load an external image, but only a low-res image and then if the user selects it, a higher-res image. I have seen it done on say, piclense, or something like that. Is this just loading progressive bytes and then pausing? Any ideas?
Thanks,
Jon
Using Ascb.util.Proxy
I am trying to use the ascb.util.Proxy class instead of mx.utils.Delegate in order to pass a parameter to a function. The problem is that when I use the Proxy class I get an error: The class 'ascb.util.Proxy' could not be loaded. I already cleared the ASO and copied the code to a new .as file. I can't seem to get it to load. Please help.
WSDL To Proxy Class
Hi
I am looking for proxy class generator based on Webservice WSDL description.
I don't want use Flex generator, because it's heavily using Flex Framework...
Flash Upload From Behind A Proxy
Hi,
I am working behind a proxy and some of the flash uploaders out there require me to authenticate myself on the local proxy before allowing me to upload files. I have such an uploader which currently is outside my network. However after it tryes to execute file.upload(request); it dies silently without a trace of what is going on. I presume that it fails because it hasn't requested the proxy auth. How can I show the proxy auth login pop-up. Here's a sample of my code
ActionScript Code:
var request:URLRequest = new URLRequest(this.uploadScript);
request.method = URLRequestMethod.POST;
request.data = new URLVariables();
request.data.upload = 1;
var file:FileReference = FileReference(this.fileRef);
file.addEventListener(ProgressEvent.PROGRESS, this.onProgress);
file.addEventListener(Event.COMPLETE, this.onComplete);
try
{
file.upload(request);
}
catch(error:Error)
{
ExternalInterface.call('alert', this.uploadFileErr + file.name);
}
}
Thank you for your help,
Cosmin
Proxy.asp With Special Characters
I am having trouble loading an XML file from an external server into Flash through the proxy.asp file from Macromedia. Due to the security in the Flash Player 7, you need to load XML files that are on other domains through a proxy file. The problem is, this particular XML file has Latin characters which do not appear when I use the proxy.asp script provided by Macromedia. I changed the first line to use the correct code page but it translates the characters into "?".
This is what I now have, which is not working:
Code:
<% @ LANGUAGE=VBScript CODEPAGE=1252 %>
<%
Response.Buffer=True
Dim MyConnection, TheURL
' Specifying the URL
TheURL = "http://www.macromedia.com/desdev/resources/macromedia_resources.xml"
Set MyConnection = Server.CreateObject("Microsoft.XMLHTTP")
' Connecting to the URL
MyConnection.Open "GET", TheURL, False
' Sending and getting data
MyConnection.Send
TheData = MyConnection.responseText
'Set the appropriate content type
Response.ContentType = MyConnection.getResponseHeader("Content-Type")
Response.Write (TheData)
Set MyConnection = Nothing
%>
I know that the proxy.php script works but unfortunately this particular server only has ASP.
I appreciate any help or advice.
Thanks!
Cache FLV On Proxy Servers?
Hi all,
We are planning to build a website that shows video through Flash. The thing is that my customer does not want us to use a streaming Server like Flash Media Server. (It's a shame)
Anyway, we are bound to use progressive download for Flash Video files. I tried to find an answer on this, but so far no luck. Maybe you can help me:
Do proxy servers cache Flash FLV files that are progressively downloaded? I know the local client does, but the question is if a proxy server can cache this too, so other people in a company can view a video with minimum use of internet bandwidth that has been downloaded before by someone else.
I hope you can help....
Can't Extend Proxy To A DisplayObject?
Hi!
I have a class used as Document class of my file, and would like to extend the Proxy class functionality to my class. The problem is that I can only extend one class, and MUST extend MovieClip subclass. Obviously, I can't also extend the Proxy class.
So, is this a Flash limitation or is there any solution?
I really can't have a Document class that handle the invoked properties and methods dynamically?
Thank you,
CaioToOn!
Socket Can't Connected By Proxy
Socket connected to server by proxy, But Sandbox security not allow,How can I solution it.(The socket can directly connect to server )
Edited: 08/07/2008 at 07:30:48 PM by Livecool
Flash Upload From Behind A Proxy
Hi,
I am working behind a proxy and some of the flash uploaders out there require me to authenticate myself on the local proxy before allowing me to upload files. I have such an uploader which currently is outside my network. However after it tryes to execute file.upload(request); it dies silently without a trace of what is going on. I presume that it fails because it hasn't requested the proxy auth. How can I show the proxy auth login pop-up. Here's a sample of my code
Thank you for your help,
Cosmin
Attach Code
var request:URLRequest = new URLRequest(this.uploadScript);
request.method = URLRequestMethod.POST;
request.data = new URLVariables();
request.data.upload = 1;
var file:FileReference = FileReference(this.fileRef); file.addEventListener(ProgressEvent.PROGRESS, this.onProgress);
file.addEventListener(Event.COMPLETE, this.onComplete);
try
{
file.upload(request);
}
catch(error:Error)
{
ExternalInterface.call('alert', this.uploadFileErr + file.name);
}
}
RegisterClass, Proxy, And Scope
Hey Guys. Long time tutorial reader, first time poster.
I am having a problem with scope related to registerClass. I have created a class that defines several functions. I have attached a MovieClip to the stage after registering my class to it. I have no problems calling functions of the class until I try to make a call inside of an event handler.
I am using Proxy to handle scoping in my event handlers and for the mos part this is fine. Inside my xml.onload I can see the movie clip and a trace(typeof) returns MovieClip, but the functionality added on by the class is not available inside the event handler.
Thanks for you help and let me know if more clarification is needed.
ASDoc GUI && Command Proxy
I was playing around with Mike Chambers' CommandProxy idea today and came up with a GUI for asdoc.exe built in AIR.. Not the most user friendly app in the world, but it works and just the concept that it actually works is pretty cool..
More details and download here.
Flash Upload From Behind A Proxy
Hi,
I am working behind a proxy and some of the flash uploaders out there require me to authenticate myself on the local proxy before allowing me to upload files. I have such an uploader which currently is outside my network. However after it tryes to execute file.upload(request); it dies silently without a trace of what is going on. I presume that it fails because it hasn't requested the proxy auth. How can I show the proxy auth login pop-up. Here's a sample of my code
ActionScript Code:
var request:URLRequest = new URLRequest(this.uploadScript);
request.method = URLRequestMethod.POST;
request.data = new URLVariables();
request.data.upload = 1;
var file:FileReference = FileReference(this.fileRef);
file.addEventListener(ProgressEvent.PROGRESS, this.onProgress);
file.addEventListener(Event.COMPLETE, this.onComplete);
try
{
file.upload(request);
}
catch(error:Error)
{
ExternalInterface.call('alert', this.uploadFileErr + file.name);
}
}
Thank you for your help,
Cosmin
Using Ascb.util.Proxy
I am trying to use the ascb.util.Proxy class instead of mx.utils.Delegate in order to pass a parameter to a function. The problem is that when I use the Proxy class I get an error: The class 'ascb.util.Proxy' could not be loaded. I already cleared the ASO and copied the code to a new .as file. I can't seem to get it to load. Please help.
Proxy Server Question
Hello!
I have a question that is causing lots of headaches for us. We just upgraded our site to flash 8, and all of a sudden users with proxy servers under IE are having problems. Not all, but enough that its not good. The site makes extensive use of flash remoting - but at least some of the remoting calls are getting through, otherwise they wouldn't be able to get as far as they are in the site. Most of these users are using windows 2000.
Any suggestions on how to get these users up and running? I don't know much about proxy servers - is there something that their IT staff could do on their end to get us up and running?
Thanks!
Beth
Loading Xml Through A Proxy Server
I have a swf residing on one server: http://www.server1.com/movie.swf
It is getting info from an xml file on another server:
xmlData.load("http://www.server2.com/data.xml");
The crossdomain.xml file on server2.com has the correct listing for server1.com:
<allow-access-from domain="www.server1.com"/>
So it works! EXCEPT when the user is surfing from behind a corporate firewall. These users are getting their web content through a proxy server. The browser knows to deliver all its content through the proxy server - but when the flash player makes the xml call - it does not go through the proxy server, it just calls directly to the file - http://www.server2.com/data.xml.
And I think this is why it is failing - how do I fix this? It must work from behing any corporate firewall, so I can't just customize it for one in particular.
Thanks you if anyone can help.
FileReference.upload() And Proxy
Hi all,
I have a problem with the fileReference class and the proxy. The situation is a Flash movie in which you can select files and upload them to the server via the fileReference.upload() method. On the server the upload() method calls a Coldfusion file which handles the upload to the correct folder. Access to the internet goes throu a proxy. After clicking the button to fire the fileReference.upload() method, Flash returns a 407 error (proxy authentication error). This error only shows up on a Mac - Firefox combination! On a Windows - Firefox combination you get a prompt to fill in your proxy username and password. Not perfect but the upload works.
Is there a way to solve this problem? A search on the net shows a lot questions like this, but no answers...
Thanx allready!!
Best regards,
Paul de Snaijer
Overriding The IE Or Proxy Server Cache
I am having a problem with laoding the new swf into teh movie. I have swf that needs to be changed quite frequently. But when I load it from the main movie the swf that laods is usually old. Noramlly due to my IE cache and sometimes due to the proxy server cache. If it was HTML page, refresh would have helped btu refresh doesnt work here. Is there any way I can make sure that the files are loaded from the main server and not from cache?
Creating XML Proxy In MX04 For Web Services
I am using MX2004 Pro and want to create a page to show examples of web services using the new MX2004 components and webservices on xmethods.com.
Everything runs well from the local machine, however when I put this in the browser it stops working. I realize this is because of the security cross-domains related with Flash Player 7.
According to Macromedia, you can create a Proxy using XML to allow that data to come to your site via the browser. This is what I have:
<?xml version="1.0"?>
<!-- http://www.mydomain.com/crossdomain.xml -->
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
The asterick is used as a wild card. I still cannot get this to work. Any suggestions?
Link (new Window) Can't Find Proxy
strangest thing...I made a function that call's a new window and loads a site. The function is triggert bij bij a html text href.
<a href="asfunction: opensite,URL">click</a>
code:
function opensite(arg){
getURL("http://www."+arg,"_blank");
}
this works for almost every site I tested but one. when the new window opens the browser gets stuck on "finding proxy settings"
when I copy paste the URL from the new opened window to a fresh opened brouwser the site pop's up just fine...
any suggestion is welcome, I really need to be able to show this site for my portfolio.
[MX04] Using Ascb.util.Proxy
I am trying to use the ascb.util.Proxy class instead of mx.utils.Delegate in order to pass a parameter to a function. The problem is that when I use the Proxy class I get an error: The class 'ascb.util.Proxy' could not be loaded. I already cleared the ASO and copied the code to a new .as file. I can't seem to get it to load. Please help.
Extends Proxy Implements MovieClip
Is there a way that a Proxy class can implement a displayObject? Specifically:
public class MCProx extends Proxy implements MovieClip{...}
// ...
var m:MovieClip = new MCProx();
A Constant Y Position For The Drag Proxy Possible?
hi,
i'm using DragManager.doDrag() in Flex 2 to create some drag functionality in a canvas.
is it possible to constrain the image used in the drag proxy to just one axis when it is being dragged?
In other words, I'm trying to create a slider-type effect that slides along a numberline.
the only form of control that i can see relating to positioning is 'yOffset':
thanx in advance
finty
Extending Proxy Class Problems
Maybe I'm overlooking something very obvious here...
I'm creating a proxy class which proxies the DisplayObject class.
It works fine except when I want to place objects of this custom class on the stage, since the custom class extends Proxy and not DisplayObject I get a run-time error (casting the object isn't possible for the exact same reason).
How could this be solved, other than having a method in my custom class returning the (original) proxied displayobject?
Flash Using Browser As Proxy For Requests
I've been looking without success for documentation that defines the behavior of Flash (and ActiveScript) when submitting an HTTP request. I've read so far (on sites other than Adobe's) that Flash will proxy it's requests through the browser thus picking up any cookies that are tied to the site that the request is sent to. I've also heard that this proxying does not work for Remoting and Upload.
Can someone point me to the documentation that definitively describes how Flash submits HTTP requests? Can I rely on it to proxy through the browser? My chief concern is that the Flash application shares the session cookies with the browser since flash is only a small part of a larger HTML/javascript based web interface.
Thanks.
AddRequestHeader(), How To Set The Proxy-Authenticate & Authorization
Hi guys,
I have created flash web page, Use and sendAndLoad method. I want set the proxy Authenticate and Authorization. I don't know how to set the addRequestHeader.
var result_lv:LoadVars = new LoadVars();
result_lv.onLoad = function(success:Boolean)
{
if (success)
{
result_ta.text = this;
}
else
{
result_ta.text = "Error connecting to server.";
}
};
var send_lv:LoadVars = new LoadVars();
send_lv.addRequestHeader();
send_lv.sendAndLoad("
AddRequestHeader(), How To Set The Proxy-Authenticate & Authorization
Hi guys,
I have created flash web page, Use and sendAndLoad method. I want set the proxy Authenticate and Authorization. I don't know how to set the addRequestHeader.
var result_lv:LoadVars = new LoadVars();
result_lv.onLoad = function(success:Boolean)
{
if (success)
{
result_ta.text = this;
}
else
{
result_ta.text = "Error connecting to server.";
}
};
var send_lv:LoadVars = new LoadVars();
send_lv.addRequestHeader();
send_lv.sendAndLoad("
Fms3 Buf - Shared Object Proxy
Often when a client connected with fms3 loses his internet connection ( because internet shutdown ) , the client remains connected with fms3.
this happens because in the main.asc it is present a Shared objcet proxy.
ex:
function NetConnection_onStatus(info){
writeln("NetConnection.onStatus> info.code: " + info.code);
if (info.code == "NetConnection.Connect.Success"){
roomList_so = SharedObject.get("roomList", false, nc);
roomList_so.onSync = RoomList_onSync;
writeln("onAppStart> roomList_so: " + roomList_so);
}
}
application.onAppStart = function(){
roomName = application.name.split("/").pop();
writeln("onAppStart> application name: " + aName);
nc = new NetConnection();
nc.onStatus = NetConnection_onStatus;
var result = nc.connect( 'rtmp://localhost/lobby00/lobby', roomName);
writeln("onAppStart> nc: " + nc + " connect result: " + result);
}
ecc..
With fms2 it worked correctly how I can resolve this problem?
help me..
O.S. : linux
server: Processors: Various 5400 Series
Quad Core Processors
2 x 12MB CPU Cache
2GB FB-DIMM 533 / 667 ECC RAM
Does Socket Support Proxy Servers?
Hello,
I was wondering, if one was to create a Socket and then connect to a web site...
mySocket.connect("www.mydoman.com", 80);
but the user's PC uses a proxy server to connect to the Internet, would this
connection succeed or fail?
Also, I assume that the URLRequest / Loader classes do in fact get through proxy servers.
Is that correct or not?
Thanks for your insight.
Dan
|