Drupal 6 Using SWF Tools to display an .swf files - drupal

I'm trying to display an .swf file (with an accompanying .flv file) using SWF Tools, which I understand is possible.
So far, I have:
Created the field "video".
Enabled the SWF Tools module (version 6.25).
At this point, I'm really stuck. I created a block in Views, but it only displays an anchor link to the .swf file. I've read "Installing SWF Tools" (http://drupal.org/node/303203) but don't really understand it.
I'm hoping for some simple directions so I can get this finished and move on.

You need to enable the swf tools filter for your input format.

Related

Code completion is not working on Flash Builder 4.7 project

I have a project and added a library to it and none of the classes in the library are showing in auto complete / code hinting in MXML. I searched online and read that increasing the memory might help, allowing the type caching to be larger, but I can't find the eclipse.ini or flashbuilder.ini file that they all talk about. I'm using Mac OSX 10.8.
Also, if there is a way to force eclipse to recreate the type cache (classes list) I would rather try that first than mess with the ini file.
I had to select the FlashBuilder icon and choose "Expand or Show package contents" and then it showed more folders. In those folders was the FlashBuilder.ini.

converting the MS Office document to Swf using command line arrgument?

hi i am trying to convert the MS Office files to swf so that i am able to load them to flex air application. is there open source tool that provide a command line interface for converting a MS Office file to swf, currently i am converting them to pdf and them making the swf but the problem is after this i got the pdf as well as swf with different formatting or text tables etc. in some cases.
need help .
regards
What are you trying to reach?
Do need to display MS Office Documents inside of a Flex application?
Do you want to edit MS Office Documents?
In case you want to display them, why not stick to PDFs?
For he SWF way, I found this solution, but never used it myself:
http://www.brothersoft.com/swf-printer-291607.html
Additionally, Adobe Cookbook has a bunch of threads:
http://cookbooks.adobe.com/search/pdf?hl=en_US
http://cookbooks.adobe.com/post_PDF_2_SWF_Conversion-4701.html

How to link to a PDF file in Qt Assistant?

I use Qt Assistant as a help viewer and I have an internal link to a PDF file that is embedded into the compiled archive format. When I click on that link, nothing happens. How can I link to a PDF file that is embedded, click on the link and have an external application opened? I use Qt Assistant 4.7.3.
Short of bundling a program like Okular into your application release and launching it as an external process there isn't a native way of arriving at your solution. More options are discussed here as well, to sum it up it's either externally or converting the PDF to a QPixmap.
I don't think that this can work. To display a pdf file you need Acrobat or a similar (external) program, and this program needs a file to read. Why don't you store the pdf files outside the help file?

Importing flex compiled swf into a flash file

I've built a form in Flex.
When I run the flex project, I get a html file with some js, css and swf files (NOT A SINGLE FILE), swz files.
When I run the main swf file alone, many things are working perfectly except at places where it needs to send a HTTPService request.
When I use the html file, all works fine.
Now I want to do the following.
Import this form made in flex into a flash site (actionscript 3)
This form has various ViewStacks, where the user will be travelling through these. I want to reload the form back to its initial stage when the user wants to fill the fields again.
Can there be any request sent to the Flash Site from this FORM, regarding the form submission success ?
Can I compile the Flex Project to one single swf file, so that I can use this swf file without any Browser?
Can I convert the webpage application Flex Project to an Adobe AIR application ?
Details:
I used flash builder 4... and flex 3 coding as in
<mx:Application/>
mx namespace is "http://www.adobe.com/2006/mxml"
and no "s", or "fx" namespaces defined.
I'm sorry I can't answer all your questions, but I can answer:
Import this form made in flex into a flash site (actionscript 3)
I don't see why not, although I never did that myself; typically it's the other way around as Flex swf are really more applications than regular flash swf typically are.
Can I compile the Flex Project to one single swf file, so that I can
use this swf file without any Browser?
Yes you can:
With Flash Builder, go to Project->Properties->Flex Build Path, and
change Framework Linkage to Merge Into Code
When invoking the mxmlc compiler directly, use the option -static-link-runtime-shared-libraries=true
Can I convert the webpage application Flex Project to an Adobe AIR
application ?
Yes you can by right-clicking your project in the Package Explorer window, and under Add/Change Project Type, you get make your project an Air application.

Convert Multiple SWF files to Single EXE

Hi I have an application in flash, I build in ActionScript 3.0 Flash IDE, my application loads some external swfs which mentioned via XML file. Its working fine at the moment. But I need to compile all these external SWFs and xml file into single exe file. How can I compile like this. or how can I code like this?
EDIT: 1
from here : http://page-flip.com/products/pdf-publisher/
You can see an example, the application is build in .net and it import pdf and publish it as flash projector or web based(swf). How is it compiling all the external SWF files.
If you have Flash CS4 you can make use of the mxmlc compiler which has some additional tricks up it's sleeve.
Using the embed tag like this will allow you to embed an entire swf "inside" your swf:
[Embed(source = '../assets/items/9.swf')] public static const ITEM_9:Class;
Then, to instantiate it you simply go:
var mySprite:Sprite = new ITEM_9() as Sprite;
Using this and some clever overloading of your current classes for external loading should allow you to get a single swf (xml files can be embedded in a similar fashion).
Then it's just a matter of using the Publish settings to make Flash spit out an .exe
On an unrelated note, please go back and accept some answers to your questions. It's not very nice not to.
You can try mdm Zinc.
Zinc is really powerful. It lets you package your Flash or Flex in different ways, with lots of native platform hooks.
you can build an AIR application. if you don`t want it to be cross platform, you can build an AIR application with a windows native installer.
Flash > File > Project settings > Windows Projector.
For MAC, choose a MAC projector.
If you are burning to a disc and you need both platforms to work...a good option is to use Toast (if you are on a MAC)...it will hide the files you don't need the user to see, and also hide windows files from MACs and vice versa.
There is an application for Windows called SWFKit, which allows you to package your SWF and external files into one exe file. I had the same problem as you, and this worked a treat for me. Unfortunately you do need to pay for it :( http://www.swfkit.com
Hope this helps,
Will
I would go about it with these steps
create a flex application
embed all of the SWF's and the XML into that application
create a release of the application you just created
open the SWF application with the stand-alone flash player and not with the browser
from the file menu select the option create projector
All of this will result a single EXE file that contains all of the SWF's and the XML file.
You can use a projector or make an windows only AIR project.
Use flajector and forget about your problems

Resources