Flex :: Embed PDF Inside The App?
Mar 4, 2011How to embed PDF files into Flex App? Do I really need to transfer them to swf files first?
View 1 RepliesHow to embed PDF files into Flex App? Do I really need to transfer them to swf files first?
View 1 RepliesI have a great idea and I want to build a flex application around a .jar file. Is there a way I can go by embedding a jar file into the flex application?
View 1 RepliesI currently have a network camera that streams video as a .swf (and also as a motion JPEG as well...) and I want to be able to embed the stream inside of either a Flash or Air project that I'm creating myself. The only examples i've been able to find though, require the .swf to be saved as a resource of the project; clearly, this is undesirable for a live stream.
Another option is to utilize the motion JPEG. I have some generated code (shown below), but unfortunately only the first image is displayed when viewed via adobe air (if I were to view it in a HTML browser, the image would automatically update, effectively showing the stream:
<SCRIPT LANGUAGE="JavaScript">
function displayImage( )
{
// Set the BaseURL to the URL of your camera
[Code].....
I have a an image, lets call it "StageSkin.png".This is an image which is really just a border, and the middle of the image is "windowed", meaning that it is meant to show other information inside of it.The information inside of it is in the form of a component (based on a canvas component, lets call it 'Gauge').I want to create a component out of the 'StageSkin' image and the 'Gauge' component inside of it that would allow me to resize the component with the 'Gauge' component staying inside of StageSkin's window.I searched on this, and got the code below, but the embedded component just overlaps the entire image. What do I need to do?
<mx:Style>
.nineSliceScalingBackground
{
background-image: Embed("assets/StageSkin.png",[code]..........
I have a native (Obj-C, standard Xcode project) application and I'd like to integrate a partners iOS application (or specifically, it's functionality) into it as just another view in my application. The problem is that their application is a Flex/Air app. I really don't understand the Adobe compilation process on how it gets from a bunch of flex code down to an IPA. I don't see intermediate projects, shared objects, etc on the disk to produce that IPA. It looks like it doesn't rely on the Apple tool chain... as I understand it, you can produce the IPA on Windows as well. Is there any way to build that Flex app in such a way that I can import it into Xcode so I can link against it and use it as a library from within my application? While I specifically used iOS as an example since that is the most important platform, we'll want to apply this solution to our respective Android and Blackberry 6 apps as well.
View 1 RepliesWe have a flex application which compiles fine on windows box using mxmlc ant task but when we try to run the same build scripts on linux, it throws the 'Invalid Embed directive in stylesheet' error indicating it is not able to resolve the path to the image files.
Can someone pls. educate me on if there is a difference in the way the image files are looked up, in a CSS file, on windows vs linux.
Flex sdk version is 3.3. The same sdk is used on both windows and linux. Not sure if this has been fixed by any future 3.x sdks.
Hi. It doesn't seem that I can embed an FLV directly inside an SWF in any obvious way, and I don't want my FLVs to be separate files as I want people to just be able to simply copy my SWF over and put it on their own web site - including the video.
I've thought about embedding the FLV data as a binary class and loading it in as an FLV in memory as people sometimes do with SWFs, but I don't think this is possible as there is no native FLV type in the library.
how to embed a compiled FLA (ie an SWF file) into a FLA.
View 1 Replieshow I might get a Twitter widget working INSIDE a AS2 flash file?I found widgets on the twitter site, but, although I've seen references elsewhere to SWF widgets at twitter, right now the only thing I can find is using Javascript. (Maybe they canned all of the SWF widgets?)[I have found some AS3 stuff, but my understanding is that I can NOT load an AS3 swf into an AS2 one.]
Is there a way to load external javascript content into an object inside of the SWF? (kinda like an iFrame inside of the swf that can load the file with the javascript)
I'd like to embed a small flash file inside HTML, and I need to do so INLINE, if it were a image, I would do something like..<IMG SRC="data:image/gif;base64,RAAAtuhhx4dbgYKAAA7...more data....." ALT="could not load">The file is this one
View 2 RepliesI have use htmlText in the past to embed images in to flash text. Is it possible to embed also MovieClips and Sprites?
View 1 RepliesIt is possible to embed a flash .swf inside an html web page.
Is it possible to embed an html file, such as a long text file, into a flash .swf space, such as a blank movie clip box?
Is there an alternative way to stick giant text files into a flash style document?
I seem to have the [Embed] tag working OK for embedding fonts But I want to specify font and font location in an xml file, read in the font location, and pass it into the [Embed] statement. Like this
var xFont = xFormat..navcontrols.font;
//then...
[Embed(source = xFont, fontName = 'myFont', mimeType = 'application/x-font-truetype')]
var csgFont:Class;
The error I get is
'unable to resolve 'xFont' for transcoding
I want to keep this all in AS3 if at all possible. I dont want to use the Flash IDE to create embedded fonts. I would ideally like to minimize the impact of changing a font.
I am trying to embed (on click) an .swf video inside an empty movie clip I am using as a "holder". how to call the .swf when a user clicks a button.
View 4 RepliesI have a transparent windows (skinnable). Inside, I'd like to preview some pdf file. BUT, in the only a black screen appear
View 3 Repliesso say i have
link_mc.onRollOver = function() {
controlling a button. when users rollover that one there is another button named happy_mc that pops up. how would i code it so that that button (happy_mc) works inside of link_mc?
trying to embed a web browser component into adobe flex.
I've seen in Adobe Air that there is a Item; however, in Adobe Flex 3 for a .swf file that would be somewhere - I do not see it.
I just copied Flex builder's generated html from the tags, and pasted in an ASP .NET page, the page shows up no errors , I can see a grey rectable the size of my flex file but there's nothing in it its blank and I am stumped why?? Why when it's showing up perfectly fine via the HTML file that flex generates.[code]
View 1 RepliesMaking a piano/keyboard application and trying to figure out the best way to set this up .I plan on having a directory of sounds for each 'instrument' in my assets folder (piano1/C4.mp3,piano1/D4.mpg,...)Is there a way to import/embed all of these as an array? Also is there a way I can pass a variable to this class to indicate which folder I want to import these from? Something that would be ideal
var type = "piano2"; //passed from class being called by
foreach(notes as note){
[Embed(source = 'assets/sounds/'+type +'/'+note+'.mp3')] private const C3:Class;
public var c3:Sfx = new Sfx(C3);
}
Or would it be a better idea to have a class for each of these "types" that pulls all notes?
How can i embed and then read a xml file from and into a .swc file?
View 2 RepliesSince the [Embed(source="1.ttf", fontName="bla", fontWeight="Bold", imeType="application/x-font-truetype")] is not embeding fonts i want couse of errros like with helvetica i try otherway. Since Flash IDE always work nice with embed fonts. I made a SWF that embed the font i want. After I make a class that have a method that returns the fontname. In my flex app i load that SWF.. set a var to the fontname of the included SWF.
Now what i create a new textfield with textformat set to that fontname all work ok. But the quality of the font is so pixel. I tried the AntiAliasType etc.. no real effect. When i look in the SWF with the embed font.. it looks nice and smooth..
I'm building a website using Flex, Codeigniter, and I use swfobject to embed the swf. This will not work if I access the website using Codeigniter's index.php file. This is the ouput source:
[Code]...
My guess is that swfobject.js is not detected by codeigniter..
I am trying to embed a movieClip with flashDevelop but apparently its not working because its not recognizing the movieclips that are within it.[code]...
View 3 RepliesIs there a way to embed only a few letters from a font instead of embedding the whole thing?
View 2 RepliesI'm very new in flash and flex and my first task is to be able to embed an SWF made in adobe cs4 using actionscript 3... the problem is I'm not able to embed it in Flex, it is weird though that if for example i add a sound to the swf file to be embedded in flash i'm able to hear the sound but it is not showing up (not visible) in the flex generated swf file
One other thing is if i try to set the flash swf to be embedded to use actionscript 2 then it gets shown in the flex generated swf but if i really need to be able to use actionscript 3 so no use for that
Why Embeded html file doesnt run on ubuntu system
I am trying to embed swf file into html file but this is works in windows and mac browsers exactly. When I am trying in ubuntu ... it wont works..
I'm quite new to developing in Flex. I've found out that it's possible to create mobile applications with Flex 4.5. So far so good, I've made an app and it's working well on my mobile phone. But there is one thing that I'm not very happy with. When I'm installing the app I also have to install Adobe Air (stand alone application). So is not realy cool and not the way to go in my opinion because this will look strange to the users of the app. And especially the users which aren't realy 'geek minded'.
Any solutions to this? Is it possible to include or embed Air in the app? It will make the filesize of the app bigger but that's a much smaller problem then having to install a complete different app next to the real app.All the best from NL.
My requirement is not to dynamically embed fonts in Flex, but to dynamically embed variable in Flex.[code]...
View 3 RepliesI am having a list which is rendered to display images , name of all images is in dataprovider of list. Now i am unable to find how to make all images as embedded images as the name is coming from dataprovider?
Below is list:
<s:List itemRenderer="imglist">
<s:dataProvider>
[code].....
I am trying to implement a card game using Flash Professional CS5. Since flex makes the final size bigger, I do not want to use Flex for now. I have some difficulties to bind code logic with assets. I have a Deck class and Card Class and 52 card images which are converted to movie clips.
Option 1: I can create linkage to those movie clips means that I will have 52 different classes for each card and I have to create 52 different classes to put my functionality for each card.However I do not want to create 52 classes so is there any other solution?
Option 2: I found embedding asset paths to classes in Flex like that;
Code:
[Embed(source="xxx")]
public var customClass:Class;
So is there a way to make it without using flex in action script code?