Html :: Use Flex Library APIs In View?

Oct 11, 2011

I have a set of Flex proprietary libraries (ActionScript APIs in SWCs), and I am wondering if it is possible to build a UI completely in HTML using these APIs for functionality, rather than a Flex based UI/view. If yes, what would be the approach (or some examples)?

One reason to do so is to re-use the existing Flex (domain layer) APIs (for the short term) rather than re-writing them in say, JavaScript.

View 3 Replies


Similar Posts:


Html :: Get Flex App To Scroll Vertically When View In A Browser?

Jun 8, 2011

I have a web app built in Flash Builder 4.5. Its dimensions are 1150 x 900. When I try to view it on a smaller monitor or lower resolution, I can only scroll horizontally. I need it to scroll vertically. Is there a setting I am missing or could it be something else. I am not going to post any code at this time because I do not believe it is a syntax issue. If anyone feels I may be wrong, I will post the code needed. [URL]..

View 2 Replies

Flex :: Access IOS APIs Through It?

Jul 21, 2011

I am building a Flex iPhone application that in an ideal world would need to open up the iPhone SMS interface to send texts, make calls, access phone information (such as phone number) and access contact lists... I realise there isn't much in the way of accessing phone specific API's through flex at the moment, does anyone know if or when this is coming?

My main question: I seen this interesting article on extending AIR to access android APIs and was wondering if there was anything similar for accessing iOS APIs? What are people doing at the moment if you need to access iOS APIs? Is everyone waiting for an update to Flex/AIR?

View 1 Replies

Android :: Which APIs Are Supported In Flex Air

Nov 23, 2010

Anyone know where I can find what Android APIs are supported in the latest Flex AIR SDK (Hero). In particular is the speech to Text API supported?

View 2 Replies

Actionscript 3 :: Flex 4: Use Google APIs In RIA Without Server Side Code?

Mar 26, 2010

Just to confirm what I think I understand from reading about use of google APIs in RIAs (FLEX 4 and ActionScript) there is no way to connect to blogger API for example, directly from RIA because of google's crossdomain.xml file, right?

So if I want to use their APIs to get some data like content of my mailbox or list of posts on my blog I have to have some code running server side and RIA would just use that code as httpservice to collect data from google?

View 1 Replies

Html :: Parser Library In As3 For Flex Project?

Nov 8, 2009

Simple html parsing library, written in as3 for a flex project?

View 3 Replies

Flex :: Presentation Model Pattern Can View Specific Logic Reside In View?

Aug 15, 2011

I'm currently using RobotLegs with the Presentation Model pattern to develop a Flex 4 project. I understand that all business logic related to a View resides in the Presentation Model associated with that view, however, I am confused when it comes to View specific logic.For example, I have an indicator that needs to be positioned relatively to list items depending on which list item is selected. Is it acceptable in the Presentation pattern to put the logic that will position the indicator in the View and simply have that logic run in reaction to a selectedIndex property changing in the presentation model?The reason I am considering this is that since the Presentation Model does not have a reference to the view it is difficult to come up with an ideal solution for manipulating view components.

View 1 Replies

Flex - Equivalent Of "View Source" For <mx:HTML> Component?

Aug 4, 2010

After setting an control's location to some site. How could I then take a peek at the associated HTML? I notice that as soon as I set Location, htmlText becomes null and vice-versa... So how would one go about looking at the HTML displayed in the control in TEXT form?

View 2 Replies

Flash :: Library For Converting Flex TextLayoutFormat Data To HTML And CSS?

Apr 8, 2011

I have the job of recreating a flex app in HTML and CSS. The existing app makes considerable use of TextFlow to layout content. For several reasons I need to be quite accurate (within a few pixels) with positioning.

[Code]...

Ideally I'm looking for a library I can use to translate these many attributes into "proper" html and css. The current technology stack is PHP at the back end and javascript at the front end, but there would be little problem in using any other language to do the translation.

Failing that I guess I'll try and write my own, using the api reference as a guide.

View 3 Replies

Flex :: Change A View From Inside A View?

Jun 13, 2010

I have one .mxml file (the Application) with a ViewStack (with 4 views) and a ControlBard, obviously I can change the views with it, but what I want to do is: in view #1 I have an image which I want to convert to a "hyperlink", so when I click it I go to View #2, is this doable? Also I would like to pass somehow some data (like a String) to that View #2 (lets say the it's a user avatar I click so I want to go to the second view which will show me his profile, that's why I need his name/id).

View 1 Replies

Flex :: Taken Push View Object Into Next View?

Sep 28, 2011

My problem is that when I try to pass an object from the navigator.pushView(view, dataobject), I can't figure out how to access the dataobject from actionscript. I can access {dataobject.property} from MXML easily, but I want to set a variable in the new view to the passed dataobjects property.

View 1 Replies

Professional :: View Library Element Usages?

May 6, 2010

I am searching for a way to find out where elements in the library are used.I've just "inherited" a fairly messy .fla with most elements badly/unnamed and I'm trying to organize it.However there's up to 6-7 levels of reccursion and sometimes figuring out what is what is hard without finding where it's used.

View 1 Replies

Actionscript 3 :: View Source Code For Standard Flash Library?

Nov 22, 2011

Specifically flash.display.BitmapData.

I've seen the swc file, header-like classes, and some implementation files for

fl.*, but not flash.*!

View 1 Replies

ActionScript 3.0 :: Viewing Swf From HTML- User Can View Only Once?

Dec 12, 2011

I have my swf files which are getting called in browser when user opens its corresponding page. To ensure my swf is not used by user for his other purposes, i had to strict it to view from HTML page which has a variable. Same variable is passed from swf to this HTML.
 
if both variables does match then only swf starts preloading. this works fine for first time. But when user open the same page second time, he is only able to view preloader which does not progress further.
 
When i delete my temp file then user is again able to view the swf only once.
 
1. what is reason the swf from temp file cannot access variable of its HTML

2. am I doing it wrongly?

3. do i need to clear cache everytime or their is another method to do it?

View 6 Replies

Flash :: Change View To 100% In HTML Object?

Jun 17, 2011

I have a swf File which has the Size 3840 x 800px.Now i want to put it in a html file.[code]...

View 2 Replies

Professional :: Provide An Option To View A Site In Flash Or Html?

Oct 13, 2010

if there was a way to provide an option to view a flash site in html.
 
The site is currently built in flash, but have had feedback from people trying to view the site that they need flash player 10, is there any way to have a link option on the page that asks you to download the latest flash player, to view the site in html (html site has also been developed).

View 5 Replies

Get The Audio Level Chart From The Library Into View Along The Audio Timeline?

Oct 25, 2009

The images for animation load okay. The sound loads okay.  But the animation images need to be inserted in coordination with the sounds, which is difficult using only the ears  There is a visual graph of audio levels in the library window, which I have seen appear in the timeline also but only momentarily.  I do not know how to keep the audio graph on the timeline so as to know where to put the images.  I can keep the graph open on the little library window when it is open but not on the timeline. how to keep the graph open on the audio track while I work on the image tracks.

View 1 Replies

ActionScript 3.0 :: Using The HippoHX APIs And Classes?

Apr 29, 2009

how to use the HippoHX APIs and Classes to make a close button, fullscreen button and execute a program with arguments. I'm pretty new to as3 (started using it last week) and have absolutely no idea how it works. If you don't know what HippoHX is, you can find out at the official website.I'm asking here because i don't understand their API documentation.

View 2 Replies

Actionscript 3 :: Insert The Swf In Html And View From Firefox, Chrome Or Other Browser NetConnection.connect() Does Not Work?

Feb 13, 2011

I wrote an flash actionscript 3.0 movie that needs to use netconnection and netstream for streaming. When I test the movie through flash ide the movie connects alright.But when I insert the swf in html and view from firefox, chrome or other browser NetConnection.connect() does not work. Movie sort of hangs at the moment NetConnection.connect is called(). The function assigned to NetStatusEvent is not called and no command after that moment is carried out.It only occurs when viewed through web browser but when it is tested in flash ide it works alright.

View 1 Replies

Actionscript 3 :: Flash APIs For Android Platform

May 3, 2011

All i need to do is to invoke the soft keyboard from within my flash application. Is there anything I can do, without using a textfield or any such editable controls, which will pop up the keyboard.

View 1 Replies

ActionScript 2.0 :: Compiler Checking A Newer APIs?

Jan 7, 2011

I would like to target a specific version of Flash Player, but don't know if I'm using any APIs, for example a movieclip property, not available in that version. Is there any way to know? The compiler doesn't seem to generate errors in this case, and I'd rather not have to resort to runtime checking. Note I am using AS2.

View 0 Replies

ActionScript 3.0 :: Initialization Of Remote APIs In A MVC Pattern

Dec 3, 2010

I'm trying to buid a video player application usin the Youtube API, which is loaded remotely from their servers as described [URL]...reference.html Basically I want to add a playList via XML or flashVars which would be stored in the Model among other data taken from the video feeds of youtube by HTTP request. The issues are:

1.- I don't know where the youtube API would fit in the MVC pattern, because it has two parts, the Loader instance that you can add to the display list and the API Object itself that is more like a controller. My first approach has been to create a controller class which loads it and initiates it. But then I have to provide a reference of the loader to the View. Should I do it using a setter in the view, dispatching an event and then a listener in the view gets this reference from the controller, or including the reference in the model??? I'm a little bit lost here.

2.- On the other side, I don't know how to implement the strategy pattern betwen the view and the controller in this scenario. Should I leave the whole initialization process outside the MVC pattern? It's not that I'm obsesed with design patters, I'm just trying to learn how to use them and put myself this as an exercise: Build a videolist player for youtube so that it's easy to add, let's say Vimeo support later.

View 1 Replies

Html :: Rendering HTML Text Containing Advanced HTML Tags Like <strong> - <em> - <span> And Advanced HTML Entities In Flex

Aug 4, 2011

I am designing a web application in Flex 4 and currently facing an issue rendering advanced HTML tags and entities in Flex 4. All I want to do is basically render an HTML text coming to me something like the one given below:-

[Code]....

View 3 Replies

Java :: Any Good APIs For Maintaining Open Connection With Flash?

Oct 31, 2010

I have a flash app which will send/receive a constant stream of data. The flash app should open a connection to the Java server, keep it open, and attempt to reconnect on socket failure. Are there any good APIs that offer this functionality? Smartfox Server is one option, but if I had my way I'd embed an API in my app rather than contort my app to run under Smartfox. Ideally it would offer an API on the flash end, another on the Java end, and efficiently (java nio preferably) handle the network component in between. I would just define handlers on both the client & server.

View 1 Replies

Actionscript 3 :: Open Source Relationship Mapping/visualization APIs?

Sep 16, 2011

A local group is mapping the relationships between board members and various organizations around my town. get some visualizations together.The visualizations focus on relationships between people and organizations eg who is on which boards and will be drawn dynamically. I am assuming I will be generating XML via PHP or Perl in order to feed the map drawing engine. [URL]

View 2 Replies

Java :: View Part Of A Web Application - What Technology For A Pretty Intensive Grid View

Aug 3, 2010

I'm about to have to write a web page/app that will serve the agenda for circa 100 people on a page. One line per person, one column per day with 3 clickable zones in each cell. In HTML, the page is way complex for the browser to load quick and there is no possibility to click on a border between 2 cells to for example split an event that spreads among several cells. So I search an not too overkilling technology to render this kind of view. I begun with a PHP generated HTML page but the number of elements in the page make the mouse move jerky.

Moving to JAVA would give me better performances regarding the reuse of the generator of the view but it will still be an HTML page. So, here is my question: do you think that going forward with JAVA and its graphical capability is the simple solution or is Flash a better option for this part of a Web App? I'm afraid of the code I'll have to write in JAVA to handle the GUI presentation as well as the events generated by the 1000's cells plus borders of the page. In Flash, the graphical part seems simpler even if the actions handling is still huge.

View 2 Replies

Actionscript 3.0 :: Make A 360º View Bubble Like Google Street View

Mar 18, 2010

I am wondering how to make a 360º view bubble, like they use for Google Street View, but have no idea how to go at accomplishing this task... i have the string of photos that i attached in photoshop(so that if you connected the left to the right it would be a full 360º view).

View 1 Replies

Flex :: Removing Flex DisplayObjects From View AND Memory Pool

Feb 15, 2011

There is a Flex app with 7 main views. And there is a memory issue when navigating between views.All these views were in a ViewStack, but due to some involving 3D objects I assumed it was too much to have it all in the display list. I'm now clearing all children from the stack and adding/removing them when needed. This gave a small performance increase, but still becomes unresponsive with use. The strange thing is, with this and the original method, the CPU climbs with use but eventually levels out somewhere. Now I'm creating new instances of each screen when they are navigated to and setting the previous variable to null. Now it looks like CPU is spiking when the view is created, but leveling out to something much much lower than it was. This felt like progress, but now the available memory keeps climbing where it wasn't before....

My understanding was calling remove child or remove all children would mark the object for deletion when the garbage collector next ran. I can't see any other references to the instance. My code is along the lines of [code]I have a function for each button to add a new instance like the above.The only thing I can see and feel silly asking but need confirmation, is each view extends a class called "Screen", this class contains a singleton reference to some core components.[code]Would this trick the garbage collector into thinking it was still needed? General advice on clearing Objects from the memory pool would awesome!!! I've never needed to analyze the Flash Player in such depth.I think it's an error with sound drivers, removing all sound and shes purring like a kitten. Works on my machine fine with windows XP, but not on the touch pad the application is crashing on with windows 7 (unsure of the drivers looking into them now) Now I'm thinking its not the drivers, tried 3 different versions, all with no improvement. I did discover the sound was fading in and out with the TweenLite lib. Doesn't look like there are any memory leaks in TweenLite as it works fine on other machines. Just the use of volumeEasingFunction seems to consume increasing amounts of CPU until it freaks out. It is crappy hardware running windows 7, which doesn't help.

View 1 Replies

ActionScript 2.0 :: When View The HTML File With The SWF Embedded It Doesn't Display The Text File Content

May 12, 2008

loadVariablesNum("testimonials.txt", 0);
gotoAndPlay("load");

This code works perfect when testing, and it works perfect viewing the SWF, but when you view the HTML file with the SWF embedded, it doesn't display the text file content.

View 5 Replies

Flex :: Split View In Adobe Flex Mobile?

Nov 24, 2011

I have four views:1.SplitView (main view)2.SplitViewHomeView(root Panel)3.SimpleView(Right panel)4.Details(child of Right Panel View).I am trying to accomplish the split view as in Ipad in adobe flex mobile.But unable to connect the root panel to right panel...Can any one suggest the path to me.My Code is below

Split View
**
<?xml version="1.0" encoding="utf-8"?>

[code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved