Flash paper with flex application
hi, i m flex develper and can any one tell me how can i
convert programmatically the doc file onto a .swf file and display
the content of .docfile into flex component?
Flash (swf) Files had a built in option to be exported as class files way back during Flash 2.0's heyday. Macromedia opened up the swf format quite a while ago. You can probably use Java|C++ to create an swf if you really wanted to. There is a PHP package called Ming that with produce swf's on the fly (similar to Macromedia's generator). As far as scripting a flash obj(swf), you can do that with Javascript from an HTML page, but this isn't the place for that information.
Good Luck,
-Jack
Similar Messages
-
Create a folder in desktop with flex application?
Hi,
i want to create and save a folder in my computer using my flex application, so is there an actionScript function to do this?
Thank you,
CelineI do not believe this is possible to do with a browser based application.
But, if you run your app in AIR you can do use the Flash.filesystem
class to create a directory:
http://livedocs.adobe.com/flex/3/langref/flash/filesystem/File.html -
Using UI Automation Framework to interact with Flex applications
Hi all,
I created a small flash app using Flex builder 4.
I am writing a tool to interact with flash applications using UI Automation Framework which is similar to UI Spy. I've read in so many forums that accessibility can be done using UI Automation or MSAA.
Using the tool, I am able to get all the fields that are present in the application. (button, text, edit fields etc). Now, I want to use InvokePattern on buttons from my tool so that, if I click "Invoke" in my tool, the associated button will be clicked in the flash app. Here, I find no issues to do anything.
But, if there is a textinput field on the flash application and I use ValuePattern of UI Automation to set some value in the field using SetValue(), then I am getting
"System.InvalidOperationException"
even when I tried simple SetFocus() on to that field, I am getting the same exception Looks like, I cannot interact with flash text fields in the same way I do with other window's fields.
I used UISpy and other tools to see if they are doing any better with setting values on a text field. But, they too failed with same exception.
Can someone tell me why this is failing? Does flex/flash support UI Automation to this extent? Are there any examples or links that can help me here?@riatest Thanks for the info.
I downloaded flex sdk to see if there is anything that will help me. But, In flex sdk, I cannot find anything that would ease my path. I want to stick to developing in C# to talk to Flash applications. What is the best way to proceed? Are there any sdks that I can download and use for C# development to interact with the flex controls? What is the way to go? I seem not to find any good hits in the web as well
Thanks
Sailesh -
Flash Video in flex Applications
I'm working on making a web cast template for my clients in
flex and I'd like to do the entire template in flex, however, I'm
not sure about the best way to go about importing flash video into
a flex application. Is it the same as flash 8? Does it include all
the automatic play controls that flash 8 offered?
The flv will be delivered via progressive download.Hi
Flash and J2me both can be use differently, not together till now. We can either use Flash or J2ME as a development tool.
Cheers,
Rohan Chandane -
Using flash debugger player with Flex application
I am building my first Flex app and have run into a problem that I can't figure out. When publishing a .swf in Flash I sometimes run the debugger to generate the swf. When I do so, I can view the swf through my browser (using the debugger version of flash player) and the exceptions that are thrown include a stack trace (complete with line numbers) of any error that occurred. I have tried running the debug compiled version of my swf from Flex and it does not show the line numbers.
Is there some way to do this? I have several thousand lines and the location of the error is tough to figure out becuase it is an instance where I am casting an event to the wrong type through my typed params for a function. So, for example, I am dispatching a MouseEvent but the listener function has a typed parameter of Event instead.
Can someone please point me in the right direction?
Thanks.Thanks for the feedback. Our debugger documentation definitely needs to be refreshed. The PPAPI debugger on Chrome is even more complex. I blocked some time out on my calendar for Friday to try and get these revised.
-
Interaction Flash Lite with another applications
Hi:
I would like to know if exists any posibility of communicate
or interact my flash lite app with another non-flash application
(for example using JNI or any kind of median layer between my flash
app and another app). This non flash app may be a java app for
example or another symbian app that I have developed
ThanksHi there,
Yes it is possible. You can use FSCommand("launch") to do
this.
///example:
The following example would open wap.yahoo.com on the
services/Web browser on Series 60 phones:
on(keyPress "9") {
status = fscommand("launch",
"z:\\system\\apps\\browser\\browser.app,
http://wap.yahoo.com");
Hope this helps, -
I use Flash Paper 2 regularly to print documents from
Microsoft Access. In Word and Excel there is a toolbar button for
Flash Paper but none in Access, and there is nothing available in
the list of tools to add to a custom Access toolbar.
Is there any way to get a toolbar button for Flash Paper in
other applications such as Access?
ThanksThanks Urami! This worked. However, there is still one set of
buttons that still don’t work. These buttons are programmed
to open a new window that is a specific size and has all the
toolbars and menu bars turned off. The html page that opens in the
window contains an swf file that runs a video.
Again, it works perfectly over the Internet or when I test
the html page from Dreamweaver on my PC, but the window will not
open when the button is pressed if the program is running from a
CD.
This program was originally created with Studio MX 2004 with
Flash Professional. With that version, the CD worked on Windows
2000 PCs but not Windows XP. We re-published the entire program
with Flash Professional 8. Once I fixed the file names as you
suggested, everything works except the buttons that open a child
window. Now these buttons in the Version 8 program don’t work
on a CD running on Windows 2000 either.
Here is the code that I have in Flash movie for the button:
on (release) {
getURL("javascript:newWindow('videowin_turnassist.html')");
Here is the code that I have in the html document:
function newWindow(bookgif) {
bookWindow = window.open(bookgif, 'bookWin',
'toolbar=no,location=no,menubar=no,scrollbars=no,resizable=no,width=400,height=425')
bookWindow.focus()
I got this html code out of a reference book several years
ago and we use it all the time to open child windows from parent
windows.
I tried other code that I got out of an ActionScript book and
from the Help files, but I can’t get any of it to work at all
(not even from Dreamweaver).
Do you have any other suggestions for opening a specifically
sized child window that will run a Flash movie?
TIA
Diane -
Flash Paper dans un document flash
Allo tout le monde,
J'ai converti mes fichiers pdf en flash paper 2 format swf :
ça au moins c'est très facile !
Méthode: - Ouvrir un fichier pdf
- Aller à la fonction imprimer
- Choisir l'imprimante qui est Flash Paper 2 et pouf !, tout
ce fait automatiquement.
- On choisit le format de fichier, .swf ou pdf. que l'on
désire.
Bon tout est beau jusqu'à ce point mais là...
J'ai un document flash déjà créer avec un
menu déroulant et des clips divers associés aux
différents boutons du menu déroulant. J'ai besoin
d'importer un de ces fichiers converti en flash paper dans mon
application flash et je n'y arrive pas.
Dans aide Flash paper 2, il y a une page de code à ce
qu'il faut faire pour arriver à importer un fichier flash
paper dans flash. J'avoue que je n'y comprend pas grand chose. Je
ne suis pas vraiment une programmeuse. Voici le code, si quelqu'un
pourrait m'expliquer ce que ça veut dire et à quel
endroit l'appliquer. Je marque des notes à ce que je ne
comprend pas. Alors voici:
Texte intégrale du flash paper 2 dans aide
Utilisation de FlashPaper avec Macromedia Flash
Vous pouvez insérer un fichier SWF FlashPaper dans un
fichier FLA Flash. Lorsque vous exportez le fichier FLA dans SWF,
le fichier SWF FlashPaper est incorporé comme partie du
fichier SWF Flash exporté.
Le code suivant indique comment charger un fichier SWF
FlashPaper dans un fichier FLA normal à l'aide de la fonction
loadFlashPaper() : ( à quel endroit inscrit-on ce code? au
frame 1 du document flash ou au frame 1 d'un clip vide ou ???)
function loadFlashPaper(
path_s, // path of SWF to load
dest_mc, // MC which we should replace with the SWF (est-ce
que je dois créer un clip ? )
width_i, // new size of the dest MC
height_i, // new size of the dest MC
loaded_o) // optional: object to be notified that loading is
complete
var intervalID = 0;
var loadFunc = function()
dest_mc._visible = false; ( est-ce que dest_mc est le nom
que je dois donner à un clip?)
var fp = dest_mc.getIFlashPaper(); ( fp ( est-ce le nom de
mon document flash paper ?)
if (!fp) (getFlashPaper ( est-ce le nom de mon document
flash paper? )
return;
if (fp.setSize(width_i, height_i) == false) ( est-ce que je
dois donner une grandeur, largeur ?)
return;
dest_mc._visible = true;
clearInterval(intervalID);
loaded_o.onLoaded(fp);
intervalID = setInterval(loadFunc, 100);
dest_mc.loadMovie(path_s);
Le code suivant indique comment vous pouvez utiliser la
fonction loadFlashPaper() après avoir incorporé un
fichier SWF FlashPaper : ( à quel endroit on indique ce code?
Dans le clip lui-même sur une frame 1 ou sur le frame 1 du
document flash? )
function onLoaded(fp)
// loading is complete, so we can now adjust the current
page, zoom, etc.
// go to page 50.
fp.setCurrentPage(50);
// change magnification to 33%
fp.setCurrentZoom(33);
loadFlashPaper("FlashPaper.swf", theDocMC, theDocMC._width,
theDocMC._height, this);
La valeur fp.setCurrentPage a été définie sur
50 et la valeur fp.setCurrentZoom sur 33. Lorsque vous exportez le
fichier FLA, la page 50 du fichier SWF FlashPaper incorporé
apparaît à l'intérieur du fichier SWF exporté
avec un agrandissement de 33 %.
Donc à l'aide de ces codes, il serait bon de faire un
exemple pas à pas concret comment on intégre cela dans un
document flash.
Alors j'attendrai la réponse de celui ou celle qui veut
bien relever le défi que de répondre à cette
question un peu compliquée.
Un Gros Merci d'avance !
Nurse 1J'ai trouvé la solution dans la documentation en
englais. Après l'avoir essayer, ça fonctionne.
Alors voici je joins le code: attach code à ce document.
C'est un pas à pas. En espérant que cela peut
aider d'autres personnes.
À une prochaine !
Nurse 1 -
How To use fckeditor HTML with flex
I am using coldfusion server technlogy.
I am trying make demo site Flex with coldfusion.
I want to know how to use html code with my mxml application.
Privious i am using FCK TEXT editor with my HTML File
Currently flex have small text editor But i need full text
editor with all feture which include FCK Editor
Please let me know how to integrate Fck Editor with flex
application . Or any html file with Flex ApplicationFlex has a very limited support for HTML, thus you cannot
create a full featured editor within flex. The only work arounds I
have seen are done using IFRAME's over your app.
Not sure if it an option, however Apollo does a good job of
addressing this issue by allowing full feature Javascript and HTML.
Allen -
I'm trying to find a solution which enables PDF files to be
converted to Flash Paper with some form of navigation (Same as or
similar to the Document Map function in Word). Unfortunately the
Document Map function doesn't work with PDF files. My current
method of converting PDF to Word using a converter programme is not
effective enough. Adobe are saying this isn't a priority for them
and no updates are scheduled in the near future. Has anyone found
solution for this?Hi, I have the same problem... at the end have yoe got any
solution??
Thank you! -
Hi all
this might be a stupid question, but me really not well
understand what Flex was, and what the Flex purpose.
me have download the trial version of flex, and found it seem
more focus on coding and exclude the drawing things which similar
to Flash.
my question : is it possible to create Flash game with Flex ?
what could be done in Flash is it possible to done in Flex
too?
thankshi,
With flex you need to envoke the filereference function save. Because of the security sandbox you can not programmatically save files or create folders, you need to open a windows file browse box then the user can create a folder or save a file.
private function testme():void
var fi:FileReference = new FileReference();
fi.save("hello"); <=== this would open a system file save dialogbox
David. -
How can I integrate My oracle policy modelling project or rules with Flex Application.We r Trying to make similar type of project which has been given under OPM Example (Social Sevices) but in Adobe Flex.
Till now i have written rules in oracle policy modelling then through policy modellinhg only i generated web services and trying to call in flex.
But still i am not clear with how this can be achieved,which operation can be usefull for me for sending response from flex to oracle rule engine.
Can you explain me the process step by step nd guide me for this project.
Is my Approach is correct?
It would be great Help if you clear my doubts regarding integration of OPM with Flex.There are two ways of accessing the engine.
The first way is accessing the engine through the Java or .NET API. In order to do this Flex will need to be able to make direct calls to Java or .NET.
The second way is through the Determinations Server Web Service. The Determinations Server is specifically designed to provide a coarse grained access to the Rule engine, through SOAP/XML over HTTP. The Assess service provide a stateless way of making determinations (ie - data in --> answer out). The Interview service provides a way of creating a more stateful experience (ie, create a session, add/modify data, get screens to answer questions)
If Flex can call Java or .NET APIs directly then, you can use the engine API, otherwise you will have to run the determinations server as a remote web application and access, the engine through the Assess or Interview service.
It looks like Flex definitely has support for calling web services, which would suggest that the Determiantions Server approach would work. A quick google for Flex, Java and .NET looks like access to Java and .NET is always done through web services. -
Using new ColdFusion8 Features with Flex
I've read that ColdFusion 8 has new enhancements for
developers using ColdFusion Flash Remoting with FLEX that are
supposed to make our lives a lot easier, like being able to return
a cfquery directly to FLEX. I'd really like to try out some of
these new features, but cannot find any documentation or examples
of how to use them. The Developer Center has lots of examples for
ColdFusion MX and FLEX2, but where are the FLEX2 and CF8
integration examples? Does anyone know where I might be able to
find some?With MacBooks it's only the Late 2008 model 5,1 Aluminum Unibody and the Late 2009 model 6,1 and Mid 2010model 7,1 White Unibody that have the buttonless multi-touch glass trackpad that allow the gestures to work in Lion. The Early 2006 model 1,1 through Early 2008 model 4,1s plus the Early and Mid 2009 model 5,2s had the button trackpads.
http://support.apple.com/kb/HT3448 -
Attaching movieClip from Flash(SWF) to Flex
Hi,
Please tell me -'How to attach movieClip of Flash file in
Flex Application ?'
I shall be very thankful to you
Hoping for a favorable reply
Thanks in AdvanceUse the Flex component kit for Flash.
https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex_skins -
Unexpected behaviour for flex application running on Mac 10.8 with Flash player 12 on Safari
I have scenario here : I am running my flex application in my Mac 10.8 machine with Flash player 12 on Safari browser . I have a registration form and it is validating various fields in it and when I hit Continue button it is not navigating to the next screen even if all the fields are validated. This registration form is a Popup. Can any body help me with this?
No, the problem still occurs.
It's weird there are no plug-in errors or something.
With fp installed:
with fp uninstalled:
as a side note: a few weeks ago, I made a new clean Mac OS installation because of a harddrive replacement. So, the whole system is actually very tidy...
Maybe you are looking for
-
ITunes won't install. PLEASE. HELP. URGENT.
iTunes won't install. My PC got reformatted. Now, I can't install iTunes. I've been trying to install it for like 3 months now, then it still won't. I've tried to remove it completely, following the guidelines Apple has given. AND ALMOST EVERYTHING.
-
Problem with Blackberry user tools cd
Hello, please help, i just got a Blackberry 8100 from Ebayusa and the user tools CD that was sent with it has something else recorded on it. Which software do i need to download please? Many thanks.
-
"No results were returned by the query" exception
Hi, im using postgreSql (7.2) as a backend and JDBC3 (from http://jdbc.postgresql.org/). im getting the exception, "No results were returned by the query" whenever i try to do an insert. the weird thing is that insert works and i can see a record in
-
Can't edit bookmarks bar in Safari 5.1.10
I have tried to edit the names of bookmarks in the bookmarks bar, and add and delete bookmarks. The changes take place and Safari will close normally. However, upon re-opening Safari, none of the changes are present, and the bookmarks bar has revert
-
Hi All, I want an exit or badi for the transaction ck40n which will convert the rate according to the unit of measure while costing. Edited by: Bygine Benziger on Mar 13, 2009 7:17 AM