Using the click property in a SWFLoader
I'm using a SWFLoader to load a flash made button. I thought
I would've no problem navigating from one screen to another by
clicking on the SWFLoader, but the click property just doesn't seem
to work, eventhough I'm using a model locator and methods that I've
used several times before for navigation with no problem at all.
Is there anything special that needs to be done in this
case?
I tried with a sample and it seems to work.
Some points which might be worth checking....
1. Have you tried a sample app and found it working ?
2. Is the Flash SWF being loaded into a different
SecuritySandbox ?
3. If answer for 2 is YES, have you called
Security.allowDomain() for the domain of the loaded SWF?
More explanation here under the Event security section
http://livedocs.adobe.com/flex/3/html/05B_Security_08.html#129093
Similar Messages
-
View dimension hierarchy using the filter property of data form
Hi,
I created a data form where I want to show the dimension hierarchy. But when I am filtering the form using attribute dimension then the hierarchy is not being shown in the form.Is their any way so that I can use the filter property also and make the dimension hierarchy visible in the data form?
Thanks.847833 wrote:
Hi Endy,
Thanks for your reply. I have used the "equal" function as to set that specific attribute as I am choosing the descendants function against the attribute dimension,it's showing error.Hi,
What's the error ? You have to use a function, otherwise it will only display the member you picked.
Actually in our dimension structure we have a 3 generation hierarchy and the attribute is only associated with the 3rd generation member. So we want to display the 3rd generation having the specific attribute "xx" wit the entire hierarchical structure in our data form.
Can you please tell me if I have missed anything?
Thanks.If you want to display the attribute value in the form, edit the form, go to the "Layout" tab, and click on your row. On the right side of the screen, you have a section called Display Properties. Check the box called Enable custom attributes, then check your attribute name. Save the form and you will have the attribute value displayed at the right of the member name. -
Using the click wheel quickly pulls up a letter...but the WRONG LETTER
OK, this is funny and somewhat topical. I am afraid it is a predecessor to future problems though.
When using the click wheel rapidly in song selection we all know that letter pop up to help you scroll quicker. Well, the series of letters for me goes something like this:
A B T B C D E T E F G H T H I J K L T L...you get the idea. Yes, it repeats the letter "T" over and over.
Does anyone have any ideas about this? I have reset the iPod, but am leary about restoring it because I have 45 episodes of The Office and 6700 songs to mess with.
Windows XP ProI am going to post, no so much an answer, but an observation. Here is what I noticed. The letter 'T' pulls up whenever there is the word "the" in the title. So, I am thinking that with the new iTunes, it updates the iPod not to recognize the word "the" when alphabetizing, but it recognizes the letter 'T' when scrolling.
Example: Bananarama - Venus would come first, then the next song is The Band - Acadian Driftwood. So, Band comes after Bananarama if you omit the word "the", but the letters recognize the 'T' in the. Make Sense?
Anyone have any thoughts on this? Does anyone know where I can tell Apple about it?
Apple needs a section that we can click on called "stupid things we seem to overlook" and then fill out opinions on dumb screwed up options like this. -
Revision: 3520
Author: [email protected]
Date: 2008-10-08 10:26:39 -0700 (Wed, 08 Oct 2008)
Log Message:
Add ability to use the FP10 unloadAndStop() method in SWFLoader.
An application needs to be compiled with the "-target-player=10" argument to allow SWFLoader's unloadAndStop() function to use the Flash Player's unloadAndStop() function. If the argument is not provided then the Flash Player unload() function will be called instead.
QE: YES
Doc: YES
Checkintests: YES
Reviewer: Ely, Deepa
Bugs: SDK-16764
SWFLoader.as
Added new public method unloadAndStop().
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-16764
Modified Paths:
flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/SWFLoader.asThank you for your replies.
I have been looking into it as well and seem to have found quite a simple solution...
First you need to create an instance of a UIScrollView in the .h file:
IBOutlet UIScrollView *scrollView;
Then in the .m file, add the following line of code in the viewDidLoad method:
scrollView.contentSize = CGSizeMake(320, 700);
Then in IB all you need to do is set the files owner to the controller file we have set up above, drag a new instance of UIScrollView to the window. Then set two of its referencing objects to the File's Owner (view and the scrollView we have defined).
You can then add as many labels etc to the scroll view by dragging in IB. Load it all up and the view scrolls perfectly and displays all labels!
Thanks for helping me look into this. -
Using the Suspensibility property of a Webdynpro application
Hello Experts,
I have around 10 WDJ applications.All these applications are hosted on different iviews on portal.
I use the portal navigation to navigate between these applications.I want to use the Suspensibility property of the applications so that i dont have to reload them everytime they are called by other applications.
My Question is : The Suspensibility property stores the state of the application as it is. This will be done for multiple applications. Does anyone know where is this temporary storage done and how much of an effect will it have on the performance of the applications overall.
Regards,
ViragHi Virag,
You can use Suspend & Resume plugs for the same. Refer below SAP NetWeaver Library link & asoociated links.
http://help.sap.com/saphelp_nw04s/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm
Hope this helps you.
Kind Regards,
Nitin -
DatabaseLogOnList - Use the LogOnInfos property to specify logon infos
Hi,
I use CRYSTAL REPORT 2008 to develop reports and view these reports using crystalreportsviewers in web application on dot net framework.
when I run this application the report displayed the messege "DatabaseLogOnList - Use the LogOnInfos property to specify logon infos".
could you tell me why and soluction please?
The code is:
ParameterField parametro;
ParameterDiscreteValue parametroVal;
DataTable dt;
ReportDocument crReportDocument;
FormulaFieldDefinition crFormulaDefinition;
string db = System.Configuration.ConfigurationManager.AppSettings["Database"].ToString();
string user = System.Configuration.ConfigurationManager.AppSettings["Username"].ToString();
string pwd = System.Configuration.ConfigurationManager.AppSettings["Password"].ToString();
string server = System.Configuration.ConfigurationManager.AppSettings["Server"].ToString();
string RPTtemplatePath;
//--inizializzazione report--
crReportDocument = new ReportDocument();
crReportDocument.Load(RPTtemplatePath);
//--inizializzazione report--
ConnectionInfo crConnInfo = new ConnectionInfo();
crConnInfo.DatabaseName = db;
crConnInfo.UserID = user;
crConnInfo.Password = pwd;
crConnInfo.ServerName = server;
crConnInfo.IntegratedSecurity = false;
//autentico il mio report principale
SetDBLogonForReport(crConnInfo, crReportDocument);
//autentico tutti i sottoreport richiamati dal report principale
SetDBLogonForSubreports(crConnInfo, crReportDocument);
//--istanza ODS per report (DATATABLE)--
dt = new DataTable();
it.cdlan.gestionale.bll.objectManager.report.Report_Mgr MGR = new it.cdlan.gestionale.bll.objectManager.report.Report_Mgr();
dt = MGR.GetDTInterventiFatturazione(idAnagrafica, idServizio, dataFatturazione);
crReportDocument.SetDataSource(dt);
//--istanza ODS per report (DATATABLE)--
//--parametri per report--
parametro = new ParameterField();
parametroVal = new ParameterDiscreteValue();
parametro.Name = "idAnagrafica";
parametroVal.Value = idAnagrafica;
crReportDocument.SetParameterValue("idAnagrafica", parametroVal.Value);
parametro = new ParameterField();
parametroVal = new ParameterDiscreteValue();
parametro.Name = "idServizio";
parametroVal.Value = idServizio;
crReportDocument.SetParameterValue("idServizio", parametroVal.Value);
parametro = new ParameterField();
parametroVal = new ParameterDiscreteValue();
parametro.Name = "dataFatturazione";
parametroVal.Value = dataFatturazione;
crReportDocument.SetParameterValue("dataFatturazione", parametroVal.Value);
//--parametri per report--
//--parametri Per Intestazione Titolo Report--
crFormulaDefinition = crReportDocument.DataDefinition.FormulaFields["Intestazione"];
crFormulaDefinition.Text = "\" " + DateTime.Parse(dataFatturazione.ToString()).ToString("dd/MM/yyyy") + "\"";
//--parametri Per Intestazione Titolo Report--
CrystalReportViewer1.ReportSource = crReportDocument;
private void SetDBLogonForSubreports(ConnectionInfo crConnInfo, ReportDocument crReportDocument)
Sections sections = crReportDocument.ReportDefinition.Sections;
foreach (Section section in sections)
ReportObjects crReportObjects = section.ReportObjects;
foreach (ReportObject crReportObject in crReportObjects)
if (crReportObject.Kind == ReportObjectKind.SubreportObject)
SubreportObject subReport = (SubreportObject)crReportObject;
ReportDocument subReportDocument = subReport.OpenSubreport(subReport.SubreportName);
SetDBLogonForReport(crConnInfo, subReportDocument);
private void SetDBLogonForReport(ConnectionInfo crConnInfo, ReportDocument crReportDocument)
Tables tabelle = crReportDocument.Database.Tables;
foreach (CrystalDecisions.CrystalReports.Engine.Table tabella in tabelle)
TableLogOnInfo myTableLogonInfo = tabella.LogOnInfo;
myTableLogonInfo.ConnectionInfo = crConnInfo;
tabella.ApplyLogOnInfo(myTableLogonInfo);
Thanks
TeresaWithout trying to parse through all of your code line by line, you seem to be trying to set the database by connecting to the database directly and then you pass it a datatabe. You should pick one or the other and try it.
-
PLEASE HELP ME!!!
Your click function on the trackpad itself would be set in
System Prefs:Trackpad.
As for the manual clicker below, you might wish to clear
anything that's fallen in by using the edge of a sheet of
paper around the border that you can reach. -
Hello:
I've created an e-learning tutorial for some of our employees to learn about codes that we use for billing. I wanted to create an interactive experience, but its not working well.
First i created my image in PowerPoint (boxes/headings) and inserted them into Captivate and i then places a click box over top of it so once they click the description pops out.
Issues:
I've selected "infinite", but i am only allowed to click on it once
the word/description caption doesn't stay open long enough for users to read
I don't want it to automatically go to the next slide, I want them to click on the "next" button to proceed, but that isn't working either. I don't know if to choose "continue, next slide, no action" for the On Success action
I noticed at the end of each of the click box on the time line there is a pause.
I've attached a screen shot - hopefully this will help...
I am currently using a Trial version, could this be the reason (I'm waiting for my full version in the mail).
Is there a chance that the "click button" isn't what i should be using? Maybe I should be using the roll over slidelet?
Finally, I've created branching, I have two sections and I've created 2 quizzes, is there a way to have a summary after each quiz? or is it the only the one i can have?
Please help because im stuck and not sure how to fix this.
Thanks!Shanniearra wrote:
I am currently using a Trial version, could this be the reason (I'm waiting for my full version in the mail).
Is there a chance that the "click button" isn't what i should be using? Maybe I should be using the roll over slidelet?
Finally, I've created branching, I have two sections and I've created 2 quizzes, is there a way to have a summary after each quiz? or is it the only the one i can have?
Please help because im stuck and not sure how to fix this.
Thanks!
Trial or full version will both work the same, at least for this situation.
the click box is doing what it's designed to do, based on how you have the options set. You have it acting like a scored object with the success/fail options in your screen shot. Unfortunately, there isn't a way to manipulate the success caption's timing to make it stick around longer.
As Rod indicated to do what it sounds like you want to do, you need to create some advanced actions (which is pretty advanced for a new user) or use the rollover caption as he suggests. This might help you with the actions: http://lilybiri.posterous.com/playing-hide-and-seek-with-captivate-objects
or these:
http://blogs.adobe.com/captivate/2011/12/creating-a-screen-with-a-pop-up-with-adobe-captiv ate-5-5.html
http://blogs.adobe.com/captivate/2011/03/creating-a-click-reveal-text-screen-in-adobe-capt ivate-5.html
http://blogs.adobe.com/captivate/2011/12/captivate-training-creating-interesting-interacti vities-with-adobe-captivate-part-1.html
http://blogs.adobe.com/captivate/2011/12/captivate-training-creating-interesting-interacti vities-with-adobe-captivate-part-2.html
As for your quiz questions, Captivate only let's you make one quiz per project, so only one summary/score slide. You could build your own again, with some advanced actions, but again that's pretty advanced for a new user.
hope that helps. -
Problem in OOPs ALV using the BOX_FNAME property in LAYOUT
Hello Guys,
I am trying to use the property BOX_FNAME property in the LAYOUT of OOPs ALV, as a CHECKBOX for selecting the records and then processing the selected records.
Also i need to implement the functionality of SELECT/DESELECT ALL.
Below is the code i am using:-
DATA : w_layo TYPE lvc_s_layo. " Layout
w_layo-box_fname = 'MARKE'.
MARKE is a field used in internal table as CHAR01 field.
But know when i select record on display, the internal table field MARKE is not reflected back with the values.
Please suggest if i am missing something.
Thanks in advance.
Regards,
Tarun GambhirSolved by own, using method GET_SELECTED_ROWS of class CL_GUI_ALV_GRID.
Regards,
Tarun -
Captivate CS4 - Trouble using the Click box
Hi.
I'm hoping someone can help with a frustating problem I am having.
I'm using captivate 4, and have several slides in my project.
I have a next button on the slide, with a click box set to pause until the user click the area. Once clicked the slide moves to the next slide.
However, on the same slide I have two buttons - one which opens a video file (so the button opens a URL when clicked), and a button on a different part of the slide which open a different URL link to different video..
The click box seems to work, and doesn't move on to the next slide when the first button is clicked on, opening up a URL video.
However, when I then click on the next button which opens up the second URL video, the slide suddenly moves onto the nextslide, without me clicking on the Click box area.
Why is this happening? It seems to work fine, until I place two buttons on the same slide, and the second button is clicked. I don't want the slide to move on until the user clicks the click box area.
Please can someone help!
ThanksHi,
After a good night sleep I think I may have resolved the problem (I think). On the two buttons, they are set to open a URL link. Next to where I input the URL link, there is a menu where I select the option 'New' to open the video in a new internet window.
What I didn't realise in at the bottom of that same menu, there is also an option to select 'continue project'. If I de-select this, if I then click on the button the project remains paused as it should (until the user clicks the click box). So, originally what was happening is I had the 'continue project' selected for both those buttons, and this was overpowering the click box pause project function.
Fingers crossed it works. It seems to be on my tester!
Thanks -
How to use the FORMAT property of an account dimension
Hi Experts,
I tried my best but I just can't find any information about the format property of an account dimension. I know that it is a reserved one and I have seen something such as #,##0. In detail I want inc member to look like 1.000.000 and exp member like -4.000.0000.
This is probably a stupid question.
Thanx in advance,
CoraHi Cora-
These are Excel custom formats..please review the following link for detailed information:
[Custom Number Formats in Excel|http://www.ozgrid.com/Excel/CustomFormats.htm]
For your specific example: ###,###,### for INC and -###,###,### EXP should be sufficient.
Regards,
Sheldon -
I need to view the click data via my Omniture account. To do this I need to install the ClickMap plugin. It works on V4 but when I upgraded to V5 I now get an error saying the plugin cannot be installed.
If ClickMap is an '''extension''', as opposed to a '''plugin''', you have another option.
When Firefox disables an extension, it usually is because it includes a list of compatible Firefox versions and it hasn't yet been updated for Firefox 5. If it worked on Firefox 4, there is a good chance it will work on Firefox 5, but no guarantee.
You can force Firefox to ''ignore'' add-on version restrictions by (what else) installing an add-on. Then you can test whether the extensions important to you actually work in Firefox 5.
[https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/ Add-on Compatibility Reporter :: Add-ons for Firefox]
After you install this add-on and restart Firefox, there will still be a message that "--- is incompatible with Firefox 5.0" but the add-on will be enabled and a Disable button will appear for that entry. -
Export Dataview webpart using the listURL property
I have a data view webpart (dataform) on a page. I have to package the webpart into a solution so I exported the webpart using the sharepoint designer but figured that the webpart is connected to a list by the list id. I wish to use list url instead of list
id so that I can deploy it to new environment.
I tried adding a list url parameter to the parameter bindings group but that didn't work..
Any ideas on how to do this?
Student For LifeDesign view is removed from SPD 2013, however if you have SPD 2013 you can edit the SP 2013 pages work on it, desing or whatever you want to you can do and then publish.
You can choose to add data view, add your pagination all you can do in SPD 2010 and then publish it in you SP 2013. Take a look at this video
http://www.youtube.com/watch?v=EdW6eHOO-uI
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad Nizamuddin -
I would like to share a tip about how to play a playlist one song at a time from iTunes on a computer. The tip I am sharing is simple, but I was not able to find it in the iTunes Help. After searching on the internet I found the idea for this solution in a discussion in which this was presented as a frustrating problem rather than a desired behavior. This tip relies on the checkbox for each song in iTunes. For a song in a playlist to play automatically, the checkbox must be checked. To keep a song from playing in a playlist, simply uncheck it. Therefore, to keep all songs from playing automatically in a playlist, simply uncheck them all. Now you have a list of desired songs in a desired order but none of them will play automatically. You can play each one when you want to play it without having to search for the next song and without having to be at the computer to stop the playing after each song.
Step by step:
1. Create the playlist.
2. Uncheck all of the check boxes in the playlist (In iTunes for Windows, ctrl click one of the check marks to uncheck all of the checkboxes at once)
3. Now double click (or select and press spacebar) a song to play it. It will stop when finished because there is no other song checked to be played next.
4. If you want to change back to normal sequential play, ctrl click one of the check marks again to change all of the checkboxes back to the checked status.
Based on some discussions I found while looking for a solution (including at least one in which the questioner got bashed about why anybody would ever want to do such a thing and in which the proposed solutions were things like creating one song playlists or simply press stop after each song), some may not understand why this would ever be desired. Here's why I wanted to do it:
I was responsible for playing a series of songs at a dance. I needed to stop after each song to have a transition time to allow me to introduce the next song and to give new dancers time to get onto the floor and other dancers an opportunity to leave the floor. Furthermore, I was also dancing and didn't want to have to spend time searching for the next song (which is why I wanted to create a playlist in advance with just the songs I wanted to play in the order I wanted to play them) and I wanted each song to stop after playing since I was not at the computer to press stop.
I hope this will help others who have a similar need.Thank you! I put some self help hypnosis tracks to listen to on my iPod. I did not want to go to the next track automatically, I wanted to listen to them individually, one at a time. (If I fell asleep, I did not want to 'wake up' in the middle of a different track.) Your information helps me understand that I need to re-load this playlist onto my iPod from my Mac computer, only first, I need to UNCHECK the boxes in front of each track so the iPod will STOP each time after playing the selected track. It is too bad that so many functions are not availabvle within the iPod, but that is probably why they can make it so compact.
-
Problem with the click property in an embeded component
The following code snipit causes the -- 1180: Call to a possibly undefined method myLink. -- compile time error. I've tried making the method public and that doesn't help, so can anyone tell me what's going wrong?
<mx:TileList x="148" y="10" width="411" height="302" rowHeight="140" columnWidth="190"
dataProvider="{clientsList}" backgroundColor="#E9EEF0" rollOverColor="#b1b5b6" click="myLink('{data.link}')">
<mx:itemRenderer>
<mx:Component>
<mx:VBox horizontalAlign="center" verticalAlign="middle" height="140" width="200" horizontalScrollPolicy="off" verticalScrollPolicy="off">
<mx:Image source = "{data.image}" width="120" height="100" toolTip="{data.text}" click="myLink('{data.link}')"/>
<mx:Text width="100%" text="{data.name}" textAlign="center" height="18" fontSize="12" fontFamily="Myriad Pro"/>
</mx:VBox>
</mx:Component>
</mx:itemRenderer>
</mx:TileList>Here tis:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
public function myLink(url:String):void{
navigateToURL(new URLRequest('http://www.' + url), '_blank');
]]>
</mx:Script>
<mx:XML xmlns="" id="clientsList">
<items>
<item>
<name>Google's Headquarters</name>
<image>google.png</image>
<link>google.com</link>
<text>A picture of Google's headquarters.</text>
</item>
<item>
<name>Yahoo's Headquarters</name>
<image>yahoo.png</image>
<link>yahoo.com</link>
<text>A picture of Yahoo's headquarters.</text>
</item>
</items>
</mx:XML>
<mx:TileList x="148" y="10" width="411" height="302"
rowHeight="140" columnWidth="190" dataProvider="{clientsList..item}"
backgroundColor="#E9EEF0" rollOverColor="#b1b5b6">
<mx:itemRenderer>
<mx:Component>
<mx:VBox horizontalAlign="center" verticalAlign="middle"
height="140" width="200" horizontalScrollPolicy="off"
verticalScrollPolicy="off">
<mx:Image source = "{data.image}" width="120" height="100"
toolTip="{data.text}" click="outerDocument.myLink(String(data.link));"/>
<mx:Text width="100%" text="{data.name}" textAlign="center"
height="18" fontSize="12" fontFamily="Myriad Pro"/>
</mx:VBox>
</mx:Component>
</mx:itemRenderer>
</mx:TileList>
</mx:Application>
Maybe you are looking for
-
I have an Iphone 4s 32gb and i'm trying to update it to ios 5.1. i've downloaded the software from itunes but when i click on it to install it to my actual phone it says: "There was a problem downloading the software for Iphone 'Donnbjj1's Iphone' .
-
Go to a position RELATIVE to the current
Hallo, For the Homepage of my School I have to make a Page-Overview. I use many (this time 20) different, but same sized, images. These should stay 10 sec. and then should come the next one. If you click (on.Press) at the image, the page should be op
-
Guys, I wanted too try out airplay, but it seems it does not exist on my system. I have the latest 27" iMac with iTunes 10.1.1, and I have an iPod Touch 64GB (I assume that makes it 3rd generation as it doesn't have the camera), which is running iOS4
-
WRT300N limited or no connectivity
I searched for this problem and tried the answer given. However, i still have the same problem. It stays on "aquiring network address" for a long time then just switches to the limited or no connectivity. Any ideas? i have a WRT300N and a WMP300N. I
-
11.1.1.5 client tool dowload
Hi I am trying to install obiee 11.1.1.5 client tool on my machine , but I tried in searching online, but couldn't find, can any one help me with the link to go. Thanks Venk