Embeding a .gif image in Flex Application.
Hi All ,
In my application , i have a requirement like : i need to play .gif images , But Flex does not support .gif animation , it will display .gif as normal .jpeg image.
So i used : AnimatedGIFImage.as --> http://code.google.com/p/as3gif/
But it is giving Error like :
Please Help....
I think that you are looking for a kind of this code. Am I right?
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GradientPaint;
import java.awt.geom.Rectangle2D;
import javax.swing.JFrame;
public class DemoPaint
public static void main(String args[])
GradientFrame gf = new GradientFrame("Gradient Frame");
gf.setSize(300,200);
gf.setResizable(false);
gf.setVisible(true);
class GradientFrame extends JFrame
Color red_color = new Color(128,0,0);
GradientFrame(String title)
super(title);
public void paint(Graphics g)
Graphics2D g2 = (Graphics2D)g;
GradientPaint gp = new GradientPaint(0,0,red_color,getWidth(),0,new Color(red_color.getRed(),red_color.getGreen(),red_color.getBlue(),0));
g2.setPaint(gp);
Rectangle2D rect = new Rectangle2D.Double(0,0,getWidth(),getHeight()/2);
g2.fill(rect);
}
Similar Messages
-
Hi,
I'm a new guy to flex.In my project i got a requirement to render multi-page tiff images in flex application.Can anyone help me how to render multi-page tiff images in flex.It will be very helpful for me in my development.
Thanks in advance,
Swetha.http://stackoverflow.com/questions/2149365/reading-tiff-files-in-adobe-flex-based-applicat ion
http://stackoverflow.com/questions/3300244/16-bit-tiff-decoder-for-flex
But do not expect to find an easy solution. -
Embedding Fonts in a Flex application -- Legal issues?
I am currently building a Flex application for a Client. The Style guide they have provided shows Univers 55, Univers 65, and Univers 45 as the main fonts for the site and the app.
Page 1567 of Using Flex 4.5 states
Note:
Check your font licenses before embedding any font files in your applications. Fonts might have licensing restrictions that preclude them from being stored as vector information.
The fonts they are using in the AI file for the design document appear to be older version Adobe 1.0 TrueType fonts dated 30th June 1997.
I can not find the original license for these fonts, but such licenses may pre-date embedding technology, so are we allowed to embed them?
As an alternative could we safely use the OTF Univers LT Std family and are there any differences?
Message was edited by: lingoguruAs far as i see it, it's mainly just for convenience.
Embedding an image into application removes the need for you to store it elsewhere on the server, as it becomes part of the .swf file.
From personal experience it's very handy with small images, as it doesn't increase the size of the .swf file too much, and it means you don't have to keep track of them when distributing your release build.
you don't have to embed anything, you can simply reference it by location instead, but you'll experience a slight delay as it's loaded into the application on request.
The need for using this feature depends entirely on what you're trying to accomplish.
If you're making something like a large image gallery, it'll completely remove the need for wait for pictures to load when you're scrolling through them. However i wouldn't recommend it as you'll send your application size will go through the roof, and the waiting time for the whole application to load would be fairly extensive.
If you have an application with like 40 small ~3kb images using for navigation icons or something, you might as well, it's just convenient and won't impact the loading time by too much. -
Playing gif images Flex +Struts.
Hi All ,
I have a Flex Application which is working fine, and i am integrating this with Java Struts .
My problem is In my flex application i have written a code for GIF image play.{Playing Animated gif images}.
But when i am integrating with Struts .. this is throwing ERROR #2032 .and GIF image is not loading (Showing loading failed).
But when i am running my flex separately its working fine.
For GIF images playing i used GIFPlayer.as , its giving error :
I dont know whats happening.
Please help........Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
See also:
*http://kb.mozillazine.org/Animated_images -
Flex application embedded in a PDF performing a LC call
Hi,
I have a Flex application that is embedded in a PDF as a navigator which is supposed to invoke LiveCycle application deployed on a weblogic server using SOAP endpoint. The web service call seems to work fine if I run it from Flash Builder but once it’s inside a PDF, it would appear that the web service call is not reaching the application deployed on the Document Service server. The same application, however, does work if the server is deployed on JBoss.
I was wondering if anyone has suggestions on how I should go about troubleshooting.
Thanks, Lilliam.Hi,
Creating a new project it's
- File -> New -> Flex Project
- Application Type -> Desktop
Setting this will create the descriptor file and create the WindowedApplication as the root. This application will startup in a native os window.
Here is an example of creating a simple os child window;
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Script>
<![CDATA[
import spark.components.Window;
protected function button_clickHandler(event:MouseEvent):void
var window:Window = new Window();
window.title = "Hello Window";
window.width = 200;
window.height = 200;
window.open();
]]>
</fx:Script>
<s:Button label="Open Window"
click="button_clickHandler(event)"/>
</s:WindowedApplication>
The documentation will guide you the rest of the way.
Mike -
Hello!
Is there any convenient way to embed GIF image into flash
file? Embedding JPG image was easy using HTML <img> tag, but
that does not seem to work with GIF.
The reason I need this, so the argument ?image could be
passed to flash file and the image inside flash would switch
according to the passed argument (without editing .FLA file
itself).
Thank you in advance!ok - the real problem here is that you are using the 'actual'
file as it loads to act as the preloader - in this case the
majority of the file will load previous to the preloader initiating
anything because it will not function until the file is
instantiated. a much better way of handling this is to use the
MovieClipLoader class and create a 'loading' swf file that IS the
preloader, which in turn 'loads' the actual swf. you then use the
onLoadProgress handler of the MCL class to control the events of
the load and then you can initiate the opening methods in the load
file using the onLoadInit handler.
so you would make a file that is the same size as the main
file, then place your preloader assets and code constructs for the
options you're using within that file - call mcl.loadClip() and
load the 'main' swf in that way. the preloader should then only be
a few k at the most and load almost instantly, and show the
progress properly. this is the best way to go when dealing with
large files. -
Embedding Flex applications inside a portlet question
I'm trying to embed a Flex application within a Java portlet on my WLP 10.3.2 portal. I'm able to display the Flex app in the portlet but now I'm trying to access data. Does anyone know of any documents that cover how to access Flex data from a portlet and how to access portlet data from the embedded Flex application?
thanksWhen you mentioned you integrated Flex App inside a Portlet, are you using like iFrame tag or Browser Portlet where in iFrame tag you specify the Flex app url like that. If so, then you will not be able to share any data/information between this iFrame portlet and the actual other real portlets.
If these Flex app has something like JSR based Flex portlets, then you can integrate them in WLP more easily. Another option is to consume these Flex Portlets as remote portlets using WSRP on WLP Side and the producer will be Flex Portal App (with flex portlets).
See if this link helps: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcds/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=wsrp_1.html
Ravi Jegga -
Setting intital data in Workspace embedded Flex Application
I created 2 processes, one has an embedded Flex application in it. My first process has an output of type XML that is passed to the 2nd process using events. I have attached an Event Message Template to the Event so i can drill down into the data schema. I am able to receive and see the XML data in the receiving process. My Flex application is set to data type Form and has its own schema associated. What I am trying to do using the SetValue service is set some of the values in the Flex schema to the values of the XML data received from the first process.
My Flex application has an "initialDataHandler" function that receives a DataEvent event from LC Workspace. Using the SetValue service and drilling down into the schema doesn't seem to set the DataEvent event data of the Flex App.
Does anybody have any ideas on how to set the initial data of the Flex App so the data will be pre-populated when a user opens up the application?
Thanks,Mike,
I double checked with engineering and this cannot be done. I though that creating a custom render service would work, but it wont since it has to return a document variable and we can only change the data of a swf when its in a Form variable. And there is no way to go from Form to document variable because one contains the content and the other one is only a pointer.
You can define default data on the variable settings under Default Data, but this data is essentially hard coded, which is not ideal.
Youre only option at this point is to populate from the formInitData event in the swf form which can call a database or a web service.
Engineering will make that Default Data a variable in a next release of the product which should get you across this problem but nothing to help us now.
Sorry for the confusion.
Jasmin -
Securely embedding a flex application in a J2ee application
Hello,
I was able to embed a Flex application with blazeDS running inside TOmcat with my existing webapplication. Note: I have configured blaze DS to run withing my existing web applicaiton lets call it "MyWebApp" by just mapping the messagebroker servlet in web.xml.
Now, MyWebApp uses form based authentication. My flex app is just a part of one of the pages in MyWebApp. The user authenticates with MyWebApp.
Question is: In my Flex application HOW DO I ENSURE THAT THE USER HAS logged in using MyWebApp.???..
On the same lines, how do I secure the Remoting endpoints on the server?Hey Thanks for replying.
My toomcat web.xml aslready has the auth-method set to 'Form'. So I d onot understand why should I define it again in the services-config.?.. I refered to the live docs but they do not explain how this will work
Appreciate your help!!
<security>
<login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat">
<per-client-authentication>false</per-client-authentication>
</login-command>
<security-constraint id="trusted">
<auth-method>Basic</auth-method>
<roles>
<role>employees</role>
<role>managers</role>
</roles>
</security-constraint>
</security> -
How to Call a AIR application from Flex Application
Hi,
I have Used AIR (Desktop application) in Flex Builder to Upload a File from a local path and save it it a server path.
I need to Call this AIR(Desktop application) from my Flex Application.... i.e
I am using a link button to send a event using Script and Forward that Desktop application from Flex Screen
But it doesnot load that (Desktop application) in Screen. Only Balnk screen is loaded from path
Here is the code
AIR(Desktop application)
<?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="openBrowseWindow();">
<mx:HTTPService id="urlpath" showBusyCursor="true" useProxy="false" method="
POST" url="http://localhost:8080/nat/FlexAction.do?method=UrlPath"result="pathresult(event)"
fault="faultHandler(event)"
>
</mx:HTTPService>
<mx:Script>
<![CDATA[
import mx.events.FileEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import mx.utils.ObjectUtil;
import mx.controls.Alert;
private
var openFile:File = new File()
private
function openBrowseWindow():void{openFile.addEventListener(Event.SELECT, onOpenFileComplete);
openFile.addEventListener(Event.OPEN, load);
openFile.browse();
private
function load():void{Alert.show(
"load");
var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
//var textTypes:FileFilter = new FileFilter("Text Files (*.txt, *.rtf)", "*.txt; *.rtf");
var allTypes:Array = new Array(imageTypes);openFile.browse(allTypes);
private
function faultHandler(event:FaultEvent):void {
//Alert.show("Fault")Alert.show(ObjectUtil.toString(event.fault));
private
function pathresult(event:ResultEvent):void{Alert.show(
"res")
//Alert.show(ObjectUtil.toString(event.result));}private
function onOpenFileComplete(event:Event):void{
//mx.controls.Alert.show("event: "+event.target.nativePath +"UR!!!");
var pPath = event.target.nativePath;
var parameters:Object = {FlexActionType:"PATH",path:pPath};
// Alert.show("Image Selected from Path : "+pPath); urlpath.send(parameters);
//Alert.show("Passed.."+parameters);}
]]>
</mx:Script>
<mx:Button click="openBrowseWindow();onOpenFileComplete(event)" name="Upload" label="Upload" x="120.5" y="10"/>
Here is Mxml Code for Flex Application
<?xml version="1.0" encoding="utf-8"?><mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="http://ns.adobe.com/air/application/1.0.M4" >
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function Upload():void{
// CursorManager.setBusyCursor();
//var url:String = "HomeAction.do?method=onLoad";
//var url:String = "assets/Air.swf";
var url1:URLRequest = new URLRequest("assets/Air.swf");navigateToURL(url1,
"_self");
// CursorManager.removeBusyCursor(); }
]]>
</mx:Script>
<mx:LinkButton id="up" click="Upload()" x="295" y="215" label="UpLoad"/>
In this code i forward using s url to Open tat Desktop application but a blank screen appears with out the proper output...
Please Help me in this to forward AIR from Flex Screen..
Thanks in Advance
With Regards
Gopinath.A
Software Developer
First Internet Systems Pvt. Ltd.,
Chennaitry this
http://www.leonardofranca.com/index.php/2009/09/17/launching-an-installed-air-application- from-the-browser/
regards
Leonardo França
Adobe Certified Expert Flex 3 with AIR
Adobe Certified Expert Rich Internet Application Specialist v1.0
Adobe Certified Expert Flash CS3 Professional
Certified Professional Adobe Flex 2 Developer
Adobe Certified Professional Flash MX 2004 Developer
http://www.leonardofranca.com
http://twitter/leofederal
Manager AUGDF - Adobe User Group do Distrito Federal
http://www.augdf.com.br
http://twitter/augdf -
Drag between two flex applications?
Hi,
In the project I'm working on I display tree which the user can manipulate by dragging and dropping. So far I have a tree in a flex application, and I've implemented dragging and dropping. I'd like the user to be able to drag from one tree to another, but as my flex application will interact with my HTML pages, I don't want to waste space by having room for the second tree all the time.
The flex application is embedded on a HTML page, and I'd like to be able to have two instances of my flex application and have the user able to drag between them. Is this possible? I did wonder if it would be possible to implement something like this using a javascript callback, but is there a standard way of doing this?
Thanks,
JonnyHi Jonny,
I've also faced with problem of draging between two applications.
It's possible to transmit data between these applications, but it's only a half of the task.
The main problem it to handle mouse release error on second application.
There is no problem to handle that user drag object and move it out of the component - it's ok.
After that we should handle the position of droping this object.
Also it's no problem to handle that mouse is on over component and left button is pushed (at this handle create imitation of starting draging). But it's impossible to handle first mouseUp event. This event don't visible in html (object don't rise mouseUp event) and don't handle in flex. I'm still try to understand the way to get round.
The only way I've founded is to hide flash object on mouseOver event and show an image instead of it until mouseUp event raised. After that show flash and calculate the position of draging. But's if you use tree it's not a good way. -
How the data is embedded in the image
please explain this code clearly !!! how the file is embedded inside the image and retrieved back !!!
Private Sub btn4(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NLabel4.Click
Using O As New OpenFileDialog With {.Filter = "(Image Files)|*.jpg;*.png;*.bmp;*.gif;*.ico|Jpg, | *.jpg|Png, | *.png|Bmp, | *.bmp|Gif, | *.gif|Ico | *.ico", .Multiselect = False, .Title = "Select image"}
If O.ShowDialog = 1 Then
Try
Using FS As New IO.FileStream(O.FileName, IO.FileMode.Open)
FS.Seek(0, IO.SeekOrigin.End)
While Not FS.ReadByte = Asc("|")
FS.Position -= 2
End While
Dim s As String = Nothing
While Not FS.Position = FS.Length - 4
s &= Chr(FS.ReadByte.ToString)
End While
Dim Ext As String = Nothing
FS.Seek(0, IO.SeekOrigin.End)
While Not FS.ReadByte = Asc("*")
FS.Position -= 2
End While
While Not FS.Position = FS.Length
Ext &= Chr(FS.ReadByte.ToString)
End While
FS.Seek(FS.Length - ((s.Length + s) + 5), IO.SeekOrigin.Begin)
Using sfd As New SaveFileDialog With {.DefaultExt = Ext, .Filter = "*." & Ext & " | *." & Ext}
If sfd.ShowDialog = 1 Then
Using FSw As New IO.FileStream(sfd.FileName, IO.FileMode.Create)
While Not FS.Position = FS.Length - (s.Length + 5)
FSw.WriteByte(FS.ReadByte)
End While
End Using
End If
End Using
End Using
Catch ex As Exception
MessageBox.Show("There was an error!" & vbNewLine & vbNewLine & "The application will now close.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
Me.Close()
End Try
End If
End Using
End Sub
Private Sub btn3(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NLabel3.Click
Dim ext As String = TextBox1.Text.Substring(TextBox1.Text.LastIndexOf(".") + 1)
Using SFD As New SaveFileDialog With {.DefaultExt = ext, .Filter = "*." & ext & " | *." & ext}
If SFD.ShowDialog = 1 Then
Try
Dim ImageBytes() As Byte = IO.File.ReadAllBytes(TextBox1.Text)
Dim FileBytes() As Byte = IO.File.ReadAllBytes(TextBox2.Text)
Dim FS As New IO.FileStream(SFD.FileName, IO.FileMode.CreateNew)
FS.Write(ImageBytes, 0, ImageBytes.Length)
FS.Write(FileBytes, 0, FileBytes.Length)
FS.WriteByte(Asc("|"))
Dim FileSize() As Byte = System.Text.ASCIIEncoding.ASCII.GetBytes(New IO.FileInfo(TextBox2.Text).Length)
FS.Write(FileSize, 0, FileSize.Length)
FS.WriteByte(Asc("*"))
Dim Extention() As Byte = System.Text.ASCIIEncoding.ASCII.GetBytes(TextBox2.Text.Substring(TextBox2.Text.LastIndexOf(".") + 1))
FS.Write(Extention, 0, Extention.Length)
FS.Close()
FS.Dispose()
MsgBox("Done")
Catch ex As Exception
MessageBox.Show("There was an error!" & vbNewLine & vbNewLine & "The application will now close.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
Me.Close()
End Try
End If
End Using
End Sub1. the new file which we are creating will be in this order or not
file_extension * data_file_size | data_file image_file
No. The file will be in the order in which it is written in the writing routine:
1. Image File
2. Data File
3. "|"
4. Data File Size (ASCII)
5. "*"
6. File Extension (ASCII)
2. explain this snippet .. why we are changing position while we are extract file
While Not FS.ReadByte = Asc("|")
FS.Position -= 2
End While
Dim s As String = Nothing
While Not FS.Position = FS.Length - 4
s &= Chr(FS.ReadByte.ToString)
End While
Dim Ext As String = Nothing
FS.Seek(0, IO.SeekOrigin.End)
While Not FS.ReadByte = Asc("*")
FS.Position -= 2
End While
While Not FS.Position = FS.Length
Ext &= Chr(FS.ReadByte.ToString)
End While
FS.Seek(FS.Length - ((s.Length + s) + 5), IO.SeekOrigin.Begin)
The file read position is recalculated before each read, depending either on the position of the marker ("|" and "*") or on the length of the data. That's how each portion is extracted - the position is set to the start of the portion, and that
portion is read for the correct number of bytes. The portions are extracted from the end back towards the beginning because the markers can only be guaranteed as unique (they are illegal in a filename extension) when searching backwards.
3. after combining the files with the image .. how the created image is visible (even we are not using any algorithm)
That depends on the image file format, but most formats will use header information that describes the location within the file of the various bits of data that are needed to create the image. The side effect of this is that if there is information
in the file that is not referenced from this header data then it is simply ignored. That's what this procedure is relying on - because the new data is appended to the end of the file it will not be referenced from the header data and will be ignored.
For a complete description of what this code does and why it works you should refer to the original author. -
Error while loading a logo .gif image to the banner
Hi all,
I'm running Portalea on NT platform and I receive the following error, trying to load a gif image as a logo to the banner (this is in spanish but I hope you can understand it):
Wed, 27 Dec 2000 07:03:25 GMT
ORA-06510: PL/SQL: excepcisn definida por el usuario no tratada
ORA-06512: en "PORTAL30.WWDOC_DOCU_BRI_TRG", lmnea 60
ORA-06510: PL/SQL: excepcisn definida por el usuario no tratada
ORA-04088: error durante la ejecucisn del disparador 'PORTAL30.WWDOC_DOCU_BRI_TRG'
DAD name: portal30
PROCEDURE : PORTAL30.wwptl_banner.savecustom
URL : http://ORACLE1:80/pls/portal30/PORTAL30.wwptl_banner.savecustom
PARAMETERS :
===========
ENVIRONMENT:
============
PLSQL_GATEWAY=WebDb
GATEWAY_IVERSION=2
SERVER_SOFTWARE=Apache/1.3.12 (Win32) ApacheJServ/1.1 mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.22
GATEWAY_INTERFACE=CGI/1.1
SERVER_PORT=80
SERVER_NAME=ORACLE1
REQUEST_METHOD=POST
QUERY_STRING=
PATH_INFO=/pls/portal30/PORTAL30.wwptl_banner.savecustom
SCRIPT_NAME=/pls
REMOTE_HOST=
REMOTE_ADDR=192.168.100.224
SERVER_PROTOCOL=HTTP/1.1
REQUEST_PROTOCOL=HTTP
REMOTE_USER=
HTTP_CONTENT_LENGTH=6443
HTTP_CONTENT_TYPE=multipart/form-data; boundary=---------------------------7d02753210f0280
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)
HTTP_HOST=oracle1
HTTP_ACCEPT=application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */*
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_ACCEPT_LANGUAGE=es
HTTP_ACCEPT_CHARSET=
HTTP_COOKIE=portal30=AB515A5F55262E576590647AC04D98A8EF1D5A6F56D19ECCD710BDB4A08D2354903C0CA288FDE0C9283E116C71C00B1B3821CEAB7A24979CFF326F4979143EE1FD147BC097C2AD7705313C93DAB32D8 4A6CF71C26B267CC0B2FEA03B385A2E84; portal30_sso=7452540140821A6010973F5CAC7E7D17C7498F309E15C228015C1C0546A702F5AFDE500B69BDCB8DE5C29DD726FC8DEEE85A1DC979ECC7B8A6A16CADEF1DAB0C0ACEC11897D5B99B1033884D61307BEA7AE581C 8AB988C8CBBBDCE6174BA01F6
Authorization=
HTTP_IF_MODIFIED_SINCE=
nullHi,
No errors was found in the installation log. I'm looking in the WWDOC_DOCUMENT$ table and found records that make references to my previous tries to upload the logo image. In order to make others tries, how can I delete this information? Are references to this files in any other table?.
I'm looking over the solution provide by Laurent Baresse, refering to the NLS_LANGUAJE problem ... (Thanks Laurent).
Best regards
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Karthika Siva ([email protected]):
Fernando,
Are you able to upload any documents into a content area? Please look at your installation log file (install.log) for any errors that may have occured during the installation of the product. Also make sure that the tablespace containing the WWDOC_DOCUMENT$ table is not full.
Karthika<HR></BLOCKQUOTE>
null -
Display image in flex from database
I am using flex and java and mysql,
I upload image file into database from flex application.Now i want to display image in my flex
RIA application from database.
How can i do that??
Thanks in advance!!!"B.O.H.R." <[email protected]> wrote in
message
news:g91dr3$b0f$[email protected]..
>
quote:
> Ordinary Flex can't do this. You could probably do it in
AIR. There's a
> separate forum just for AIR applications.
>
>
> Could you precise which things flex CAN'T ?:
>
> 1. load image file from local disk and represent it as
an object in Flex
> app?
> 2. display image represented as object(created as above)
in Flex app?
> 3. transfer that object back and forth to database using
BlazeDS ?
>
> Maybe there are posibilitie to make workaround of some
inconviniences?
> I am asking becaouse I realy would like to create such
app in Flex.
Flex can create an AIR application.
But a swf file can't read from the local drive.
HTH;
Amy -
Problem in creating client side PDF with image using flex and AlivePD
I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
Thanks in advance
AtishayI am having a similar and more serious problem. It takes a
long time to execute, but even attaching a small image balloons the
pdf to 6MB plus. After a few images it gets up to 20MB. These are
100k jpeg files being attached. The resulting PDF is too large to
email or process effectively. Does anyone know how to reduce
size/processing?
Maybe you are looking for
-
Acrobat X freezes on OCR during "recognizing text" step
Acrobat X standard freezes every time I try to OCR a document - it starts through the process but when it gets to the "recognizing text" stage it just freezes - wondows says program not responding.
-
Http service over ssl with IE8 not working works in all other browsers
Hi, The web server is running ssl (https) and the server as a valid certificate. The main swf loads but then I make a http service call to a relative address on the same server for some database information I get an IO error This works fine in all br
-
I can't install dreamweaver CS4
I have buy Creative Suite design premium and i can't install dreamweaver CS4 before i installed DW CS4 beta for test and put the icon in the bin to desinstall it and now i can(t use the buy version how can i do ? thanks
-
Can we edit customizing objects in abap.
Hi, I want to edit customizing objects in ABAP? Is there any way to do so ? Regards, Nidhi
-
I cannot edit calendar events in google calendar. Also when clicking on a time slot to create an event the click gets stuck and it's scrolling to select time slot and the only way to get it unstuck is to reload the page. Other browsers work just fine