Is The Flex/Ajax Bridge Possible in a Pure Actionsript Project??
Is it possible to create a Actionscript/Ajax Bridge in a pure
AS project? Meaning - AJAX Bridge not using MXML.
PUSH...
Similar Messages
-
Examples for using the Flex-Ajax-Bridge
All samples that ship with BlazeDS use pure Flex on the
client-side; what I would like to
have are samples that show the Flex-Ajax-Bridge in action;
using BlazeDS/LCDS as the data
exchange engine; and then use this engine's capabilities to
do Ajax stuff on the
client-side; I have found one example where Ajax delivered
data is pumped into Flex using
the Flex-Ajax-Bridge; but not the other way round ...
Another question: Can I use the Flex-Ajax-Bridge shipped with
BlazeDS with the standalone
LCDS and the CF8 integrated LCDS, too ? Or are there
different versions of the
Flex-Ajax-Bridge available ?- get an instance of weblogic.management.MBeanHome for the WLS server from
JNDI, using weblogic.management.MBeanHome.JNDI_NAME+"."+"yourServerName"
- get MBeanServer from MBeanHome
To register your mbeans...
- invoke registerMBean() on MBeanServer as in javax.management.MBeanServer
- Note that the objectname which is passed to registerMBean() should be an
instance of weblogic.management.WebLogicObjectName
To get values from weblogic mbeans.....
- use various getters in weblogic.management.MBeanHome
pls see relevant javadocs for details
Michael Guillory <[email protected]> wrote in message
news:3a5e155b$[email protected]..
I would like to revisit Peter's question from 1/2/2001. I need to be ableto
access the
Mbeans from the Administration Server, please let me know where I can find
some
information.
Thank you
Mike -
In Labs: Understanding the Flex-Ajax Bridge
In the video on the page
http://www.adobe.com/devnet/flex/videos/fab/index.html
there is an app displayed showing photo's of kittens in an
photo-reel type layout that the user is moving left and right ...
does anyone know what this app is or if there is a page displaying
it. It's not on the sample's page and isn't the sample app 'photo
viewer/gallery' ... I'm looking to do something similar and I am
really interested in how this effect was achieved.
Thanks
-MicPUSH...
-
Not supported: Air + Ajax + (flex-ajax-bridge) + LCDS
I'm building an application Air (Flex + extjs) and offline synchronization with LCDS. For sure I need the flex-ajax-bridge.
But the experiments failed on Air runtime container, when ajax tried to communicate with server end data services.
And I checked the source code of flex bridge file (FDMSBridge.as):
import bridge.FABridge;
import flash.display.DisplayObject;
import flash.display.MovieClip;
import flash.events.Event;
import flash.external.ExternalInterface;
import mx.core.mx_internal;
use namespace object_proxy;
[Frame(extraClass="FakeFlexInit")]
public class FDMSBridge extends FDMSBase
private var gateway:FABridge;
public function FDMSBridge()
super();
if (ExternalInterface.available == false)
return;
ExternalInterface.addCallback("createObject", createObject);
private function createObject(className:String, cArgs:Array):Object
From the source code, we can tell the bridge rely heavily on the flash.external interface; AND look at this link -
http://livedocs.adobe.com/labs/air/1/aslr/flash/external/ExternalInterface.html
where it says -
Note: Adobe AIR currently does not support the ExternalInterface class.
which leads to the conclusion that:
Air + Ajax(HTML) + LCDS solution is not supported by AIR currently.
The ExternalInterface class environment:
Browser Operating System Operating System
Internet Explorer 5.0 and later Windows
Netscape 8.0 and later Windows MacOS
Mozilla 1.7.5 and later Windows MacOS
Firefox 1.0 and later Windows MacOS
Safari 1.3 and later MacOS
Can anyone tell me what's the version of AIR built-in browser (squirralfish)? or, will AIR support FDMSBridge soon?
Thanks!I agree, it would be nice to have gzip encoding support in
AIR's browser component. But, I looked at what my AIR app sends
when it requests a web page, and it's not claiming to the remote
server that it can support gzip. If the server is sending the
content gzipped anyway, it's almost certainly broken. Web servers
aren't supposed to dictate encodings. Clients say what they're
capable of receiving, and servers send the data in that format if
they're capable of sending any of the requested formats.
I see only one exception in the spec.
Section
14.3 says the server is allowed to send what it likes if the
client doesn't say what it wants (true for AIR) and it cannot
support the default, which is to say, sending the raw data as it is
on disk. So, is that the case? Can this server really not send raw
data, to anyone, ever? If so, it's violating the spirit of the web,
to the point that I'd say it's broken, even if the spec does allow
it. And if the server really is capable of sending the raw data,
it's
really broken for insisting on sending it compressed when
the client hasn't told it that it can handle it; this would
actually be against the spec, not just against the spirit of the
spec.
It would seem a more sensible use of your time to fix the
server than to go and learn another technology just to work around
its brokenness. -
Flex Ajax bridge - flash player detection
Does anyone know of a Flex HTML wrapper template which
handles the express install (with history) user experiences in a
manner which is compatible with the lifecycle of the Flex/Ajax
bridge? Assuming JavaScript is enabled, the express install process
creates the embed DOM node for the SWF dynamically; however, the
FABridge scripts assume that the embed node(s) exist within the
DOM; the the initialisation of the FABridge queries the DOM for
‘bridge’ instances (i.e. embed tags with the relevant
flash vars). If the embed node is not present, the
FABridge.instances object is not initialised correctly. This causes
two problems: firstly, attempting to register an initialisation
callback in the FABridge will fail, since the bridge instance is
not known. Secondly, the ExternalInterface call from the Flash
component to signify that it has successfully initialised does not
have an endpoint to communicate with, meaning that the client side
lifecycle cannot be instantiated.
If anyone has come across a useful strategy to approach this
problem, I'd be hugely grateful for any pointers.
Thanks, GregThe html wrapper code generated by Flex Builder does this
automatically if you have Project, Flex compiler, use Express
Install checked.
Tracy -
Flex-Ajax Bridge general availability
We have an Ajax application; we have new requirements to
display graphs that update dynamically every couple of seconds, we
found Flex and Flex-Ajax Bridge very helpful.
But I believe the Flex-Ajax Bridge has not been completely
tested and it is only in a pre-alpha stage.
What is the roadmap for Flex-Ajax Bridge? When will it be
fully tested/supported?Hi,
this needs clarification:
FABridge:
http://livedocs.adobe.com/flex/3/html/help.html?content=ajaxbridge_1.html
is *client* side library - it allows ActionScript engine communication with JavaScript engine (two-way) to enrich client side epxerience.
The Flex/Struts is client/server integration and yes, there are existing solution I think (note: I'm not web-tier coder), see:
http://www.adobe.com/devnet/flex/articles/flex_struts.html
http://code.google.com/p/fxstruts/
above seems quite dated - but it at least shows possibilities I think.
regards,
Peter -
Are there release notes for the new Flex Ajax Bridge?
Are there release notes for the new Flex Ajax Bridge?
Hello,
You can find the release notes
here
. The wiki page has been updated as well to point to the release
notes document, in the Where can I find out more section.
Thanks for noticing they were missing,
Cristian -
Adobe Flex & AJAX bridge & ExtJS
I have similar problem as the follow post: anyone has solution?
http://forums.adobe.com/message/2568496Problem solved!!!
The cause was Ext panel moving around Flex <object> when rendering itself during init phase in JavaScript. That caused Flex Ajax Bridge to lose its connectivity with the object. Changed object creation into lazy one (after eveything was moved around) and works ok. -
Wanted to try ajax / javascript as per
adobe
labs, but can not figure how to include the FABridge library
using the command line compiler. Can anyone provide step-by-step
instructions?better examples here:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=600&threadid =1240602&enterthread=y -
I want to develop AJAX type popups in a Flex app so that when
you roll your mouse over a key word or icon, an AJAX type window
will popup with data about the word or image. How do you create
that utilizing the FLEX-AJAX bridge or the Flex popup class? Thank
you.toolTip?
Tracy -
Ajax Bridge vs. the ExternalInterface Class
Hi,
I am writing a pure Actionscript 3 application in Adobe Flex. I want my application to interact with scripting in a browser. It seems that there are two options: Adobe's Ajax Bridge (typically used with a Flex application that uses mxml?) and Adobe's External Interface class (flash.external.ExternalInterface). Is there any reason to use the Ajax Bridge over the ExternalInterface class, or vice versa?
Thank you.I'd recommend sticking with ExternalInterface until/unless it is insufficient. ExternalInterface is nice because of its simplicity. You can call JavaScript from ActionScript and vice versa; nothing fancy or complicated to get in the way.
The following documentation may be helpful:
http://www.flexafterdark.com/docs/Flex-JavaScript
Let me know if that helps...
Ben Edwards -
Am doing an audio timeline in GB. Need to insert a corrected section of track. When I try the insert, it knocks out the top part of the adjacent track bridge/element. How can I insert cleanly in a timeline? Is it possible to "recover" the good track that was "stepped on?"
Undo what?
Insert in a new track?
I don't think so. I've started an audio book and I'm doing chapter long segments (assuming I can make simple corrections, such as ones made in iMovie and numerous other video editing programs. Routine edits in GB are simple and intuitive. I cannot wrap my mind around the fact that I'm prevented from doing a simple drag and drop, import or paste a two-sentence audio clip. Nor can I find any reference to straightforward audio elements.
Any suggestions you might have would be appreciated. -
It is possible to copy paste the Flex AmChart component
Hi
It is possible to copy paste the Flex AmChart component to word or powerpoint.
Thanks in advance.
With regards
Karthy1. To take a snapshot of a graph
import mx.graphics.ImageSnapshot;
[Bindable]
public var balanceSheetImage:String;
var snapshot:ImageSnapshot =
ImageSnapshot.captureImage(balanceSheet); // balanceSheet is a Flex chart instance
balanceSheetImage = ImageSnapshot.encodeImageAsBase64(snapshot);
snapshot = ImageSnapshot.captureImage(earnings);
earningsImage = ImageSnapshot.encodeImageAsBase64(snapshot);
2. Copy to the clipboard
Flash Player
System.setClipboard(text);
AIR
http://livedocs.adobe.com/flex/3/html/help.html?content=CopyAndPaste_6.html
You have more flexibility for that part if you use AIR than if you use Flash Player. With Flash Player, it will be only text based information, with AIR, it can be a binary format like a bitmap
3. Someone explains here how to get that Base 64 encoded XML image to Powerpoint
http://tech.groups.yahoo.com/group/flexcoders/message/157794 -
Ajax Bridge with no "getRoot()" method when using flash builder 4.7 trail
i am working on ajax bridge with flashbuilder 4.7 trial, the ide generated the ajax bridge html&js code for me, but when i browsing it in my safari 6.0, there is no effect.
after a long time debuging, i added a try-catch in the js file auto-generated by flashbuilder:
function ex3_07_solutionReady() {
// Initialize the "root" object. This represents the actual
// "ex3_07_solution.mxml" flex application.
try {
b_ex3_07_solution_root = FABridge["b_ex3_07_solution"].root();
} catch(e) {
alert(e);
and i got this error message:
TypeError: 'undefined' is not a function (evaluating 'this.target.getRoot()')
Does anyone have this problem?? I need all your help!Flash Builder 4.7 on OSX requires Java version 1.6. Mavericks comes with Java version 1.7, so you'll need to install the older version.
You may also want to bump the specs in the "Adobe FlashBuilder 4.7.ini" file.
More information in this thread.
http://forum.starling-framework.org/topic/flash-builder-47-crashes-on-mavericks -
How can I make an ant file that launches an AS project app in a debug flash player that traces to the flex console?
Basically I like the control over the compiling process that I get by using Ant - but I really want traces to come up immediately without having to switch contexts.
I have an ant file that successfully launches a swf in the flashplayer - but I don't know how to make the flex console start displaying the trace output. I assume that I will have to point it to the appropriate trace output file - but I am not sure how to have ant even address the console. Is this possible?
Here is the the target node from my ANT file:
<target name="launch">
<exec executable="${FLASHPLAYER_EXE}" errorproperty="trace.output">
<arg line="'${DEPLOY_DIR}\test.swf'" />
</exec>
</target>
Thanks for any thoughts, or alternatives!For the record, I ended up using Logwatcher - it worked perfectly.
http://graysky.sourceforge.net/
Maybe you are looking for
-
New iPad 2 always downloading previously deleted emails
I am using my Verizon.net POP3 email server. On iPad mail setup Incoming I have it set to delete from serer when removed from Inbox. My interpretation of that set-up is that any email I download, view and then delete (thereby removing it from my In
-
Upgraded to iTunes 8.0 - now cannot fast forward to next song
I realized that, after upgrading to iTunes 8.0 on my PC, I cannot fast forward one song from my iPod. Instead, it acts like I clicked the Stop button. If I do let the song play, it appears to only play one song and then stops. Any idea how to resolve
-
Attributes in Organisational Model vs Territory Mgmt
Hi all, I'd like to know what is the difference between the organizational attributes and the territory attributes. For instance if I maintain the Country attribute for the function Sales scenario in an organizational unit then I have to do the same
-
What are the BP and BF need for E- Recruitment configuration?
Dear All, We are going to implement E-Recruitment. System is ECC6, EHP6 and portal 7.3 Client is Indian We are going to deploy below Business Packages in portal. BP Recruiter BP Recruiter Administrator We are going to activate below Business Functio
-
Anyone having issues enabling Character Count in ios6?
I noticed today on my iPhone 5 when I enable character count, Settings-Messages-Character Count (ON), it doesn't work? Anyone notice this? Bug?