JavaScript :: Obtaining Functionality Of Flex Tile Container In HTML

Sep 15, 2009

The Flex tile containers will create and remove tiles as the data changes and seems good to use in areas where the content is dynamic. How to implement this functionality in HTML? I guess that we need to use some JS and/or CSS.

View 1 Replies


Similar Posts:


Actionscript 3 :: Obtaining A HGroup Subcomponent That It Is In View Of A Scroller Container Adobe Flex 4.5

Feb 1, 2012

I have setup a Scroller container around an HGroup of labels. The Scroller is setup to only display a single label at a time. What I am trying to do is determine which label is in view of the Scroller when a button is clicked. I have scoured the reference material on Scrollers and HGroups, but cannot formulate a programmatic strategy to determine what element of the group is in view.

[Code]...

View 2 Replies

Flex :: Tile Container - How To Better Organize Children

May 14, 2010

I'm using as container for my LinkButtons. I would like to know
1) How can I remove the space between the items in my Tile container.
2) How can I set dynamic width for my items (at the moment they all have the same width regardless the width of the included component)
3) How can I avoid to display scrollbars if the items are not included in the container

View 1 Replies

Javascript :: Best HTML/JavaScript Framework For A Flex Application?

Oct 23, 2009

We're currently building a Flex application using the PureMVC framework with a shell.swf which loads/unloads modules dynamically. We're experiencing issues with memory and we're looking to replace the shell.swf with a JavaScript-based loader.Two questions:What would be a good framework to dynamically load the Flex components and allow the modules to communicate between each other?Would dynamically loading/unloading the modules via JavaScript take care of the typical memory problems associated with Flex/Flash applications?

View 1 Replies

Javascript :: Run In Flex Mobile Project - Error #2067: The ExternalInterface Is Not Available In This Container

Dec 21, 2011

From what Ive seen, most of the examples of using Javascript in Flex are designed for for the full desktop version (or for the browser) and not Flex mobile. For example using ExternalInterface in a Flex mobile project gives the error: Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime. Is it possible to call Javascript (such as the Google Maps Javascript API) in a Flex mobile project?

View 1 Replies

.net :: Obtaining DataTable Names From Flex

Jan 20, 2010

I have a C# web service that returns a DataSet with multiple DataTables. It's easy enough to get at the data using this web service event handler in Flex:

static public function getData_Handler(event:ResultEvent):void {
for each(var table:Object in event.result.Tables) {
// ...
}}

How can I access the name of each DataTable from Flex? When debugging, it's clear that each DataTable's name gets mapped to a property on the event.result.Tables object, but I don't see a programmatic way to get a string representation of the name.

View 1 Replies

Actionscript 3 :: Flex Container With HTML Style Floating?

Jul 20, 2011

I am using Flex 4 with Spark components to build a mobile application and I have a HGroup that I am using to contain all of my elements. When the screen loads it pulls in a small amount of text that will be displayed and loops through all the words to see if any of them are a keyword. While it is looping I am putting each word into its own label element and if the word is a keyword it changes a few styles and adds a click event to show a description about the word.Everything runs fine but when everything is appended to the HGroup, there ends up being only one line and most of the text completely cut off because it will not wrap the content.My Question is - Is there a way to set or extend the HGroup to allow content wrapping on its child elements?Below are some code snippets of what I have:

MXML containers:
<s:VGroup id="answerData" width="580" height="700" horizontalAlign="center" paddingTop="5">
<s:HGroup id="theLabel" color="white" width="580" fontSize="25" paddingBottom="20" />

[code].....

View 3 Replies

Flex :: Call Function By Any Event Happen In Mx:html Container In Windowed Application

Mar 7, 2012

I am working with Flex 4 windowed application. I have a mx:HTML container with location attribute like [URL]. That abc.html has a html button and i want when that html button is clicked then a flex windowed application function should be called.

Dummy Flex 4 windowed application screen shot: [URL]

View 1 Replies

Javascript :: MS Excel Like Functionality In Web Ui With More Complexity?

May 20, 2009

I have swing application in which there is MS excel like functionality. User can enter data in the columns. Most of the columns are drop down lists, so use have to select from the list. Can this functionality be easily built in Adobe Flex or GWT? Second complexity is depending upon what value is selected in a column, another column should show only those items which are related to selected value of first column. Its not country city data but for simplicity I am taking this example.

For example, first column is country and the second column is city. So depending upon what country is selected the second column will show only cities under that country. Its not just two drop down list on a page, its dropdowns of a row in a grid strructure. Is this possible in Adobe Flex or GWT or anyother web UI framework apart from Swing?

View 2 Replies

Javascript :: Use HTML Dom In Adobe Flex?

Sep 12, 2010

Can you use Html DOM in adobe flex to...

1) write/Auto fill in a form?

2) Read values in label? Textboxes? And use them in your program?

View 2 Replies

Javascript :: Html - Communicate Between Flex?

Feb 20, 2012

I have a windowed Flex application (AIR) that uses an HTML file for the UI, but I have some Flex code that needs to be executed when the page is loaded.I have imported the HTML interface into the app using the < mx:HTML /> tag. The communicate between javascript and flex, but only if you are using an external HTML file in a browser, and not in a windowed app.

View 2 Replies

JavaScript :: How To Replace HTML Tag In URLRequest Flex 4 / Air

Mar 2, 2011

I am embedding a website into my application, and Adobe Air does not recognize the breakline HTML tag in the source code (Firefox and Chrome auto-correct the error). I have attached the source code below. Is there a way to replace the breakline with the correct syntax (no forward slash). I do not control the website, I am merely loading it into my application, so I can't just change it at the source. I am using an mx: html object and htmlLoader to load the url.

Website Source:
<ul>
<li><a href="Rpt_Selection_2.asp?Report=StatusReport/StatusReport.asp">Status Report</a></li>
<li><a href="Rpt_Selection_2.asp?Report=StatusReport/AlarmsAlerts.asp">Alarm History</a></li>
</ul><br/>
<table class="Header" cellspacing="0" cellpadding="0" border="0">
[Code] .....

MXML Component:
<mx:HTML id="htmlControl" width="100%" height="100%"/>

Script to load URL:
htmlControl.htmlLoader.load(new URLRequest("[URL]"));

View 1 Replies

ActionScript 3.0 :: Check The Existance Of Another Tile To The Left, Right, Or Above And Below, Otherwise The Tile Should Not Be Placed?

Apr 19, 2011

I'm making a game where you place tiles on a grid. When placing a tile, I need to check the existance of another tile to the left, right, or above and below, otherwise the tile should not be placed.. Here is a function I thought would work, that accepts one variable (the position of the tile just as it is about to be placed) :-
 
private function checkSurroundingTiles(gridPosition:uint) {                 var t1 = gridPosition - 12;     var t2 = gridPosition - 1;     var t3 = gridPosition + 1;     var t4 = gridPosition + 12;                 for(i = 0; i < gridRefArray.length; i++) {          var checkTile = gridRefArray[i];                          if(checkTile == t1) {               return true;

[code]....

View 11 Replies

Html :: Embed A Google Maps API Javascript In Flex?

Apr 11, 2012

How could I embed a Google Maps API Javascrip on my Flex Application?I found some examples, but none of them worked for me.

http://javey.net/bike/map/player5/map.html?gpx=http://javey.net/bike/gpx/24-nov-2007.gpx&title=Sheldon.Road.Trail http://note19.com/2007/11/22/how-to-embed-google-map-in-flex/

View 3 Replies

Javascript :: Duplicate Flex Object In HTML Without Re-Initializing?

Oct 16, 2009

I am creating a flash object that does some heavy image lifting. What I am looking to do is load many flash objects onto the same page to take an image, modify it, and display it within the flash object.The problem I am running into is that when I try to add 100 flex objects to the page, the browser freezes as it tries to re-load/initialize each instance.Once they are all loaded, the processing of the images goes by quick.Does anyone know how to duplicate the flash piece without having to reload everything?

View 2 Replies

Javascript :: Run Inside HTML Component In Adobe AIR Flex 4?

Mar 26, 2011

I have the following component in an AIR application from Flex 4:

<mx:HTML id="viewObject"
x="10" y="42" width="634" height="313"
location="http;//localhost:8080/mypage.php" />

Now I want to run a javascript when the page loads but the javascript isn't inside the target page. I want to run the following javascript:

javascript:alert('Hello world.');

I tried approaching it by setting the location property again to the javascript after the page has loaded like below.

<s:Button x="10" y="10" label="Button">
<s:click>
<![CDATA[

[Code]....

Unfortunately for me, that doesn't seem to work.

View 1 Replies

Javascript :: Embedded A HTML-enabled Editor On Top Of Flex Web Application?

May 11, 2010

How do I embedded a HTML-enabled javascript editor on top of Flex web application? FCKEditor is not free but any free editor with basic toolbar will do?

View 1 Replies

JavaScript :: Integrating Adobe Flex Applications With HTML Pages

Feb 16, 2011

How can I get my Adobe Flex applications to seamlessly integrate with HTML pages? That is, I want Flex to: Not take up the entire page (make it any size page element I want). Talk back to the JavaScript on the page (further linking the Flash application with the HTML page).

View 1 Replies

Javascript :: Force Explorer To Reload Flex Page( Swf Embedded In HTML)?

Aug 23, 2010

I developed a flex website, the web explorer always caches swf file which embedded in HTML. Sometimes I make changes to the flex file, clients computer still view the previous version which stored in cache. How can I force client's web explorer to reload/refresh the swf file?

View 3 Replies

ActionScript 2.0 :: HTML Background Affects Flash Functionality?

Apr 30, 2008

HTML Background affects flash functionality

View 1 Replies

Flex :: Prevent Container In ItemRenderer From Exceeding Width Of List Container?

Jul 2, 2011

In a Flex Mobile project I have a simple itemRenderer where I'm trying to create an "bubble" texting effect, similar to ichat or iphone (just so you get what im going for). But if the text is longer than the screen it runs off, rather than just going down a line.

If I set Group thats holding the rectangle(to create the bubble effect) and the label to 100% it works and keeps it from exceeding the list containers bounds, BUT the group is always at 100% and looks bad, I'm trying to keep the "bubble" JUST AROUND the text.

Anyway so, at the top of my itemRenderer I tried specifying:

<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" width="100%" height="100%">

And here's my layout I figured since msg_container has a width of 100% I was hoping bubble_lable_group would just not exceed that but...it doesnt...it just runs off. I tried setting a max width but that does not allow you to input percents. And just to say it 1 more time. I know if i set bubble_lable_group width to 100% it works, and keeps it from going off the edge, but then the rectangle "bubble" stretches all the way across and just looks bad.

<s:VGroup id="main_container" horizontalAlign="left" paddingBottom="10" paddingTop="10"
verticalAlign="top" width="100%">

[Code]....

View 1 Replies

Flex :: Dynamically Adding Container To A Dynamic Container

Sep 21, 2011

I have a loop that goes through data from a book and displays it. The book is not consistent in it's layout so I am trying to display it in two different ways. First way(works fine) is to load the text from that section in to a panel and display it. The second way is to create a new panel (panel creates fine) and then add collapsable panels(nested) to that panel. Here is the code from the else loop.

else if (newPanel == false){
// simpleData is just for the title bar of the new panel
// otherwise the panel has no content

[Code]....

The error I get is: ReferenceError: Error #1069: Property panel4.4 not found on components.readTest and there is no default value.

I have tried setting the "name" property instead of the "id" property.

View 1 Replies

Javascript :: Insert Javascript Functions To An HTML Document From The Child Flash Swf File?

Jan 29, 2012

I need to execute some javascript string code from flash swf file using actionscript 3.
I read that it could be done by passing the javascript code to the parent html document , using externalinterface.call function. Then I assume it will be faster if I can declare functions in the javascript code in the HTML document in the first use of externalinterface.call funtion ; if flash code calls the javascript code repeatedly. So let me ask you how to do that. For details , any javascript to be loaded is unknown in design time and I can not prepare a javascript file to be loaded.

View 2 Replies

Flex - Hide Container Of A Viewstack Container?

Dec 23, 2010

I have a viewstack container w/ 3 views: red, black, and blue. How can I completely hide the black & not include it?

[Code]...

View 2 Replies

Flex :: Drag Circle From One Container To Another Container?

Jan 13, 2012

I am creating an flex Air project,so mxml file will run. I have circles in one Big circle at one side and will be same on other side.

Now how to drag any circle from any Big circle to other side. Or it could be like any two container having circles, then how to drag and drop circle?

For one circle i am able to do drag and drop.But I want one Big circle on left hand side and one big circle on right hand side .And small circles with class names will be in these big circles.Now i want to drag and drop those small circles in big circles.Big cicles should not move. Even i have tried this code in actionscript

package
{
import flash.display.Sprite;
import flash.events.MouseEvent;

[Code].....

But in this i want big circles should not move and small circles should only be dragged.

View 1 Replies

Javascript :: Dynamically Loading SWFs Into A Container?

Aug 19, 2011

I'm writing a preview site that will load SWFs/images from a URL into a preview pane. However, the primary problem I'm running into is actually loading these SWFs. It seems that the object/embed tags require width/height attributes. I will not know the exact size of these SWFs; in fact, I will know absolutely nothing about them.

What I'm asking is, what is the best way to load in these SWFs? Is there a library that exists to do this? Or do I need to do it myself?

View 2 Replies

IDE :: Flash Calling A Javascript Function Within The Container

May 28, 2009

I'm trying to make it so a button I use in a swf talks to the swf's container and says...

fscommand ("javascript:changeMap('hodson.htm');")

so that in turn

function changeMap(building) {
document.getElementById('buildingINFO').src=buildi ng;
}

But that doesn't work. I also tried getURL in front of the AS instead of fscommand. basically it's an interactive map where I should be able to click a building and have information appear within a div tag to the right side.

View 1 Replies

Javascript :: Swf Into A Html File. 5secs Later Will Dissapear So That The Html Will Appear?

Feb 10, 2011

I want to make div into my intex.htm file (already built site) to place in a .swf file that will cover the whole screen, and a few seconds later the animated page will disapear and the htm page will appear. I don't want to make different htm file, neither put a button on flash(ie on click...). I just want after a few seconds and after the flash has ended, the flash will go away and the page will appear.

View 1 Replies

Javascript :: Flash Objects Restart Or Disappear When Its Container Is Re-styled

Jan 12, 2011

I've created a jQuery plug-in that allows a selected panel of a web page to be pinned to the top of the browser view-port when the user scrolls a long page after passing a particular horizontal point on the page.When the panel is pinned or unpinned, a strange thing occurs: if a Flash SWF object is present as a descendant element of the container, the Flash object either restarts its animation or disappears completely.The pin or unpin change occurs when the CSS property "position" switches between fixed, absolute and static. This forces Firefox to redraw its elements and it causes the <object> to reload and reanimate the Flash movie. I read this post with interest:URL...

Does anyone know of a workaround that prevents the <object> tag from reloading? I admit the Flash is an ad, but this problem only occurs in Firefox. Although there are suggestions that this may be a bug, I have searched without success and I'm scratching my pate with a deadline fast approaching.

View 2 Replies

Flex :: Put Headers In Tile List?

Apr 18, 2011

I dont want to make hboxes with labels and all for static headers in tile list... IS there a shortway to put column headers in a tile list in flex easily?

View 1 Replies







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