Flex :: Prevent Scale Trumb Within Scrollbar?

Oct 8, 2009

I'm looking simply approach to prevent scale thumb within flex scrollbar'According to our wireframes we should display scrollbar without up-down arrows and cycle (without scale) as a thumb;

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Scrollbar - Any Way To Prevent Multiple MouseEvents?

Mar 22, 2009

I made a very simple scrollBar using the MouseEvent.MOUSE_DOWN event, which works fine. The problem is I have a few other obejcts that have MouseEvent.Mouse_OVER events, and so if you are dragging the scroll bar, and then move it over one of the objects, the Mouse_OVER event fires. Is there a way to prevent this?

View 2 Replies

Flex :: Prevent Copying Style From One Flex TextArea To Another?

Nov 3, 2009

If you have two text areas with different styles (fontFamily, weight, color etc) and you copy text from one to the other it also copies the style from the originating text area. Is there any slick way to prevent that?

Here is a sample of code that will illustrate the problem. Type some text in the top box and some text in the bottom, then copy some characters from the top box to the bottom. I'm not using htmltext.[code]...

View 2 Replies

Flex :: Prevent The Other Looking To SWC Library?

Aug 4, 2010

I hope I would not waste your time too much. I am going to publish my Adobe Flex library to sell in commercial, but I don't need anyone can open my SWC file and study the code in there. I see Adobe Flex library can prevent this activity. How could I do this too?

View 1 Replies

Flex :: How To Prevent Itemeditor Destruction

Nov 24, 2009

My custom item editor opens a titlewindow (too much stuff to show in an inline editor) which obviously steal the focus, so I get a itemeditend event and the datagrid destroy the editor at the wrong (for me) time. I think to have to keep the itemeditor alive until the titlewindow job is done, but how? DataGridEvent reason is "other" and livedocs said preventDefault() can't help.

View 1 Replies

Flex :: Prevent Components From Rendering In It?

Mar 25, 2010

Is there a way to prevent a component from rendering in Flex (to save memory or processing power)?[code]...

View 3 Replies

Flex - Prevent Ie From Decoding A Utf-8 Url In Flash?

May 16, 2011

I'm finding that in flash (10.x at least) and ie (7, 8, 9) that if I try to load an image url that contains escaped utf-8 characters (p%C3%83%C2%A5) that the characters get decoded before it makes the url request, even if I double or triple encode them. Is there any way to prevent this so the url (with escapes) the way I want it is actually what is requested?

The problem its causing is we give a http status of 301 on utf-8 decoded url requests to the encoded url which flash then tries to request (but ie decodes it again) and I get stuck in an infinite loop because of the 301 + ie auto-decoding.

EDIT, adding code sample:

var url:URLRequest = new URLRequest('http://mydomain.com/p%C3%A5.jpg');
var loader:Loader = new Loader();
loader.load(url);

Now I want the request to go over the line as [URL] (and it does in other browsers), but in IE it goes over the line as [URL]

EDIT: replacing % with %25 (double encoding the %) but that didn't work, it just caused this request to go over the wire: [URL]

View 1 Replies

Actionscript 3 :: Flex Web Application Resize Method(and Scale X / Y) Not Working On Server But Works On Local Flex Builder

Oct 18, 2011

I have a quite different problem with resizing. I have a Flexbook component which uses the middle part of screen (center) with a html header menu and footer. The problem: The scaling works perfectly when we run in the local machine ( Flexbuilder). But when we deploy it to the server its like scaling never existed.. The requirement: when user maximizes the window or minimizes it, the Flexbook should be resized to fit the screen.

[Code]....

View 1 Replies

Flex :: Dynamic - Flex Repeater Horizontal Scrollbar?

Dec 7, 2011

In my application I'm using a canvas and repeater inside HBox it is Dynamic,..now I want to keep a horizontal scrollbar for the same, I may display more than 50 canvas addresses inside that Hbox and repeater.Here is my code:

<mx:HBox id="addrBox" x="42" y="161" width="1000%" styleName="ContextPanel" resizeEffect="resize" horizontalGap="5" height="0" paddingLeft="15">
<mx:Repeater id="rpt" maxWidth="1000" dataProvider="{ customerAddress }" >[code]....

Kindly give some idea for getting horizontal scroll bar for the Repeater.

View 2 Replies

Flex :: Can Overlapping Sibling Prevent Any Event?

Oct 11, 2009

Below is the code for a simple Flex actionscript project. A sprite is partially covering a hyperlink. What's happening is that when you hover over the sprite, if you're also hovering over the hyperlink, the hyperlink is activated. I want to prevent that. I want the hyperlink to be activated only when the mouse hovers over it -- but not when the mouse hovers over the sprite which covers it.

package {
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.events.TextEvent;
import flash.text.Font;
[Code] .....

View 3 Replies

Flex :: Prevent A Component From Being Dragged Out Of The Stage I?

Oct 16, 2009

I think there is a simple solution to this question, just not simple enough for me to find it.Question:How do you constrain a TitleWindow in Flex 3 from being dragged off the screen/stage? Is there a way to restrict the TitleWindow to the viewing area? Example: Let's say I have an application that take 100% of the screen. Next, I create a TitleWindow via the PopUpManager. I can then proceed to click and hold (drag) that window off the screen, then release the mouse button. That window is now lost off-screen somewhere. Is there a way to keep the window from being dragged beyond the viewing area?

View 6 Replies

Flex :: Prevent In Drag And Drop, Dragging Onto Self?

Oct 19, 2009

I was wondering, if I have two list boxes, and I want to drag and drop between both of them, how do I prevent the user from dragging onto the same list (thus duplicating the item? I cannot have a situation where that is the case

View 5 Replies

Flex :: Prevent Variable From Losing State After Being Set?

Nov 4, 2009

I've hit a very strange issue in adobe flex and I'm not sure how to solve it. I have a popup box that is called on creationComplete before startup of my main application. The popup simply asks for an email address and then the application is enabled showing the email address in a label component.

However, when I try to access the email address from the label component called UserID.text in the application, it is always null even though it is visually present in the label box...It seems like it loses state somehow...so HOW in earth can I keep it from losing state? I need to access the label or some variable throughout the use of the application and everything I try always ends up in a null variable?The main part of the application that sets the label is here:

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:controls="com.iwobanas.controls.*" xmlns:local="*" creationComplete="showWindow(true)">
private function showWindow(modal:Boolean):void

[code]....

View 1 Replies

Asp.net :: Prevent An XSS Vulnerability When Using Flex And ASP.NET To Save A File?

Nov 9, 2009

I've implemented a PDF generation function in my flex app using alivePDF, and I'm wondering if the process I've used to get the file to the user creates an XSS vulnerability.This is the process I'm currently using:Create the PDF in the flex application.Send the binary PDF file to the server using a POST, along with the filename to deliver it as.An ASP.NET script on the server checks the filename to make sure it's valid, and then sends it back to the user as an HTTP attachment.

View 2 Replies

Flex :: Prevent RemoteObject From Batching AMF Messages Together?

Jan 10, 2010

I am using Google AppEngine, in conjunction with PyAMF to provide RemoteObject support. In my Flex code I make several RemoteObject method calls at once which tends to batch the AMF Messages into a single HTTP request. Most of the time this is fine but AppEngine applies some strict per request limits (in this case I am hitting a DeadlineExceededError - max 30 seconds). A number of service methods are expected to take upwards of 10 seconds and if these are batched by the RemoteObject into 1 HTTP you see where this is going. Now you could say refactor your service calls and that is also going on but not really the question being asked here. Is there a way to prevent Flex RemoteObject from batching AMF requests for situations like this? I have done a fair amount of Googling on the subject and come up with bupkis. It seems to me that I would need to implement a custom version of mx.messaging.channels.AMFChannel or something of that nature, which seems waay too hardcore for a feature like this

View 3 Replies

Flex :: Prevent Tree Items From Being Dragged Into Themselves?

Jan 14, 2010

I have a flex tree with dragMoveEnabled = true. I want to find out, when an item is dragged into itself or it's children. I'd like to use DragManager.showFeedback(DragManager.NONE) in the tree's onDragOver handler, but can't find out how get this to work. I'm using an ArrayCollection of nested objects as dataSource for the tree.

View 2 Replies

Flex :: Prevent Tab From Changing To Other Cell In Datagrid?

Jun 27, 2010

I have a flex editable datagrid mx:DataGrid and when I press TAB key, it changes to another cell when I am editing a cell.

I don't want it to change to another cell when I press TAB. How can I stop this behavior?

View 1 Replies

Flex :: Prevent Application From Being Resized At Runtime?

Sep 14, 2010

From what I can gather, the resize property of a Flex application is set in the XML config file[code]...

However, if I set this attribute to true, is there a way to turn this off dynamically at runtime? For example, my application has two view modes - mini and maxi. I would like to prevent the end user from being able to resize the application when in mini mode. I tried prevent the resize using the following code but it does not seem to work[code]...

View 5 Replies

Flex :: Prevent Changing Tree Selection?

Mar 16, 2011

I have a tree in Flex Application and one of the items is selected.

When a user clicks another item, I would like to make a check and possibly prevent the change of selection.

I tried catching click event and calling stopPropagation, and also itemClick with stopPropogation but both do not prevent selectedItem from changing.[code]...

View 2 Replies

Flex :: Adobe Prevent Model Tainting?

Mar 29, 2011

I have some values stores in my model. I need to create a copy of those values, make some changes, and then output those changes without affecting the model values.

var my_source:Array = model.something.source
var output:Array = new Array();
for each (var vo:my_vo in my_source) {

[code].....

View 2 Replies

Flex :: Prevent Paste (ctrl+V) In Its Textinput?

Apr 3, 2011

I need to disable pasting text in a textinout (flex3) : CTRL+V

View 2 Replies

Flex :: Prevent Highlight On Object With Focus?

May 27, 2009

I have a TextInput object that highlights when it is focused...I would like it not to highlight when it is focused. way to stop it?

View 2 Replies

ActionScript 2.0 :: Convert This Vertical Scrollbar Into A Horizontal Scrollbar?

Apr 26, 2009

how I would convert this vertical scrollbar into a horizontal scrollbar

heres the code:

onClipEvent (load) {
diff_y = bound_box._height-scroller._height;
bounds = bound_box.getBounds(this);
top = bounds.yMin+(scroller._height/2);
bottom = bounds.yMax-(scroller._height/2);

[code]....

View 3 Replies

ActionScript 2.0 :: Rolledover Clip To Scale Up And All The Others To Scale Down And Blur?

Mar 8, 2007

Scenario: main moveiclip with 4 other clips in it. I want the rolledover clip to scale up and all the others to scale down and blur.

Question: What is the most effiecent way to code this. Would it be a "for in loop"? I am trying to minimize the code and would rather not use a whole bunch of if then statements.

View 3 Replies

IDE :: Flash Content To Scale When Scale Browser Window?

Feb 19, 2010

I want my flash content to scale when I scale my browser window.

View 5 Replies

Actionscript 3 :: Prevent Data Binding In Flex Datagrid?

Apr 12, 2012

I have two Datagrid in flex. I am binding data from Datagrid1 to Datagrid2 like

(Datagrid2.dataProvider=Datagrid1.dataProvider as ArrayCollection;)

If I delete Datagrid2 data then automatically another Datagrid1 deleted .

So I don't want delete data in Datagrid1 . how can i do that , But I have other option for delete data to Datagrid1?

View 2 Replies

Flex :: Http - Prevent From Caching An External Resource

Jul 1, 2009

I'm writing a flex application that polls an xml file on the server to check for updated data every few seconds, and I'm having trouble preventing it from caching the data and failing to respond to it being updated.

I've attempted to set headers using the IIS control panel to use the following, without any luck:

CacheControl: no-cache
Pragma: no-cache

I've also attempted adding a random HTTP GET parameter to the end of the request URL, but that seems like it's stripped off by the HttpService class before the request is made. Here's the code to implement it:

http.url = "test.xml?time=" + new Date().getMilliseconds();

And here's the debug log that makes me think it failed:

(mx.messaging.messages::HTTPRequestMessage)#0
body = (Object)#1
clientId = (null)

[Code].....

View 2 Replies

Flex :: Charts - Mx:axisrenderer - Prevent The Labels From Being Scaled?

Oct 20, 2009

I have a line chart that sometimes contains a number of data points. I have solved how to prevent the horizontal axis from displaying too many labels using custom label functions and data functions. My problem is forcing the AxisRenderer not to scale down my labels.

I'm using the labelRotation property so the canDropLabels and canStagger properties are not an option.

View 2 Replies

Actionscript 3 :: Prevent Displaying Of Some Data In Last Row Of Flex Datagrid?

Jan 6, 2010

I have some DataGrid with editable rows, which has also an option to add new row 'dynamically'. I mean, last row has some default data (e.g. "CLICK HERE TO ADD NEW ROW") and when user clicks on it, he can edit that value and new row will be eventually inserted.

However, I also have a column in same DataGrid which doesn't come from DataGrid's DataProvider. That column is used to delete specific row and it should only display clickable image with associated mouse click action (within custom itemRenderer).

[Code]...

View 1 Replies

Flex :: Drag And Drop - Prevent Dragging For Certain Items?

Mar 22, 2010

how would you prevent dragging for some items of your List or DataGrid?

Let's say I had a list with two items: 'Tom' and 'Jerry'. Only 'Tom' should be dragable, not 'Jerry'.

Ideally I had a 'isDragEnabled(item:Object):Boolean' function, which is being queried by the drag source.

My difficulties start with the fact that the 'dragStart' event handler has a null value for the dragSource, so right from the start I find it hard to find out what the drag-start is about..

PS There have been a few discussions on preventing or canceling a drop, but I haven't seen much about preventing the drag start, hence this question.

View 3 Replies







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