Is there any tutorials on how to drag a file form a flex application to windows explorer? - actionscript-3

I can't seem to find a tutorial on how to create a drag event that allows you to drag a file form a flex air application into windows explorer file system.
Is this possible? I have a icon that i would like to be able to click on and drag from my air application info the file system and create a text file in that location that i drug into.
Does anyone know of a tutorial or a example to get me started?

I did find one that was exactly what I was looking for if you download tour de FLEX (its a bunch of flex tutorials in a air application) http://www.adobe.com/devnet/flex/tourdeflex.html It that one called "Drag and Drop (2)" Its about dragging form inside a air application to the file system and back very helpful!
Thank you everyone!

Related

How to create a "Photo Gallery" in windows phone 8.1

I'm building one app and I want to make a gallery in my app.
What I did was create a GridView binding all my photos.
But what I really want to do is, create a gallery the same way of Windows Phone.
Well Microsoft did create a control for this! It's called the MediaViewer Class, but it's a difficult one to use. It's however the closest representation of the actual control used in the WP camera app! It was first featured in the Basic Lens app sample and provided as a nuget package PhoneMediaViewer
Hope these code examples help

Flex dashboard component

I are looking to use a dashboard component in flex/as3 product.
So far I found this :http://www.flexicious.com/Home/Dashboard
I would like to know if anyone used such a product and can provide input on it.
Our base (flexible) requirements are:
Ability to move , resize , show - hide arrange windows inside the dashboard, something similar to flash builder editor.
Thanks!!
The dashboard application is inspired from the sample Dashboard application developed by the Adobe Flex community.
I suggest you to get the source of Adobe Dashboard Flex project and run it on your Flash builder.
It's more pretty and clean than any other imitation.
1- go to this link to download the project source as FXP (flash pro project) :
http://download.macromedia.com/pub/developer/flex/Dashboard-Part4-End.zip
2- Unzip the "Dashboard-Part4-End.fxp" file.
3- import it on your FB like this: File > Import Flash Builder Project > File and browse to your "Dashboard-Part4-End.fxp" file.
4- That's all, Run the project and look how it's pretty and clean : you can resize, move and reorder widgets with animation (see attached screenshot).

is it possible to drag and drop html elemnts in dreamviwer cs6

I am developing a phonegap application using dreamviewr cs6. I use dreamviewr after a long time. In a previous version, I can rember that there was a html bar so that I could drag and drop html contents and design a site. but In dream viewer cs6 I couldnt find such a facility. Is there any special configuration to get html list to drag and drop?
window->insert ctr+F2 is the key

use air native extension to show a simple native button?

I'm mainly an AS3 coder and I know Java fair enough to be able to build my own ANE files for Vibration, Toast, dialogs and that simple stuff...
using air native extensions are cool but I'm getting a bit disappointed not being able to create a simple button with it.
I know creating a simple native button is a silly thing to do as it is very easy to create buttons in air directly but I'm using it as an example.
So the question is that is it possible to create .ane for calling native Button in android? at all?
it seems like I can't create any .ane files rather than abstract tools like push notifications or popup like windows like progress bars and dialog boxes.
is it right to say that a simple native button cannot be created with air native extensions?
for those who wondering why a simple button cannot be called with extensions, read http://adobe.com/devnet/air/articles/extending-air.html (scroll down to Limitations) where it says: Extensions cannot directly integrate interactive objects, such as native UI controls, with the display list. (Other items, such as native dialog boxes, may work, depending on the platform.)

How to Clear history in Adobe Air's HTML control

I am using Adobe AIR's html control in my desktop application to let users see web pages. I am using the html.historyBack() and html.historyNext() methods to allow moving back and forth. But I want to clear the history once a specific option is selected, say a click on a button, without restarting the application. I tested both versions of AIR, 1.5.2 and AIR 2.0 Beta but unable to find any way to do so.
Is there any way to fix this problem?
Looking forward to hear from you,
Alex Fisherr
I don't think you can direct modify the history object because it's read-only. The easiest way to clear your history is to create a new HtmlLoader and replace the existing HtmlLoader.
This new HtmlLoader will have no history as desired.
If all you want to do is set the enabled state of the back and forward buttons then have a start point int, which you can reset when needed. Then base the history.length on this.