Flex :: AIR: Make Taskbar Item Flash?
Feb 18, 2010Is there a way to make the taskbar item flash in an AIR app? like it does in otherapplications to alert the user of a change.
View 1 RepliesIs there a way to make the taskbar item flash in an AIR app? like it does in otherapplications to alert the user of a change.
View 1 RepliesI've followed the Adobe instrunctions on how to create an app without windows (link).
The gist is that you can do this by hiding or closing the original nativeWindow and creating a new one with theUTILITY or LIGHTWEIGHT property.
Unfortunately, when an application is launched more than once, the new nativeWindow is created again with each launch. This is highly undesirable.
I've tried setting variables with the launch of the application, but it seems like these are not accessible by the new instances of the application. The weird thing is: AIR apps are not supposed to have multiple intances (should be impossible)! And there actually is only one instance according to the windows task manager and the fact that there is only one systemtray icon.
I quickly need to know how i can hide an AIR app from the taskbar. I am using an icon in the system tray to let the user access the features in the app.
View 1 RepliesI've searched a LOT, but dint get the solution to this: Is there a way to display flex notifications in Windows taskbar, ie, the notification should still be visible even if the application s not exactly frontmost in the monitor..There are ways to do this on AIR, or even flex4..but not Flex3??
View 1 RepliesI'm trying to create custom icons for my taskbar/desktop icons in my Flex WindowedApplication. So far, I've edited my -app.xml file to include the following[code]...
View 1 RepliesI'm developing an app for ANDROID devices using Flash Builder Burrito and am having trouble figuring out how to accomplish one aspect of my app.I have an HGroup inside of a Scroller. The HGroup has images that are 400px in width and I have the width of each HGroup column set to 400px. Although the number of items is dynamic, assume I have 10 images in the HGroup. The width of the Scroller and Viewport is set to 400px.
So far so good -- the user can see a single image within the scroller. The user can then scroll left or right using touch or mouse and see each image. But here's where I'm stuck. I want to make it so that when the user STOPS scrolling the scroller then "snaps" an image into view. In other words, I don't want half of one image and half of another image in the viewport.
Seems pretty straightforward but I can't figure it out. Part of the issue is that there doesn't seem to be an event to use for this purpose. I know I can hook in to PropertyChangeEvent.PROPERTY_CHANGE or MouseEvent.MOUSE_UP/TouchEvent.TOUCH_END (which is what I'm doing now) but that event doesn't really give me what I need.
I really need an event that fires when the user releases the mouse as part of the scroll or lifts their finger off the device as part of the scroll. And then I need to wait for the scroll to stop. For example, if I do a really fast swipe I need to wait for the scroller to stop or almost stop before I perform the snap. The event fires as soon as I let go of the mouse or take my finger off the tablet, so if I alter the horizontal scroll pos then it gets overwritten by the "slowing down of the scroller".
By the way, I know I can use modulus logic to show each image "whole". That's not where I'm stuck -- I'm stuck at which event to use to know WHEN to perform this mod logic.
Note that what I've already developed works just fine if I slowly scroll and then let off the mouse. It's only when you slide more rapidly that it ceases to work.
Here's my partially working code:
private function onVehicleScrollerMouseUp(event:Event):void
{
snapScroller();
}
[code]....
I have a combobox with arrayCollection dataprovider, it selects nothing at start, but i see the first object label as selected, i want to add select text, as first option that selects nothing, just to indicate that the user didn't select an option yet.
View 1 RepliesI'm currently designing a flash web site for local viewing with animations and the like. This is being activated via the "active desktop" in display properties.I forgot how to point flash to open local exe files. ie PS or flash or whatever.. is it possible to have a flash made task bar that sits "on top" of everything else? This would really start some creative options for me if it is.
View 1 RepliesIs it possible to make an item in a List control not selectable? If so, how would this be accomplished?
I've tried one thing so far. What I did was use a custom item renderer that checks for a value in the data property upon a FlexEvent.DATA_CHANGE event. If that value is not set, I tried setting the item renderer's selectable property to false. This, unfortunately, does not seem to work.
Isn't there a better way to accomplish this?[code]...
All I want to do is make sure that when I update the item that the comboBox is pointing to internally, that it's selectedIndex also update so that the label within the ComboBox reflects the new value.
I have a list component and I have an item editor for the items in the list. I would like to have a button that the user clicks once they are done with their changes because I am having them edit multiple pieces of data in the editor and I would also like to validate the data before closing the editor as well. I just don't know what to do on the button's click event to make the item editor close and commit it's changes to the data provider.
View 3 RepliesI have this datagrid:
<mx:DataGrid id="dgCompetenteN" includeIn="Test" left="10" right="472" top="69" bottom="149"
dataProvider="{colCompetente}" editable="false">
<mx:columns>
[Code]....
What I want to do is, when I select an item in the datagrid, the selected item of the dropdown should be the correct one (the one which has the field idCompSuperioara equal to the third element in the selected datagrid row).
I'm creating a mobile app in which I need to show a calendar with months at the top. The months are part of a component that extends from SkinnableDataContainer (and has some custom scrolling/behaviour - which is why I did'nt use a spark list). I need the months to be shown as a 'trapezium' shaped tab and so I'm using a png image as a mask in the item renderer for the component.
When the mask is not applied, it all works well - the months render, the list/data container selection works when I click on a month and so on.When the mask is applied, it renders well, scrolling and everything else seems to work well - but when I click on a month, nothing happens visually. And from the trace statements in my code, it appears list item selection is not changing. Looks like mouse clicks are not working.
Code:
public class TopCalendarMonthRenderer extends LabelItemRenderer {
[Embed(source="/assets/trapezium_alpha.png")]
private static var TrapeziumMask:Class;
private static var trapeziumMaskInstance:BitmapAsset;
[code]...
<mx:itemRenderer>
<mx:Component>
<mx:Canvas>
[code]......
I have used states in my application.The thing is I have made the first item in my list to be selected. so I gave like this,
if(itemIndex == 0)
this.currentState="selected";
this works fine.The problem is when other item is selected the first item does not change its state,it remains in the selected state until its clicked.My code looks like this,
<s:BorderContainer id="outerCont" width="275" height="100" borderVisible="false"
backgroundColor.normal="#3D3C3C" backgroundAlpha.selected="0.1"
backgroundColor.selected="{data.color}">
My states are like this,
<s:states>
<s:State name="normal" />
<s:State name="hovered" />[code]........
Is it possible to trigger Flex Piechart Item click event when a Datagrid Item is clicked.If so can anyone give some example.
View 3 RepliesI need to make each item in my XML unique so that flash can apply a different function to each item in the component. Can you give the items an instance name in XML?
Code:
import com.digicrafts.events.*;
//Timer Set Time
var jumpTimer:Timer = new Timer(1000, 1);
[Code]...
I'm looking for a solution to the following problem and I'm not sure if this is possible to do with Umbraco.We have a Flash movie which will read in images/paths to images and an accompanying title via XML and we need to be able to manage these through Umbraco.Is it possible to program an event for when an image is uploaded or removed from this specific folder so that it makes changes to the XML file and so it adds or removes the corresponding data?
View 1 RepliesI am creating a media player that is supposed to run in the background and thus not obscure any other applications that the user runs.The playe is essentially a lot of AS3 with a minimum of graphics � just enough to set volume and toggle some parameters.uestion:How can I make my graphics so that it can be minimized and only appear on the tastbar?As it is now it can be maximized to cover the full screen and made small so tha it shrivels up down in the left corner of the screen.
View 2 RepliesIs there a way that I can get an AIR app to appear on screen (Always on top), but does not take up a spot on the taskbar? For example, Google desktop takes up part of your screen, but doesn't take up a tab at the bottom.
I'm using custom chrome as well, so how do I find out how much space the taskbar takes up dynamically? This doesn't necessarily have to work on Mac since I'm probably going to be the only one to use it.
I'm trying to get the menu width of a menu item in flex 4. I can get it but I have to show the menu first, then hide the menu, do a calculation, and show it again. Is there an easier way to get the item menu width without this hassle?
View 1 Repliesvar contextMenu:ContextMenu = new ContextMenu();
contextMenu.hideBuiltInItems();
var contactList : ContextMenuItem = new ContextMenuItem("Add to Existing List");
[Code]....
All coding on contactListItemRenderer.as and call to datagrid like
<mx:DataGridColumn itemRenderer="com.view.Contact.ContactListItemRenderer"
dataField="fullName" headerText="Full Name" />
I have a dataProvider and there is an object in the dataProvider. I want to know if there is a way to see if you can check to see if part of the object exists. So lets say I have an object with usernames and passwords and I want to add a username to that dataProvider
View 1 RepliesI have a Spark List container whose dataProvider is bound to a result set coming back from a RemoteObject call. Pretty standard stuff.
<s:List id="list" dataProvider="{model.stuff}" width="100%" height="100%"
selectedIndex="@{selectedSlider.value}"
itemRenderer="{stuffRenderer}">
</s:List>
The selectedIndex is associated with an HSlider, but that is not the problem. My issue is that I would like to automatically select a certain "preferred" element from the list (only initially...to guide the user).
I tried to do that in a creationComplete event but my data hadn't shown up yet...setting selectedIndex didn't work..
Here is my code.I run this code on change event.
for(var i:uint =0; i< model.medicalHistoryDTOListByPatient.length; i++)
{
if(formatDateTime.format(model.medicalHistoryDTOListByPatient[i].VisitDate) ==
[code]......
I basically am suppose to make "scarf" drag over to a movie clip named "winter_mc" and when it is on it, it is suppose to disappear but it's not disappearing. Here is my code used in the scarf:
Code:
on (press) {
startDrag(scarf, true);
}
[code]....
I have code that I wrote(myown and tutorials) and I am having some issues. The object is to make the ball walk to the box and pick up the item. When the pick up occurs the item(box) needs to disappear.
mcMain is the character(ball)
mcCoin is the item(square)
Code:
Variables for key downs
var leftKeyDown:Boolean = false; //left key down false
var upKeyDown:Boolean = false; //up key down false
var rightKeyDown:Boolean = false; //right key down false
var downKeyDown:Boolean = false; //down key down false
var mainSpeed:Number = 7; // speed of character
[Code] .....
how do i make the blue item slide within the constraints of the orange bar?
onClipEvent (mouseDown) {
startDrag (this, true, this._parent.bar._x, 50, 500, 350);
}
onClipEvent (mouseUp) {
stopDrag ();
}
i am not sure how to determine the dimensions(left, top, right, bottom) of the orange bar..
I have attached a file with a senocular springy menu that i have been playing around with. One thing i would like to know how to do is - towards the bottom of the script on _root, a comment says: // for unique content in item clips, attach those / movie clips to the item clip here i have tried many ways to make different content in each menu item, but to no avail (my knowledge of actionscript is not that great). What i would most like to do is have different text on each item and a different onRelease action for each one.
View 6 Replies