Flex :: Drag Actual Element Rather Than A Proxy?
Dec 17, 2009
I'm trying to implement a dragging system which can only be described as similar to dragging the map on Google Maps. I can set up dragging easily in Flex, but unfortunately the standard model of dragging i.e. dragging an element proxy and dropping it in another element is not what I'm after.
Is there anything built into flex where the actual element rather than a proxy can be repositioned in a different place within the same parent? Or will I have to hand code something using mouse events as you would if implementing a solution in JavaScript?
View 2 Replies
Similar Posts:
Jul 20, 2010
I'm using default drag/drop on Flex DataGrid, however, the dataGrid itself has an itemrenderer.Looks like:
public class FlashFileDataGridRenderer extends Label{
public function FlashFileDataGridRenderer(){
super();
[code].....
View 2 Replies
Mar 23, 2010
I found examples in adobe site only to position the object where the mouse pointer is. But i have to place the image in the position of drag proxy image.
View 1 Replies
Mar 2, 2010
how can I place a swf file in my webpage when the width of the file changes according to the user input. What I need is a sort of a dynamic css...
View 1 Replies
Feb 7, 2010
i have TileList from which i'm dragging some stuff(image) to Tree (something like dragging sounds into playlist in iTunes), but when i can drop this stuff, i see only underline, this mean i can drop it only under or above some leaf-element in that Tree. How can i force it to hide this black underline and highlight leaf-element to which i wanna drop my stuff.
View 1 Replies
Mar 1, 2010
I have a problem positioning a Flash element inside a div tag. The problem is, that the flash element is changing it's size based on the user input. I need a way how I can dynamically get the actual size of the flash element, and to change the behavior of the div element the flash is integrated in. actually I want to place it in the middle of the div. right now I gave the flash element width and height of 100% but that way I can not center the element inside the div...
View 2 Replies
Feb 21, 2010
I'm trying to upload images with Uploadify but I run into IO error. I have gotdemo and it works on my computer, so I decided to implement functionality of my application to this example step by step to catch the error and discovered that the reason of IO error is my local proxy.pac (I use FF):
function FindProxyForURL(url, host) {
if (shExpMatch(host, "*.app.local*")) {
return "PROXY 127.0.0.1:3000";
[code]....
View 1 Replies
Mar 21, 2011
I want to use a proxy on the HTML Control found in Adobe AIR.I have tried looking at the AS3 docs on Adobe but honestly, it didn't explain the usage clearly to me and looking at Adobe's example, I can't seem to make out anything off of it.
View 1 Replies
Jan 25, 2010
I have a problem using Flex with BlazeDS on a Tomcat 5.5 through a Proxy (Apache). I already searched for it but didn't find answers which solved my problem. I hope you guys can help me out. Our scenario is the following: Flex-App using BlazeDS to communicate with our Dataservice on a Tomcat 5.5.The Webapp is balze enabled and the services config contains channel definitions like the following:
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://xxx.xxx.xxx.xxx:8180/myDataService/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint">
</channel-definition>
[Code]...
View 2 Replies
Jul 29, 2010
So I have a PHP proxy that gets information from a website. Let's say the proxy gets the information from (www.example.com). It checks if the number of lines returned is the same as before, if not then there are more lines, it counts the difference then it need to push this information to the Flex client saying that it has new information, (x) more lines have been written.I am not really sure how to do the push mechanism on the php proxy because I am not sure how to actually push from the proxy to the client, never done it before.
View 2 Replies
Nov 7, 2010
After reading James Ward's post I'm considering using a proxy rather than a crossdomain.xml file. I have a java app, which includes a flex applet, on one tomcat instance and a java web service on another tomcat instance. Does it make sense to have a single (Apache httpd) proxy handle requests for both the app and the web service, thus eliminating the cross domain restriction?how to deal with the cross domain issue are welcome.
View 2 Replies
Apr 29, 2011
I am having some issues trying to make an AIR application connect to a RemoteObject when the application is run in a domain that has proxy servers for outbound connection.The error provided is as below:
[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://myTestService.org:8080/default/message/amf'"]
View 1 Replies
Jun 11, 2011
explain me briefly what is proxy server and what does it do
View 1 Replies
Sep 28, 2011
I am trying to call a webservice using proxy. My settings for proxy-config on blazeds side are as below:[code]Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (null)faultString: [MessagingError message='Destination 'ws-catalog' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']
View 2 Replies
Oct 29, 2010
Is there a way to know the proxy setting of web browser under Flex 3, namely actionscript 3?
We use socket library to connect remote HTTP server. It is nice to read web proxy setting to connect to HTTP proxy instead of directly to HTTP server.
View 1 Replies
Aug 12, 2011
I have an air app and I want to add proxy-authorization header whenever my client is behind a proxy. I am adding 'proxy-Authoriztion' header in urlRequest headers but still I am getting the OS prompt for username/password.
var loader:HTMLLoader = new HTMLLoader();
var be:Base64Encoder = new Base64Encoder();
be.insertNewLines = false;
be.encode("test" + ":" + "test");
[Code]...
View 1 Replies
Aug 20, 2011
I am creating a google scraper in Adobe AIR using the Flex 4 framework. I have run into a brick wall: Google forces a captcha after around 10 pages are read. Can anyone tell me how to get the page through a proxy server
[Code]...
View 1 Replies
Jan 19, 2011
I'd like to get the actual height of a component after adding some children.
When inspecting the variables tab in debug mode, I see 2 different height variables:$height (which contains the correct value: 138) and height/_height (which contains a wrong value: 10).
I guess that the display is not updated and so I'm not getting the correct height using component.height, but how can I get the value in $height?
[Code]...
View 2 Replies
Jan 19, 2010
I am trying to develop a P2P conferencing application in flex using RTMFP. So I have to make connection to Adobe Stratus server for Id of Flash Player instance. I am a student and behind the http proxy. I have checked in NetConnection class but, didn't find anything related proxy configuration.So, How can I configure proxy settings for my flex application.
View 1 Replies
May 7, 2010
I wahnt to place a container (alpha red) on top of my chart like on the image.How to get the x, y (point A), width, height of this area?
View 1 Replies
Jun 29, 2011
what is the actual height of a container in Flex without scrollbars? Height and measuredheight seem to tell me what the visual height of a container is, but I want to know that number plus any height that is being 'hidden" below a scrollbar.
View 2 Replies
Jul 19, 2010
I have an application with width/height of 100%. I have several nested groups within and their measurements are all not set, instead being defined as top=5 or left/right=10, etcI'm trying to get the actual with of a group that should be 390. I've set the swf object size to be 400 from the html embed code, and the group is inside another group that is width=100%. The group has a left=5 and right=5 so the width should be 400-10. When I display the .width and .measuredWidth of this group, the width is always 400.I'm fairly new to flex/flash. Do I need to have explicitly set widths in order to get the width of child containers? Is there something I'm doing wrong here?
View 3 Replies
Sep 21, 2010
Flex HTTPService faults end up wrapped in a fault object that seems to obscure the actual returned text. Right now, I return a custom 400/409 error response to service clients that contains useful information about the cause of the error, which I'd like to have displayed to that client.
How can I, given a fault event, get the actual text of the HTTP error response?
View 1 Replies
Dec 21, 2010
As textWidth property is no more accessible in spark textinput how we can get that property ?
View 1 Replies
Oct 25, 2011
I'm trying to display the profile images from both facebook and twitter. For facebook, the URLs I'm receiving are something like this (not actual urls):[URL]... Which is then redirected to the 'actual' url like this:[URL].. I'm also doing this with twitter, with the same issue (redirected url).
So, when I load the image, it loads fine. But when I close the container that the image is in, then I get the security sandbox violation. I can get this all to work if I add the URL from the 'actual' image url like this:
[Code]..
View 1 Replies
Dec 10, 2010
I have created a XML file directly under the webroot, named index.jsp, the contents are as follow:
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<?xml version="1.0" encoding="utf-8"?>
<catalog>
[code].....
View 1 Replies
Mar 18, 2012
I know that there is no such function as getElementByName in Flex but I also now that you can do this["object_id"] to get the element of the application u're in.What about getting an element inside another element?I've tried making element["id"] ? But in my try-catch it always runs the "catch" part..how do I get an element inside another element just having it's id in dynamically created string form?
View 2 Replies
Jun 8, 2010
I want to create a complete (and real) 2-dimensional array. In order to use a maximum of Adobe code, I want to use ListCollectionView which can manage sort and filters. But to use a second dimension, I need to override getProperty method, like following code.
[Code]...
View 1 Replies
May 10, 2010
I have flash where there is a link for song download. And, at the bottom of the flash I've a count, loaded thorugh flash vars which should increment everytime donload button is hit. Please let me know what approach should i take to do that. can i call a Java method on donload button which will insert a row in the table and and then get the count and render it to the count variable in my flash?
May be this extremely confusing. Here is a very similar example on how it is done. This is actually very similar to what i want to do. [URL] on this link there is count below which increments you hit the download button.
View 1 Replies
Mar 30, 2012
I'm using Flex 4.5 and trying to take advantage of the new state groups feature. I have two States (call them readType1 and readType2) that both belong to the same stateGroup (call it readOnly). There are several places where I'd like to do something based on the current state, and it would be the same thing for the two read states. [code]...
View 1 Replies