DataGrid: can I recover the data, BUT it does not show the datagrid control
Hello
Hi - I've traced data through php mysql in actionscript but it does not show the datagrid control. Here is my code.
Import fl.controls.DataGrid;
Import fl.controls.dataGridClasses.DataGridColumn;
Import fl.data.DataProvider;
Import fl.controls.ScrollPolicy;
Import fl.managers.StyleManager; necessary to format the text in cells
import flash.display.MovieClip;
import flash.net.URLRequest;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.net.URLLoader;
to import flash.net.URLVariables;
import flash.net.URLRequestMethod;
import flash.net.URLLoaderDataFormat;
Create a new instance of the DataGrid component.
var aDg:DataGrid = new DataGrid();
var myDp:Array = new Array();
var myData:URLRequest = new URLRequest ("http://www.cambridgekids.es/kglad/php/getUsers.php");
myData.method = URLRequestMethod.POST;
var loader: URLLoader = new URLLoader();
loader.dataFormat = pouvez;
loader.addEventListener (Event.COMPLETE, dataOnLoad);
Loader.Load (mydata);
function dataOnLoad(evt:Event) {}
for (var i: uint = 0; i < evt.target.data.cant; i ++) {}
myDp.push ({number: evt.target.data ["firstname" + i], Apellido:evt.target.data["lastname"+i]});})
/ / trace (evt.target.data ["firstname" + i]);
}
myDp.dataProvider = new DataProvider (myDp);
}
aDg.dataProvider = new DataProvider (myDp);
aDg.columns = ['number', 'Apellido'];
aDg.setSize (800,300);
aDg.move (150,200);
aDg.rowHeight = 40; / / allows 2 lines of text in the default text size.
aDg.columns [0] .width = 80;
aDg.columns [1] .width = 30;
aDg.resizableColumns = true;
aDg.verticalScrollPolicy = ScrollPolicy.AUTO;
addChild (aDg);
DOH! I thought I was in the flex forum so ignore my previous answer.
You must set the dataProvider on the dg after completing the dataprovider with data so spend aDg.dataProvider = new DataProvider (myDp); at the end of the dataOnLoad method
Tags: Adobe Animate
Similar Questions
-
With the help of 5s with ios 9.2.1. Call ringtone but screen does not show the answer since mode. Could not receive call and not able to see the contact call. This may be due to whatsapp bug. Please specify.
bjmrao wrote:
With the help of 5s with ios 9.2.1. Call ringtone but screen does not show the answer since mode. Could not receive call and not able to see the contact call. This may be due to whatsapp bug. Please specify.
Please ask Whatapps since you use their app.
-
I went on the view menu, selected bookmarks toolbar, but it does not show. I use it a lot for my url frequently used. I prob won't use firefox more if she does not have this feature. I don't want to have to go in bookmarks regular just to check my email, etc.
Hello Mark.
It is possible that you have made some changes in the interface that deleted bookmarks in the bookmarks toolbar. Go in view > tools > customize... > Restore Default Set and everything should be back to normal. By this, I mean that your interface will return to its default configurations. You can reconfigure (in the same window) to your liking, after that.
Otherwise, you should be able to drag the corresponding item in the window in the bookmarks toolbar, but it is perhaps more difficult to accomplish if you are not experienced enough.
-
I downloaded Open Office, but it does not show in my Applications. Only an icon shows on my desktop and when I stop I have to re - download.
Where did you put it after installing it, it should have been in the Applications folder, was it?
-
I can create a new folder, but it does not appear under my "Inbox".
I made sure that under 'View', my ball is then to display files "All". I do see the new folder as a subfolder of my Inbox, but it does not appear. I try to do it again, and he says that there are already?
I can't understand what is wrong!
Jackie
It's a Pop or Imap e-mail account?
If the IMAP, you need to register to see the folders created.
If Pop, it should appear.
If it is a subfolder of the Inbox, the Inbox folder tree is reduced or developed?
If the Inbox contains subfolders, then a small arrow appears to the left of the "Inbox".
When collapsed this arrow is just a triangular outline.
When it is developed to display subfolders, the arrow turns black Uni.
You can expand/collapse the subtree by clicking the arrow. -
I'm trying to download CS6, that I bought last year, on my new computer with Windows 10. I have the z7 and exe files to download but Akamai download manager does not appear. I can download the files, but can't do anything with them without Akamai, it seems. Can someone tell me where to find it please?
-
I created sync on my computer at home (desktop computer). I then put in place on my iPhone and it worked perfectly - showing me all open tabs, I had the computer at home.
I just bought a MacBook Pro and want to get all my tabs/Favorites etc on the mac, computer at home. I put a synchronization on mac and coupled the unit and got the message saying that it is synchronized. However, none of my tabs or other data comes through to the mac.
Does take a number of hours? (I waited all night). I clicked on "Synchronize now" on my mac hoping that would synchronize all of the computer to the main house, but who did not open the tabs either.
Any thoughts?
Hello!
In order to view the tabs on other computers, that you have to go in 'History'-> 'tabs on other computers. Or type "subject: sync-tabs" in the address bar.
In other words, the tabs that you have in a computer or phone will not show opened in the rest of your devices but they accessed through this menu option.
I hope that clarifies the situation. I know that a lot of people expect the same behavior you describe, but when we tried it he finished is not not optimal.
-
How can I recover windows 8 operating system does not load stuck in aptio implemented the utility
Pressed the button of the computer recovery laptop windows 8 when looking for pictures that seemed to have disappeared. Laptop went directly to reinstall to factory settings. Yo tried out and took "full recovery" or similar option and fonts now have an operating system! Helpp!
Hi Nicola,
You have the disc of Windows 8?
If you have the disc of Windows 8, you can go ahead and reinstall Windows 8 else I suggest you to contact the computer manufacturer to restore the default settings.
Check out the link:
How to perform a clean installation of Windows 8
http://Windows.Microsoft.com/en-in/Windows-8/clean-install
Perform a system recovery or a clean installation of Windows 8 will be restored the computer to the factory settings, which will remove all files and of software installed on your computer.
For all windows questions do not hesitate to contact us and we will be happy to help you.
-
Convenience store Aero says that my 'Desktop Window Manager' was disabled, so I couldn't change my themes (I also suddenly lost 'glass'). But how to activate or activate 'Desktop Window Manager' and - the most galling - why didn't he appears in the help section? Convenience store said he can help me and look elsewhere for help.
Last changes: I did a clean install of Windows 7. I turned off last night (everything works OK), and then it works again this morning :(
I found the solution here - will post here just in case someone else gets this problem:
go to the Control Panel and search for Services , under Administrative Tools , go to Services .
go to the bottom of the window and you will find Desktop Window Manager Session Manager, right-click to choose from (including rebooting).
-
Email from Adobe said I can use File Sync today, but it does not work
Received an email this morning saying: I had already been approved for the newly restored file synchronization and I should start using it today, but my desktop app still says "coming soon". I waited until tonight, but it is still not active.
Here's the quote from the email: "since we will deploy access in limited batches, we are encourage citizens to join a waiting list - but we went ahead and approved you, so you can start using these features any time."
Anyone know what is happening?
Gail
Hi Gail, have prompted you to update your desktop CC app?
If this is not the case then try to quit it and then restart it, it will ask you to update.
After updating, you need this feature.
-
Disc 2 installed but it does not show the correct space or files
I installed a new SSD drive and loaded Windows 7 and everything is fine. Then, I took my orig HD and plugged as a 2nd HD with these two connectors:
http://www.Newegg.com/product/product.aspx?item=N82E16812200061
http://www.Newegg.com/product/product.aspx?item=N82E16812119378the orig HD is 320 MB, but it appears with 12.1 GB. It says "original Image (F', with a single folder,"Recovery", which has nothing in it..."). When I started the first time, he says just "install disc" or something like that, it asked to reboot and there it was... naked and stripped...
Drive F:\ has used 12.1 GB, 10.4 gm total and only 1.65 free...
I got that worked.
-
Do not use this laptop very often. I had done several updates at once (including the Windows updates and the latest edition of Firefox).
Check if there is a PDF file open in another tab. My Samsung R580 scrolls the PDF (which was open on another tab) instead of the tab that is currently open.
-
I followed each step that I could find on the Apple Web site. The PC recognizes the iPad iPad wonder to trust the PC and I do it, but iTunes does not show the iPad and the Device Manager doesn't show anything Apple. I even uninstalled, to alreay redownloaded and reinstalled iTunes.
Have you tried to remove and reinstall iTunes by following the steps here? All the steps are essential to eliminate corrupt drivers:
Remove and reinstall iTunes and software for Windows 7 and later versions - Apple Support components
-
I use Live Mail client and SSL, but I can't recover the messages in my subfolders in my Hotmail account, how can I do this? I can use a web browser to display, but Live Mail client only update the subfolders, only the Inbox.
View all Windows Live and Hotmail questions in the appropriate forum found here:
http://windowslivehelp.com/ -
I accidentally deleted a volume in Windows 7! How can I recover the data?
I accidentally deleted a volume in Windows 7! How can I recover the data?
I created a retractable partion on "D" Drive and later to try to remove it and accidentally I clicked on "D" drive instead of the new partition! "."Any ideas to recover data?Thank youAmalHello
You can try this free program; no warranty if.
http://www.Piriform.com/Recuva
See you soon.
Maybe you are looking for
-
I just updated my computer IMAC OS X ElCapitan 10.11.5 Version but it does not show my ' ipod classic (end of 2009 I think) is it possible I can get both talk - or is it time for a new ipod?
-
After trying a story custom in the Section for the protection of personal information (not security as the first mentioned section), I went back to "remember history" but now, there are NO button to click to prevent the 3rd party cookies to enter com
-
After McAfee, updated by Satellite U400 restarts just
Hello I just brought a laptop Satellite U400-14 b and last night he went to do an update on the free McAfee Security 30-day thing and everything seemed fine, but this morning when I tried to turn it on it just keeps restarting insofar as the front pa
-
Hello!I have a Portege 3440 with Windows NT operating system and I am looking for a driver USB for Windows NT. Where can I find it?Thank you.
-
How to use the structures of the event for long-running tasks
I created a state machine that scans a cluster of Boolean controls in a State of 'home '. Most of the States run a Subvi or two in ~ 100 ms or less. However, a State run for 10 seconds. The code works but the user interface is limited because the con