Expand my Community achievements bar.

How can I warp DocumentReference into a component/frame

Avatar

Former Community Member

Hello,

I am having a mx.rpc.livecycle.DocumentReference that retrieved from livecycle workbench by using render pdf process.  Currently the way, I am loading this pdf by using

var doc:DocumentReference  =res["outFormDoc"] as DocumentReference;

var pdfUrl:String=doc.url;

var request:URLRequest = new URLRequest(pdfUrl);

navigateToURL(request);

but that's not the way I want it to be.  I want to load this pdf form like the one in livecycle workspace that the pdf/html/form guide are wrapped into a frame with complete button.

Thanks,

3 Replies

Avatar

Level 10

Workspace uses the TaskForm object from the workspace-runtime.swc to load the PDF in a frame on top of the SWF app.

Jasmin

Avatar

Former Community Member

Is there a sample that can show me how to do this in flex application w/o using workspace object?  Because the forms we are going to render in application may not be task based.

I tried to use google flex iframe, unfortuntly the google flex iframe break worksapce AuthenticatingApplication.

Avatar

Former Community Member

or how can i render a pdf that has no task assigned by using workspace object  in flex application