Problems with datagrid from FXP, I did something, but I got problems with mysql...
Good night My name is Michel.
Right!, I have a challenge to myself. that is to relearn flash builder, I have a few years without touching it or anything.
But I still have the ease of get these new things added.
Going straight to the point, as I am Brazilian, some things from the file will be in Portuguese, I hope you can help me! I appreciate it. Well, I'm creating a Datagrid, this Datagrid was done in FXP, and imported into the FB, I did some workarounds and got where I wanted, only that there are problems.
the scheme is this:
MySQL database = NoticiasService
Connected by Zend / PHP.
Everything right until here.
I have the file main.mxml> DatalistSinspebNoticias.mxml> DatalistSinspebNoticiasRepeatedItemSkin.mxml - just here.
I will not make a closed file (FXP), because my file is just a mess and only I understand the way it was organized.
The problem is:
The datagrid is infinite, I want to limit it to eight items repeated.
The link does not work with "TextConverter" to "HTML"
FB lives showing me glitches.
then I will initiate an implementation of other applications, such as adding data to the DB, and Update DB. Thanks Folks!
Main.mxml ------------------------------------------------------------------------->
<?xml version='1.0' encoding='UTF-8'?>
<s:Application xmlns:ATE="http://ns.adobe.com/ate/2009"
xmlns:ai="http://ns.adobe.com/ai/2009"
xmlns:fc="http://ns.adobe.com/flashcatalyst/2009"
xmlns:d="http://ns.adobe.com/fxg/2008/dt"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:lib="assets.graphics.caixa_feed_sinspeb.*"
xmlns:flm="http://ns.adobe.com/flame/2008"
xmlns:noticiasservice="services.noticiasservice.*"
width="100%" height="100%" backgroundColor="#FFFFFF" preloaderChromeColor="#FFFFFF"
fc:previewHeight="380" fc:previewWidth="430">
<fx:Style source="Main.css"/>
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
protected function list1_creationCompleteHandler(event:FlexEvent):void
getAllNoticiasResult.token = noticiasService.getAllNoticias();
]]>
</fx:Script>
<fx:Declarations>
<s:CallResponder id="getAllNoticiasResult"/>
<noticiasservice:NoticiasService id="noticiasService" showBusyCursor="true"/>
</fx:Declarations>
<fx:DesignLayer d:id="2" d:userLabel="Layer 1">
<s:List id="list1" x="10" y="8"
creationComplete="list1_creationCompleteHandler(event)"
skinClass="components.DataListSinspebNoticias" labelField="conteudo_nt">
<s:AsyncListView list="{getAllNoticiasResult.lastResult}"/>
</s:List>
</fx:DesignLayer>
</s:Application>
------------------------------------------------------------------------->
DatalistSinspebNoticias.mxml ------------------------------------------------------------------------->
<?xml version="1.0" encoding="utf-8"?>
<s:Skin xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:d="http://ns.adobe.com/fxg/2008/dt"
xmlns:flm="http://ns.adobe.com/flame/2008"
xmlns:ai="http://ns.adobe.com/ai/2009"
width="407" height="374">
<fx:Metadata>[HostComponent("spark.components.List")]</fx:Metadata>
<s:states>
<s:State name="normal"/>
<s:State name="disabled"/>
</s:states>
<s:DataGroup id="dataGroup" x="0" y="0" width="407" height="353" clipAndEnableScrolling="true"
itemRenderer="components.DataListSinspebNoticiasRepeatedItemSkin"
height.normal="374" buttonMode.normal="true">
<s:layout>
<s:VerticalLayout gap="1"/>
</s:layout>
</s:DataGroup>
</s:Skin>
------------------------------------------------------------------------->
DatalistSinspebNoticiasRepeatedItemSkin.mxml ------------------------------------------------------------------------->
<?xml version="1.0" encoding="utf-8"?>
<s:ItemRenderer xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:d="http://ns.adobe.com/fxg/2008/dt"
xmlns:flm="http://ns.adobe.com/flame/2008"
xmlns:ai="http://ns.adobe.com/ai/2009"
width="402" height="39" autoDrawBackground="false">
<fx:Script>
<![CDATA[
import flashx.textLayout.conversion.ConversionType;
import flashx.textLayout.conversion.TextConverter;
]]>
</fx:Script>
<s:states>
<s:State name="normal"/>
<s:State name="hovered"/>
<s:State name="selected"/>
</s:states>
<s:Rect x="5" y="3" width="78" height="32">
<s:fill>
<s:SolidColor color="#01557C"/>
</s:fill>
<s:stroke.hovered>
<s:SolidColorStroke caps="none" color="#96F2FF" joints="miter" miterLimit="4" weight="2"/>
</s:stroke.hovered>
</s:Rect>
<s:Rect d:id="3" x="85.5" y="0.5" width="315" height="37" flm:variant="1"
x.hovered="86" y.hovered="1">
<s:fill>
<s:LinearGradient x="157.5" y="0" scaleX="32" rotation="90">
<s:GradientEntry ratio="0" color="#FFFFFF"/>
<s:GradientEntry ratio="0.488676" color="#E0EEF9"/>
<s:GradientEntry ratio="1" color="#D6E9F7"/>
</s:LinearGradient>
</s:fill>
<s:stroke>
<s:SolidColorStroke caps="none" color="#666666" joints="miter" miterLimit="4" weight="1"
color.hovered="#999999" weight.hovered="2"
color.selected="#0065FF"/>
</s:stroke>
</s:Rect>
<s:Rect d:userLabel="Item Highlight Rectangle" x="5" y="0" width="396" height="33" alpha="0">
<s:fill>
<s:SolidColor color="0xCED7EE"/>
</s:fill>
</s:Rect>
<s:RichText x="20" y="12" width="48" height="14" ai:aa="2"
color="#FFFFFF" columnCount="1" fontFamily="Myriad Pro" fontSize="14" kerning="on"
tabStops="S0" text="{data.datada_nt}" flm:variant="2" whiteSpaceCollapse="preserve"/>
<s:RichText x="89.95" y="8" width="309" height="24" ai:aa="2" color="#000000" columnCount="1"
fontFamily="Arial Narrow" fontSize="11" kerning="on"
tabStops="S0 S50 S100 S150 S200 S250 S300"
textFlow="{TextConverter.importToFlow(data.conteudo_nt, TextConverter.TEXT_FIELD_HTML_FORMAT)}"
trackingRight="16%"
flm:variant="3" whiteSpaceCollapse="preserve"
buttonMode.normal="false" lineThrough.normal="false">
<s:filters>
<s:GlowFilter alpha="1.0" blurX="0" blurY="0" color="#000000" inner="false"
knockout="false" quality="2" strength="1"/>
</s:filters>
</s:RichText>
<s:Path includeIn="hovered" x="0.35" y="12.35" data="M 12.40 7.15 L 0.03 14.29 0.03 0.01 Z ">
<s:stroke>
<s:SolidColorStroke caps="none" color="#666666" joints="miter" miterLimit="4" weight="1"/>
</s:stroke>
<s:fill>
<s:LinearGradient rotation="90">
<s:GradientEntry color="#FFFFFF" ratio="0"/>
<s:GradientEntry color="#E0EEF9" ratio="0.488676"/>
<s:GradientEntry color="#D6E9F7" ratio="1"/>
</s:LinearGradient>
</s:fill>
</s:Path>
</s:ItemRenderer>
------------------------------------------------------------------------->
The following says how to restore from backup.
iOS: How to back up
If you go to iTunes>Preferences>Devices you can see if you have an iTunes backup. You need one dated before or the exact time you started the restore.
Similar Messages
-
Delete all photos from windows? did something change in win 8.1 or ios8?
using win 8.1
iPhone 5
ios8
in windows explorer i drag/drop the pictures to my desktop, no problem, copy done
i used to be able to then select the same file and just delete
now i'm getting an error that the device has been disconnected or unavailable. (sorry, i don't have the exact message anymore)
i used to get this problem if i hadn't selected to "trust" the device but i can confirm that was done
a suggestion on the web was to use the option to "import photos" and then in the advanced options choose the option to delete the files after import. the import works, but the files don't get deleted so it seems like there is something related here.
any ideas?
i needed to wipe my phone so i did it completely manually from the photos app by selecting every picture and then deleting the recently deleted photos.ooba,
> My question is what has changed from flash mx pro
> to flash 8 pro when calling functions.
Honestly ... not a thing. ActionScript has new features (new
APIs) in
Flash 8 that weren't available in Flash MX 2004 -- and MX
2004, in turn, had
new features that weren't available in Flash MX -- but those
are mainly
enhancements to the corresponding Flash Player, with each
release. The
manner in which functions are called hasn't changed since
Flash 5.
> On frame 1 I have several functions that use to work.
> Such as function getRaterRatingData(result)...
> and I could call them from that frame or nested movie
> clips.
You should still be able to do that.
> But, now I have had to change the functions to
> _global.getRaterRatingData = function(result)...
> in order for me to call them.
There must be something else going on that you haven't told
us (or
aren't aware of yet).
> Any ideas as to why this is? I was not getting any
errors
> the previous way, it was just that the functions were
not
> being called.
How did you test for that? Did you troubleshoot with a
trace()
statement, maybe?
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
HT204088 In theme park I bought something but never got it but was charged
This morning I was playing Theme Park in the game I tried to purchase money and tickets but every time I tried it would kick me out of the game. I tried a bunch of times same thing kept happening so yeah what ever it did not work no money and no tickets.........6 hours later I start getting receipts for the purchases that did not work so I check the game still no money or tickets now I am $60+ what should I do???? Please help
Look in your Paypal account.Is the payment recorded there? If so you have paid.But today is only the 28th.Your item probably will not arrive for another 10 days from North America or another 20 days from Asia. Mark those dates on your calendar and come back if nothing has arrived by then. If the seller is claiming that you have not paid, give her the Paypal transaction number in her Dispute.It is possible that she entered her email incorrectly and has not in fact received the money you have paid.If not the transaction number ends the Dispute in your favour.
-
How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk.i did try all the options but I can not find the phone number to call from Croatia,
I can not change my Apple ID to the old mail (not possible!)
The old mail don't accept the new password..
I can not delete the Icloud all the time asking my the password of the old mail!
I realy need helpYou can not merge accounts.
Apps are tied to the Apple ID used to download them, you can not transfer them. -
I have some trouble with Safari!
Everytime i google something, I expect safari to open the link i click in the same window and same tab - as it did before - but now it always opens a new tab! I'm getting really tired of that! So please help me! I want safari to open the google search link in the same window and tab! How to fix that?
Please help me!!!
Thank you!From the Safari menu bar, select
Safari ▹ Preferences ▹ Extensions
Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit. -
I upgraded from Dreamweaver CS4 to CS6. but now when I want to upload I get "an TFP error occured - cannot make connection to host". I spent hours with the host technician and we cant find the error. I reinstalled DW4 and it connects to host perfectly. Anyone else seen this problem?
Mac OS 10.8.5
None of these issues are causing the error in DW CS6. We have double checked all of them and we have everything exactly right. Also I have exactly the same SiteSetup in DW CS4 and that works perfectly well. Could there must be factor in 6 that didn't exist in 4? Something that isnt in the SiteSetup but in some hidden dialog box ?
I can also upload to my host using Fetch, a third party FTP. And as I said DW CS4 works fine. So the problem is not with my host, its with DW CS6 in particular.Thank you Jon, that fixed it perfectly. You have saved me from going crazy. The only difference I see now is in "Server Name" it changed what I had entered (my ftp address) to "Remote Server"; which seems odd -- but it works! Although I know there maybe also some other dialog box I have never seen
Of course I saw that menu item "Import" and but I thought thats obviously not for me: "Why would I want to import an entire website?". I did not however see "Export the selected site" for thats only a tiny icon in the footer. However I would have thought the same: "Why would I want to export my entire website?".
An observation: I've seen this problem in a lot of Adobe software, the menu-names of items are obscure, non descriptive. What would be better would be for the menu names or popups to say "Export Site Setup settings" and "Import Site Setup settings" -
I have an eight year old IMAC with the Intel dual core. Today for the first time a fine white vertical line appeared on screen in all applications. I do not know if I did something or if this is a larger problem. Everything else seems to be working alright. Any suggestions on how to fix this problem would be appreciated. Thanks.
Eight-year old iMacs did not have Intel processors. Please do "About this Mac" from you Apple menu to see something like this:
Please post the "Version" under the big "Mac OS X" and the "Processor" information. These can make a big difference in advising you how to proceed.
iOS 4.1 currently shown in you profile will not run on a Mac computer; it is only for iDevices (Pads, Pods and Phones), so fixing that in your profile can help you get answers faster because people won't to ask for more info before forming an answer. -
Did something change in Adobe Reader X with xfdf files?
Has something changed with Reader X and how to print .xfdf files? For several previous versions my program would use reader to print pdf forms with data filled in via .xfdf files. Once someone updates to ReaderX then the pdf's print but no data is filled in from the .xfdf files.
So did something change with ReaderX or what it expects in xfdf file?
Thank you,
SteveSorry, I cannot find any non-sensitive file for the moment. I will get into trouble if I upload any of them.
And you're correct: I can't find those strings when I open it in a hex editor. Is there any utility to let me remove some texts without changing file headers and other properties?
For all my invoice files, they are all generated by the same company. It's "Free Telecom", an ISP and mobile phone company in France. But not all invoice files have this issue. This issue only happens recently, and only happens to invoice generated for ISP, but not for mobile phone.
Here are some more technical info:
If I open the files in PDF-XChange Viewer, I can view some properties.
I have
PDF Producer: PDF::API2 0.73 [linux]
The following image shows some remaining properties which are too much to type:
Hope this helps -
i have a problem with mail. the spelling and grammer check box before sending the messege is no longer there. I did everything but cannot get it back. is ther anyone who knows how to get the box with spelling and grammer checks before sending the mail.
Also the mail is acting very funny by not getting the rules work in a proper method. Is ther a software to repair mail.i did both of them, but still the while sending the mail the diolog box is not showing up and also the spelling and grammer does not do the spelling check.
This problem just started for about 3 to 4 days now. earlier it was working normally. -
I am having trouble with the cache in bridge. When i open I get a message saying bridge has encountered a problem reading the cache try purging in the central cache to correct the situation. I did that but now when I try to get to the folders where my photos are stored bridge never gets to where I can work. The message appears "building criteria" and I get an endless loop on the lower left panel. How do I correct?
You correct it by leaving Bridge alone until it finishes rebuilding its cache, overnight if necessary.
-
Recently while we were overseas, it was time to renew our Adobe Convertor. We did so but forgot that our card number had changed due to the Christmas problem with Target. So we were denied. Could webe reinstated?
Could you provide the name of the service that you subscribed to? Adobe ExportPDF, PDF Pack, or anything else?
I can move this post to an appropriate forum so that you can get help. -
Please Help! My 7 year old did something with my display!
My son was using the computer and did something with the keyboard. This left my display with the areas that should be white...to black. My desktop image and ALL computer images have the graphic look of a "sketch" and what should be red, is blue. the apple logo is orange. When I use my mouse, it creates "boxes" around the icons. I have tried changing resolution, both in display preferences and in the safe mode. When I reboot the computer, I get what the display should be for a moment, then it changes. I have also tried calibrating. Please advise.
TIA for your time!Open the Universal Access pane of System Preferences, click on Seeing, drag the Contrast slider all the way to the left and turn off the other options, except for those at the bottom.
(31465) -
sync problem, cannot sync apps to iPhone from iTunes. i did it before. but now it just take backup. anyone plz help...
Connect & select iPhone in iTunes Sudebar (iTunes > View > Show Sidebar), in Music tap (right pane top), select Sync Music and the music you want on iPhone then click Apply button (bottom right).
http://support.apple.com/kb/VI72 -
I am living in moscow, but i have a mastercard in vietnam. I changed my location in itunes from Russia into Vietnam. But when I change my billing info, and write my card's informations. It said I have problems with the address. I typed my address in VN. What should I do now ????
To answer the second question first, the owners of the music (and that is not Apple) decide where their music can be sold. If they decide (for whatever reason) not to sell their music in a particular country, they will not let a music retailer (that is Apple this time) sell it in that country. So the "system" is beyond Apple's control.
As for your first post; (if I understand you correctly), the iTunes Store knows that you are in Russia, so using a credit card registered in Vietnam is simply going to look like you're trying to get round the system.
The credit card is tied to an address, and therefore to a country. Simply using a different country's address is not going to work.
By the way, this is a world-wide situation. It's not a matter of having to use a Russian card, whatever card you use has to be registered at an address in Russia.
Use the support link in the iTunes Store to contact Apple and see if you can straighten out whether you can buy songs, where ever you are and with whichever card you have. -
I have an imac 2009 the disk drive is damaged and I have lost the passwords I need to reset passwords I tried booting with a macosx disk from an external hard drive but did not read the drive how else can I reset password ?
I have a 2012 mac book pro can I use that to connect with firewire and load osx that way? and how woudl I do that?
Thanks so much!To what password are you referring? Do you mean your user account's admin password? Or do you mean the master password for File Vault or do you mean a Firmware Password?
For an admin password:
Forgot Your Account Password
For Snow Leopard and earlier
Mac OS X 10.6- If you forget your administrator password
For Lion/Mountain Lion
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
When the menubar appears select Terminal from the Utilities menu.
Enter resetpassword at the prompt and press RETURN. Follow
instructions in the dialog window that will appear.
Or see Reset a Mac OS X 10.7 Lion Password and
OS X Lion- Apple ID can be used to reset your user account password.
If you cannot do the above then try this:
1. Boot to Safe Mode by restarting and after the chime press and hold down the COMMAND-S keys until a black screen with white type appears.
2. At the prompt, type the following commands pressing return after each command line:
/sbin/fsck -yf
If you do not receive a "Filesystem OK" message then repeat this command until
you do. If after seven tries you still do not receive a "Filesystem OK" message,
then the system is corrupted and needs to be reinstalled.
mount -uw /
cd /private/var/db/netinfo
mv local.nidb local.old
rm ../.AppleSetupDone
shutdown -r now
The second-to-last command above will cause OS X to think that the operating system is newly installed, and when the new owner starts up the computer it will send him/her to the startup wizard where he/she can start a new user without reinstalling.
This last method does not actually change a password. It simply removes the user accounts and lets you create an initial admin account as if the computer were new out of the box.
How to reset the OS X password without a startup CD:
Reboot into Single-user Mode. Enter the following and press RETURN after each command line
1. Type fsck -fy
2. Type mount -uw /
3. Type passwd <username>
I have never tried this method myself.
Maybe you are looking for
-
Which bank credit cards are accepted by apple in India?Pl.help.
Which bank credit cards are accepted by apple apps store In India? Pl.help me.
-
Listbox set to NOT editable cells; EditRow property seems to override
Hi All, I have several listboxes that I programmatically set to Editable Cells or not, depending on the runtime status. When I have it turned OFF, I do not want the user to be able to edit the text values in the cells. However, I have a RTM for the l
-
Cisco Security manager syslog.log file problem
Hello I have this problem with the CSM, the next file Syslog.log (C:\Program Files\CSCOpx\log\Syslog.log ), this file grows very fast to fill the hard disk and saturates the server, I have tried the log rotation of the cisco works but it doesnt wor
-
SB Live 5.1 (SB0060) - various questions, help appreciated
Hi, I have numerous questions. Hope they aren't too annoying.. . I just installed a new card it's an SB Li've 5.. I think it's SB0060 - the box says "Model SB0060US" and "Product Part No: 70SB006003007" on top. But the bottom says "OuterBox Part No.
-
my iphone4 says its cinnected to 3g but when i use safari it says "could not activate mobile data network". Any ideas please?