ActionScript 3.0 :: Flex - Datagrid Not Working When Online?

May 9, 2009

So, I have a simple registration form with a datagrid underneath. When you register, your name shows up in the datagrid. It's a list of people who has registered.This all works just like it should when tested locally. Online though, you can only register, but the datagrid won't load the names. It's empty, even though the database has been updated.

View 1 Replies


Similar Posts:


Flex :: Datagrid HeaderColor Style Is Not Working

Jun 16, 2010

I am trying to change the datagrid header color by editing headerColor style. I could change the font size, font family...etc except the headerColor. My code

[Code]....

View 4 Replies

Actionscript 3 :: ItemFocusIn Not Working On Non-Editable DataGrid In Flex?

Apr 17, 2010

I realize that ItemFocusIn is somehow only applicable to editable datagrids in flex,nevertheless I want to fire an event anytime the user selects a new row in a non-editable datagrid. I have successfully used the CLICK event, but this event is not fired when the user uses the keyboard to select a different row in the datagrid. What do I have to do to cause an event to fire whenever the currently highlighted row in the datagrid changes, regardless of weather it was changed by the mouse or by the keyboard?

View 1 Replies

Flex :: Scrollbars In Dropdownlist Inside DataGrid ItemEditor Not Working

Aug 17, 2010

I have a DropDownList inside the itemEditor of my DataGrid. There are enough items in the DropDownList to justify scrollbars. You can see the scrollbars, and the mousewheel works fine. If you move the mouse over the scrollbars, they'll change appearance fine (mouseover is working). If you click on them, the DropDownList closes as if you'd clicked elsewhere in the data grid.

I've been experimenting with custom skins hoping to find a way to trap the mouse event, but have been unsuccessful.

FWIW, this is Flex4, as an AIR app.

Scratch.mxml (main code)

<?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"

[Code].....

View 2 Replies

Flash :: Working On Localhost Not Online

Jul 10, 2009

I have a problem with a video gallery I integrated into my site...the flash works fine on my local machine and displays videos fine but when uploaded on the server it does not load and everyone gets the message as if we did not have flash installed on the machine[URL]

View 4 Replies

Actionscript 3.0 :: Function Not Working When Online?

Jan 21, 2009

Ive got a problem with comparing the currentframe with the totalframes of a loaded movieclip.this is my code

Code: Select allpublic function adLoaded(evt:Event):void
{
ldr = new Loader();

[code].....

View 1 Replies

Actionscript 3.0 :: Preloader Not Working Online?

Aug 30, 2009

I have been on a hunt for weeks, on and off, but I can't seem to find a solution, or even a direction to look in. Long story short, I am using CS4, AS3, and I can not get any type of preloader to work when accessing it online. I have made my own, tried every example file I could find, but not one of them or the possible solutions I found for them will work.

The example files I have used all work from my computer, both by accessing the swf in a browser, or testing within Flash itself, but once I upload them they have all hit one problem or another. I have had the preloader not show up at all, and show immediately but not count down, depending on the type of preloader it is. The only amount of narrowing down I have been able to do is that I can make a preloading frame, but as soon as that frame tries to find out the % loaded of the overall movie, it stops working properly.At the moment I am simply using:

Code: Select alladdEventListener('enterFrame', preloader);
function preloader (e:Event){
if (framesLoaded == totalFrames){[code]...

I put a movieclip on the frame to show that something is happening, but I have not been able to successfully use code to allow for a loading bar, text %, etc.

View 5 Replies

ActionScript 2.0 :: SetMask Put Online Not Working?

Jun 22, 2006

Got a movieclip masked by another one with onLoadInit and setMask. Everything works correctly on local but when I use the same swfs hosted on my "server" the mask simply doesn't work, losts its function and shows over the other movieclip as a box.

View 2 Replies

Professional :: Online Videos Are No Longer Working?

Jun 18, 2010

I have just very recently downloaded a trail version of Adobe Flash CS5 onto my laptop. The version of windows is Windows XP, and the program itself is running as well as it should.
 
I went to youtube to see if there were any video tutorials that could help me get started with the program. Unfortunately, right before a video will play, the browser will say there was an error, and close, and then re-try to open the page.
 
This problem has never happned before I installed Flash, so I can only assume it had something to do with it. Everything else on my system is running smoothly, I even checked every file and processor twice for any signs of adware that I may have picked up accidently.

View 14 Replies

ActionScript 3.0 :: Save Button Not Working Online?

Jun 17, 2009

i m developing facebook app in which user can set background wallpaper and from friend selector also add friend's album images to board and than click save to create jpg, my problem is all things are perfectly running on locally, but on the server when i add wallpaper and click save the jpg is created fine, but when i add friend album image to the board and click save button the code not working properly it seems to happen nothing but when i delete image from board and than click save the button is working properly,ovide code if necessary ,[url]....click on create poster button and it goes to flash file

View 0 Replies

ActionScript 3.0 :: XML Refresh Working Locally But Not Online?

Jun 18, 2009

So I have an incredibly simple tool that shows some updates from an XML file...In the swf, there is a button that triggers a refresh for the XML file... it works fine locally, but not online...

Code:
stop();
btnRefresh.label = "Refresh";

[code].....

View 6 Replies

ActionScript 3.0 :: Preloader With Swf In Different Domains, Not Working Online?

Oct 1, 2009

I've an swf (loader.swf) hosted inthat justs loads a swf (movie.swf) hostedloader.swf has a preloader. When I execute the movie in flash, it works perfect, but when I upload the swf, the preloader doesn't works. I see 0% and after starts movie.swf normally.Here is the code of loader.swf

Security.allowDomain("www.dominioB.com");Security.allowDomain("www.dominioA.com");var contexto:LoaderContext = new LoaderContext();contexto.applicationDomain = ApplicationDomain.currentDomain;var

[code].....

View 2 Replies

ActionScript 3.0 :: RSS Feed Working Locally But Not Online

Dec 25, 2009

I've got an RSS feed coming into my flash site. When I test this locally its all good, everything works fine, I can see the RSS feed and everything. But now when I test online, I can't see any RSS, nothing. Its just blank. Any idea why this might happen?

View 12 Replies

ActionScript 3.0 :: Flash Matrix3D/Vector3D Not Working Online

Jun 19, 2010

I've created a game in Flash and I'm using Matrix3D and Vector3D. It works perfectly locally, but as soon as I put it on a server, the graphics don't render and I only see a thin line where a sphere should be.

I've done all the imports, but nothing seems to get it working!

View 1 Replies

ActionScript 3.0 :: Flash Page Working Local Not Online (safari)?

Oct 15, 2010

I am making flash page and i have put it on my test server:[URL]It works in ie and firefox but not safari. But when i try it in safari locally on my computer it works.

View 3 Replies

ActionScript 3.0 :: C# Code For Storing Data Not Working Online Using Flash

Feb 20, 2011

i have some problem which i dont think of a reason why it happening. I have some Flash (swf) that send variables to aspx/aspx.cs page. the aspx files are on Web Server, when im testing the swf file local (on my computer) the variables are send and store in SQL. When im upload the swf + html file to Webserver (not on the same server when the aspx files) it does not working. i was tryin to upload the swf file to the same webserver where the aspx file and its working! when the swf on one server and the aspx on other server its not working...

View 3 Replies

Professional :: Player Working When Checked In Dreamweaver But Not Online From Host?

Apr 14, 2011

[URL]..  I check it when it is in dreamweaver and everything works and uploads fine. When I put it on  host server the video does not play. 

View 7 Replies

Php :: Insert To MySQL Database Not Working Online (via Flash Application)?

Apr 16, 2012

So, here is the question. I have a small flash application that sends some variables to a php script (via POST), and that php script sends them to a mySQL database.

This works fine when I'm testing my flash offline, I go to phpmyadmin, and the registry is done. When I upload the swf to a online html, this stops working. It no longer creates another registry in the database. I have no ideia why this happens.

I read a bit about it and found out about cross domain policy, and thought it might be the problem. Thus I made a small .xml file and uploaded it to both servers (the one the swf is on, and the one that has the database), and its still not working.

[Code]...

View 1 Replies

ActionScript 3.0 :: PHP Email Form Class Working Locally / Not Online

Mar 2, 2009

I'm working on an email form contained in a separate .as file coded in AS3 with a php file. Everything is working just fine when I test it through Flash, having my swf + my .as file locally and my php file online. As soon as I move all my files online, I submit the form, press my send button, see in the bottom screen of my browser than it seems to be a transfer, but nothing happen, no error message as written in my code...i'm just stuck. Here is parts of my codes.

[Code]...

View 3 Replies

Flex :: Adobe Flash Builder DataGrid DataProvider CollectionEvent.COLLECTION_CHANGE Handler's Access To DataGrid??

Feb 14, 2010

I've added an eventListener to the COLLECTION_CHANGE event that is fired when the grid is finished resorting the items in its dataProvider, after the user clicks on a column header:MyType (myDataGrid.dataProvider).addEventListener(CollectionEvent.COLLECTION_CHANGE,onDataGridResort);

View 1 Replies

Flex :: Datagrid Selects The Wrong Custom Cell In Datagrid

Mar 15, 2010

I am working on a problem since a week soon, but I still couldn't make it work as expected. I have a DataGrid which has HBox with a CheckBox an a Label as itemRenderer (see Code below). When I tap in to the Cell the standard itemEditor pops up and lets you enter the content of the label. Thats the standard behavior. I works fine except for 2 problems:

If I enter to much text, the horizontal srollbar pops up, and the cell is filled with that scrollbar. As you see I tried to set the horizontalScrollPolicy to off, but that doesnt work at all... I tried to do that for all the different elements, but the failure is still existent. When I have filled more than one row, there is an other mistake happening. If I tap on a row, the datagrid selects the one below that row. That's only if one line is already selected. If I tap outside the datagrid and then, tap at any row the itemEditor of the right row will show up... Is there anything now wright in the setup of my set data method?

package components
{
import mx.containers.HBox;
import mx.controls.CheckBox;

[Code]......

View 2 Replies

Flash :: Turn Flex MXML DataGrid Into Something Like Horizontal DataGrid?

Mar 24, 2010

From this (normal dataGrid)

into this (horisontal data grid)

How to turn Flex MXML DataGrid into something like Horisontal DataGrid? (may be some how with Flash builder 4?)

Keeping all stuff DataGrid has like eating data from data provider sortind dragging - droping items etc

View 1 Replies

Flex :: Changing Dataprovider Of A Datagrid On Change Event Of Another Datagrid?

Oct 15, 2011

I have two datagrids:

- Division
- Members

Both have single columns. Selecting one item from Divsions datagrid should display members of that Division in the Members datagrid. But following code has some problem and Members of a particular division do not show up when respective Divsion is clicked.

Following are some snippets of the related code. Hope someone can spot an error in it.

[Code]..

View 2 Replies

Flex :: Improve Datagrid Performance When Using Itemrenderer With In Datagrid?

Jul 31, 2009

For poor performance reasons, the DataGrid will cache checkboxes and reuse them for different rows. If you have 50 rows, it won't create 50 checkboxes. It will create as many checkboxes at are visible, plus a few more for padding, and then reuse them as you scroll. This is why you need to explicitly manage their state. How can improve it ? How can fixed checkbox value ? i used checkbox like below But checkbox doesnot remembering the values

[Code]...

View 3 Replies

Flex :: Develop An Online Multitouch Scrum-board / Flex Or Silverlight?

Sep 28, 2010

My company want to develop an online multitouch scrumboard for our scrumteams. We are still in doubt between flex and silverlight as platform for the application. (don't want to fire a hole new flex vs. silverlight discussion again) Installation rate & platform independence are not critical to us, because it's just for teammembers and only windows 7 enables multitouch events in flash or silverlight.We would like some pros/cons specifically for this project (multitouch, rich user interface, integration with backends).[code]

View 2 Replies

ActionScript 3.0 :: DataGrid Exported To PDF Not Working Properly

Mar 22, 2012

What I'm trying to do is export a datagrid to a PDF, which is working fine except that it keeps dropping out the data of the 4th column every time. I've set breakpoints to make sure the data is still there and it shows up but when the PDF is created that whole column has no data in it.

ActionScript Code:
private function printPDF(event:MouseEvent):void{
this.removeEventListener(MouseEvent.CLICK, printPDF)
var PDFcolumns:Array = getPDFColumns(_dataGrid);
var resultsArray:Array = _dataGrid.dataProvider.toArray();
var pdf:PDF = new PDF(Orientation.PORTRAIT,Unit.MM,Size.LETTER);
[Code] .....

View 0 Replies

ActionScript 2.0 :: DataGrid Horizontal Scroll Not Working?

Sep 8, 2008

I have created a simple datagrid and added columns and rows. The vertical scroll is working fine but when I scroll the horizontal scroll the content does not scroll.

View 4 Replies

Flex :: "Type DataGrid In CSS Selector 'DataGrid' Must Be Qualified With A Namespace" - Warning

Feb 4, 2010

I am attempting to style the headers in a flex datagrid and I keep getting the warning:

Type DataGrid in CSS selector 'DataGrid' must be qualified with a namespace

What does this mean? I have gone through a bunch of tutorials and none of them have worked. It seems like changing a the colors in a datagrid should be relatively simple.

Here is a code sample:

<mx:Style>
.headerCustomStyle
{
fontWeight: "bold";

[code]....

View 3 Replies

Flex :: Assign DataGrid To Other DataGrid In Flex

May 13, 2011

in Flex I have something like that: [code]and dg is ALWAYS pointing at DataGrid (even if dg1 has name DataGrid_test and dg2 = DataGrid_test2) and finally action is made on my first DataGrid (DataGrid_test).[code]and search still points at ColorColumn :/ My problem is really easy- I just want to pass to search different dataGrid on each state.But still I don't understand why it doesn't work. My search function uses algorhitm Boyer-Moor for searching through dataGrid.dataProvider for some text. If it find something then it is pushed into new array and after passing whole dataProvider I colorize rows with searched word.

View 2 Replies

Compile AS3 Into A SWF Online Using Flex SDK's Mxmlc

Aug 7, 2010

I've got the Flex SDK 4 on my Mac and I found a way to compile AS3 into SWF files using Flex's mxmlc compiler in Xcode, so I wondered, would it be possible to do this sort of simply online? Using for example a language I'm familiar with, PHP?I thought it'd be a thing that would be interesting to use for a website, or like some private projects.

View 1 Replies







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