Actionscript 3 :: List Down The Printers That Available In The System?
Nov 22, 2011How to list down all the printers in system in ActionScript 3.as3 property printers not working.
View 1 RepliesHow to list down all the printers in system in ActionScript 3.as3 property printers not working.
View 1 RepliesIs it possible to list Sound output devices on a system. I'd like to be able to list Sound output devices and play a sound to more than one sound device at the same time. I.e. Internal speaker and a USB headset. I know you can capture sound from multiple input devices using Microphone.names and Microphone.getMicrophone(index); Can I play the sound to multiple sound devices?
View 1 Replies1. How can I get a list of available system fonts on the client machine?2. Is there any way to specify a font stack for TextFormats g. Univers, Helvetica, _sansor do I need to chack for each font's availability and alter the TextFormat accordingly?
View 2 RepliesI´m developing a program that let you choose the printer you want to print on, for that i need to get all available printers on my system
View 2 RepliesTrying to figure out this printJob thingy in Flash. How can i make it send either 1 movieclip to one print and another to another printer, or the same movie clip to both printers?
View 2 RepliesI have been approached regarding building a touch screen app for a client, but as it will be for use on kiosk machine it needs to interface with a bill/coin acceptor and a printer. What are the common the ways of accomplishing this?
View 1 RepliesI got a textfile who i am reading on a serverside script and passing it as a script to my client side as3 code. The problem is that i am using characters like ä,ö,ü,ß and this isn't well displayed. I tried System.useCodePage but the compiler complains about : 1120: Access of undefined property 'System'. It doesnt matter if I tried this on the first line of the 'Action' in the first scene or in the first line of the first .as file i am loading. (btw i am only working with .as file and not in the timeline). When i am importing flash.System.* the compiler complains he dont know useCodePage.
View 3 RepliesIs it possible to make this a mask? The system contains one movieclip of a circle called ball, also a class called ball and a class called particle. I want the particle system movieclips to display an image...I'm sure this is possible...just have not been able to find a way. A little backround, I'm a completely selftaught n00b when it comes to AS3, but I'm grasping it fairly well... the tutorial is on this website, called A Simple Particle System Using Actionscript 3.
View 0 RepliesI'm using flex 4.1 to write an application. i read in the documents that has the rowCount property to set how many items to display. the does not have that property. how can I limit the list to display 3 items ?
View 3 RepliesI am working on an older Flash project created in CS3 ActionScript 2.0 How can I make the pointer cursor change to the hand when hover over a list item?_root.slidePanel.myList'myList' is the list. I have traced out the contents of the List MC and it has a child MC called 'content_mc'. I assumed this was the object containing all of my list items but the only members of this MC I can see (when tracing them out) are 'setRGB' and 'searchKey'.
View 1 RepliesFlex 3 List control had a itemRollOver event. Flex 4 List doesn't have it. Is there an equivalent or a workaround for this issue?
View 2 RepliesCreating a dynamic list and associating a picture with each list item. i need the list to be scrollable, and i want the list and it's associated picture to be displayed randomly when the application is re-launched. i.e it doesnt show the same list everytime.
I also what to be able to sort the displayed list items. e.g if the list items is about restaurants, i want users to be able to sort the displayed items by either; district, cusine type and gastro type.
I have a combobox and list component on the stage. The combobox has 3 selections. How do I get it so that each selection triggers the specific xml file to load into the list component? I can't get them to communicate to each other.
View 1 RepliesHere is a snip from within my code:
[Code]...
The 'recommendations' dataProvider is an ArrayCollection of String, which are generally sentences about as long as this one. By setting the variableRowHeight and wordWrap properties as shown, if a sentence is too long to fit on a single line, everything works fine- the row expands and the messages show on two lines, or occasionally three.
The space allocated for this panel within the entire canvas means if the total text size of 'recommendations' exceeds six lines, I need for the entire list scroll. This is also working just fine. The trouble is when using the mouse wheel to do the scrolling- Flex scrolls both the entire list and the single item where the mouse is hovering. Often this results in only the second half of a sentence being visible. Non-programmer friends I have asked to look at this noticed this, and tell me it as a problem. If a user does not notice the dual scrolling, and sees only a fragment of a sentence, it will be perceived as an error in the application.
[Code]....
I want to add a SimpleButton to a list item in a list component. I am getting the CellRenderer for the list item I want and using the addChild method to add the simple button. The button appears in the right spot on the list item but it doesn't function like a button. It's like the contents of the buttons first frame is added to the CellRenderer and nothing else.
View 1 RepliesWhen a user selects a category from the first drop down box then i want the 2nd drop down to be updated based on the selection of the first drop down. I have created multiple ArrayCollections whose names are set to the "data" values of the first drop down, for instance:
[Bindable]
public var countries:ArrayCollection = new ArrayCollection([
{label:"USA",data:"USA"},
[code].....
I am currently working on a project in Flex and I am having a hard time having a list's contents ALL be selected by default. Wondering how to do this.
<mx:List id="list" dataProvider="{dp}" allowMultipleSelection="true"/>
I'm just trying to have the list all selected.
Why I have to press 2 times the arrow key down to get a navigation through the list items in a list component of Flash?
Theres any workaround for this? I have a listener for keyboard event that checks if keyCode is equal to 40 if it is then I use 'stage.focus = list', but I have to press 2 times key arrow down to start navigating through list items.
I'm trying to animate a list as I delete the top row. All the examples I can find use itemsChangeEffect to bind to the effect, but this property exists only in MX lists, not spark lists.
Any idea how I can get the same effect done in Spark Lists?
I'm trying to remove the top most item in the list with a slight fade out effect before the rest of the items move up to replace the gap.
I am creating a map of the USA and when a user mouses over a particular state,I want to display a movie clip (which is just a text list of our dealers in that state). When the user mouses out I want the list to disappear.However, I want the user to be able to mouse over the list to scroll the list and whenever I try it, obviously the state loses focus and the MOUSE_OUT Event fires.How to I get around this?Here is the code I have currently:
Code:
PA.addEventListener(MouseEvent.MOUSE_OVER, showDealers);
PA.addEventListener(MouseEvent.MOUSE_OUT, hideDealers);[code]............
while i using drag & drop from listbox1 to listbox2 ,how can i get all the items of listbox2 in flex
View 1 RepliesThe traditional way to assign an icon would be to use the icon field of the item renderer,which reads the value of "icon" property in your data, for example:
listData.addItem({label: "Logout", icon: "com.classpth.DefualtThemeLogoutIconClass"});
But i want the DefualtThemeLogoutIconClass to changed to another class: ightThemeLogoutIconClass when the theme is changed.The only way to do this would be to use a style declaration containing a classReference to the icon, and change its the value in each of the CSS files of the various themes.The question is, is there any way to assign this style to an icon in a List, something as easy as intuitive as list[0].getIcon().setStyle("styleName");
I have two Lists (components) on stage. The first one (mainList populates from an XML called topics.xml
[Code]...
on event handler change, I want to load the second list on the other list component, called subList..It's not loading.. I believe it's because when it reads the data from my topics list, it reads topic1.xml instead of "topic1.xml" ( reads without the quotes). If I unquote line v.list.load("subtopic.xml"), it works, but I need it to be loaded from the XML..
[Code]...
I build a web site in flex that some time take input. Will this website works on Touch Screen environment(KIOSK).My question is we have to make any change to handle input such as prompt on screen keyboard when input fields are get focused or it will manage my device and OS of system(KIOSK, Touch screen system) itself.
View 2 Replieshow to populate a list box component located within a seperate mc in my swf with an array... the array comes from a response from a webservice call. I am not currently on the computer with my source code available so lets just use the following....
listdata[i] = the array i want to populate the list box with..... (listdata1, listdata2, listdata3, listdata4, etc. etc.)
movieclip1 = the MC within my fla containing the list box component
mylist = the actual list component
... just not all that familiar with the format of actionscript when working with objects... using CS3 and as2 btw,
So I am trying to load a text file into flash, grab all of the files listed in it and then load them into flash. Not working. Heres my code.
ActionScript Code:
import flash.display.Sprite;
import flash.events.Event;
[Code].....
I'm creating a sort of search/sort thing using XML and List Boxes. It's three list boxes, when a selection in the first is chosen, it populates the second box based on the choice, and then when a choice is made in the 2nd box it populates the third based on that choiceThe choices are being pulled from an XML doc.I'm so close to having it working. I can get the first to populate the 2nd but not the 2nd to 3rd. I know it's just something with the syntax, how I'm referencing the node I need and how I'm using the listener. It's all running together in my head at this point. This is in Flash 8.Here's my AS:
Code:
var RootNode:XMLNode;
var selectedCategory:String; // formerly selectedGallery
[code]....
When I use IK system to build a man and move it to perform poping, I found the more poses I gave to it the more its arms and legs would drift away. I didn't use alt and mouse to move the limbs. I only use my mouse to pose it. But WHY after I finished some poses, the limbs of the figure would get loosened?What was worse, If i adjusted those limbs(by alt and left click-drag) to fix the drift, the poses I have finished would be messed. So, what should I do?
View 3 RepliesI'm making a sort of interactive graphic novel and was wondering how would I implement some sort of inventory system. Btw, I'm using Actionscript 2.0
----INVENTORY SYSTEM 001----
You see, I would like the ending screen to show a summary of what the player has done in the game.And certain points in the game would add certain 'items' into the inventory which will in turn affect what is displayed in the summary screen.The 'items' here being words or phrases.eg:
Quote:
You _______ with the _______ and proceeded to _______. But you _______.
For example, if the player chooses Path A, summary screen will show: eg:
Quote: You stabbed the unicorn with the shark fin and proceeded to shag your mistress. But you ate a pecan pie.But if the player chooses Path B, the summary screen will instead show eg:
Quote: You stabbed the tree with the shark fin and proceeded to shag the corned beef. But you smashed a watermelon and caused a civil war.
----INVENTORY SYSTEM 002----
I think with a few modifications, this inventory system could also be used to affect the outcome of the movie depending on what item the player currently owns? Please enlighten me if this system is feasible.
The player is given a choice to pick up a spoon or a fork in the beginning of the game.The player is later faced with a soup crisis. If the player has previously picked up a spoon, the soup can be consumed. Otherwise, the soup is left well alone.
is System.gc() recognized in AIR 3 for iOS ? Or am I putting on a line a code that's just for pasterity ? I have made every effort to dispose(),null and removeEventListener any unused Object, hence to be able to tell the Garbbage Collector to "go ahead" is a really awesome feature.
View 5 Replies