Anybody familiari with Tibco Spotfire DXP
Hi all,
Next week we get a demo on a tool called Spotfire DXP from Tibco company. I donwloaded a trial version and it looks quit good but I have my doubts on implementing this tool for a SAP (BI) environment. As we will probably have Business Objects available for BI on short terms and next to this we have Adobe Flex for custom components that can be integrated in XCelsius, I wonder what kind of added value a tool like Spotfire could/would have in our situation. Does anybody have any experience with this tool?
kind regards
Angelique Heutinck
I also found these documents but the contents doesn't help really me answering my question. Why should we buy Spotfire if we will have an expensive tool like Business Objects in place anyway? What can do Spotfire more than Business Objects can do? Charts and analysis features can also be created by Adobe Flex or by purchasing Flex component libraries. It will be more work in the beginning, but once the component is ready, it is reusable.
There are many similar tools like Spotfire available on the market for data visualization (Tableau, Corda Technologies, Visual Mining, Advizor Solutions, just to name a few I found on the internet) but I cannot find good reasons from an IT point of view to buy an external software package other than that the frontend looks cool and with a simple flat excel sheet you can make beautiful pictures in just a few minutes (keeping in mind that data visualiztion in all products tours look "hot and sexy"). However, we talk about SAP BI and R3 data, data coming from other sources like Sybase, Notes. It will be quit a challenge to build the custom solutions we want for our company, no matter what choice we will make. How do these packages fit in the esoa concept, can this software work with e.g. webservices, can we integrate a Tibco dashboard in CRM2007 or Portal? What about version and transportation management?
Similar Messages
-
New to Fusion but familiar with TIBCO
Hi!
I am familiar with TIBCO how to create the process and all those things but using oracle fusion I getting confused to create the process. I having doubt to create process in Fusion we need to select the process as BPEL process?. Please clarify my doubt.Hi,
If you are new to BPEL, first do some Oracle provided tutorials.
You can find all info. about BPEL and Fusion on the blog:
http://abhishek-soablog.blogspot.com
Check for the post dated 27th september 2007.
Cheers,
Abhi... -
Anybody familiar with the details of implementing the Adobe PDF virtual printer?
Hello, all.
We need to implement a virtual printer similar to the legendary one by Adobe. The images processed by it will be detailed CAD drawing.
Can a kind soul point me in the appropriate direction? For starters: what type of data (what format) is the virtual printer expected to receive?
This will be for Windows.
TIA,
-RFHWell... it isn't really a data format. A device driver (which includes a printer driver) provides a number of callbacks which correspond to the graphical calls made by a printing program. (At least, that's how it was when I looked into it a very long time ago). A driver might be asked to draw lines or boxes, to output text with particular fonts and attributes, or to accept a variety of raster graphics. This is something for an experienced programmer, or team, already very familiar with Windows graphic models such as GDI: device drivers are not easy to develop or debug, and because they run with special privileges; bugs in them have the potential to completely crash the system (blue screen of death) (although I read of something called "user mode drivers" which might be safer).
http://msdn.microsoft.com/en-us/library/windows/hardware/gg463348.aspx is a place where some of this seems to be discussed. I don't know whether you have to sign up with Microsoft. You might, because recent OSs will only install signed drivers.
Updated: if you still want to make a PDF, this is an enormous task, so big that Adobe dropped the two drivers they once had. Adobe don't even write the Adobe PDF driver. Rather, they use the operating system's PostScript driver, then convert PostScript to PDF using Distiller, a tool they conveniently already had. Adobe provide what I think is called a "print monitor" (?) that takes the output from the driver once it is fully formatted. If you can process PostScript you could do the same. (Note: a PostScript interpreter from scratch is a considerably larger task than a print driver, so that isn't an easy option; look at 5-10 person years if the people are sufficiently skilled). -
Anybody familiar with the TUNE TRANSFER for Ipod program?
This software product was created by Valu-Soft. It was designed to recover music files from iPod to a NEW PC. However, it appears that this program does not work with a PC that has already iTunes library. Are there any shortcuts or commands to circumvent this condition?
Well... it isn't really a data format. A device driver (which includes a printer driver) provides a number of callbacks which correspond to the graphical calls made by a printing program. (At least, that's how it was when I looked into it a very long time ago). A driver might be asked to draw lines or boxes, to output text with particular fonts and attributes, or to accept a variety of raster graphics. This is something for an experienced programmer, or team, already very familiar with Windows graphic models such as GDI: device drivers are not easy to develop or debug, and because they run with special privileges; bugs in them have the potential to completely crash the system (blue screen of death) (although I read of something called "user mode drivers" which might be safer).
http://msdn.microsoft.com/en-us/library/windows/hardware/gg463348.aspx is a place where some of this seems to be discussed. I don't know whether you have to sign up with Microsoft. You might, because recent OSs will only install signed drivers.
Updated: if you still want to make a PDF, this is an enormous task, so big that Adobe dropped the two drivers they once had. Adobe don't even write the Adobe PDF driver. Rather, they use the operating system's PostScript driver, then convert PostScript to PDF using Distiller, a tool they conveniently already had. Adobe provide what I think is called a "print monitor" (?) that takes the output from the driver once it is fully formatted. If you can process PostScript you could do the same. (Note: a PostScript interpreter from scratch is a considerably larger task than a print driver, so that isn't an easy option; look at 5-10 person years if the people are sufficiently skilled). -
Anybody familiar with JDOM?
Hi,
I've been using jdom for some time now and I have been having problems with the following:
Element root = doc.getRootElement( );
List allChildren = root.getChildren( );
The List returned by the getChildren() call is a java.util.List, an implementation of the List interface all Java programmers know. What's interesting about the List is that it's live. Any changes to the List are immediately reflected in the backing document.:
allChildren.remove(3);
allChildren.add(new Element("jane"));
Somettimes the list returned by element.getChildren( ) or element.getContent( ) is empty (it should definietly not be empty). Does anybody know any possible reasons for this?I am currently designing an xml-based shared text editor, where paragraphs of text are enclosed within <Paragraph> tags, then it is a matter of propagating XML elements to the users, rather than java strings.
The simple xml structure of the document is as follows. There is a <Doc> root element which contains many instances of <Paragraph> elements. These paragraph elements have textual content. The following is an example of how a new paragraph is added:
public void addElement ( int n, org.jdom.Element e, String s, boolean increment) {
e= new org.jdom.Element("Par");
e.setAttribute("id", String.valueOf(n+1));
e.setText(s);
allPars = root.getChildren();
allPars.add(n, e);
if(increment == true){
incrementAttributes(n+1);
saveList(doc);
By sticking in print statements after allPars = root.getChildren( ), I have been getting empty lists even though the list should definitely not be empty. similar for deleteElement method and so on.
I have subsequently noticed that making the document and root element static has eliminated these problems although i had never been creating new instances of these anyway, strange.
static org.jdom.Element root = new org.jdom.Element("Doc");
static org.jdom.Document doc = new org.jdom.Document(root); -
HANA views connection to Tibco Spotfire
Hello,
I am working with Tibco Spotfire version 6.5. I can consume tables in HANA system but I am unable to consume the HANA views. Can I connect to HANA views from the tool? If so, how do I? Thanks in advance!Hello Praseedha -
Thanks for the quick response. It is interesting to know that you cannot embed the data from HANA views into Spotfire memory. It is my understanding that you can leverage both the options -> In database connection & In memory for databases like HANA.
Were you able to obtain the description of fields from HANA views instead of just the technical names when you inserted a HANA view into a table in Spotfire?
Looking forward to your response.
Regards,
Sudheer B. -
Anybody generally familiar with laptop monitor sync ranges?
After having been happy with arch linux on my desktop for almost 12 hours, I'm now configuring it for my laptop. I'm now working on my XFree86 configuration, and I've hit a snafu. I have no idea what the horizontal & vertical sync ranges ought to be. I never got any monitor documentation with my laptop, and the technical specifications provided by gateway (the manufacturer; not very OSS friendly hardware, and I wouldn't recommend it to anyone getting a new computer) (on the other hand, the boxes are very pretty) are a little bit lacking.
Consequently, here is everything I can dig up. Is there anyone generally familiar with the kind of frequencies that modern laptop monitors can handle, who can give me a good idea of some values to use?
We've got:
15.0-inch active matrix (TFT) LCD color display
Maximum panel resolution: 1024 × 768
Maximum color depth: 32-bit (16.7 million colors)
LCD supported video modes: XGA
LCD maximum refresh rate: 60 Hz
Thanks!my lcd-config looks like this:
Section "Monitor"
Option "CalcAlgorithm" "CheckDesktopGeometry"
DisplaySize 305 230
HorizSync 28-95
Identifier "LCD"
ModelName "FlexView 1600X1200"
VendorName "IBM"
VertRefresh 52-82
# UseModes "Modes[0]"
ModeLine "1600x1200/60Hz" 162 1600 1664 1856 2160 1200 1201 1204
1250 +HSync +VSync
Option "DPMS
EndSection
but the data i got from the manual, so it's not guessing but knowing
you can try the refresh and sync rates i use if nobody answers specific for your machine --- i know this settings work on 4 different lcd's for sure and never heard that they made trouble
instead of the Modeline (i use), i suggest you to write modelines and then just include the Modes-section you wrote to the monitor section (the out-commented line i added)
would be better you get other replys specific on your hardware - mine is more general, sorry -
I am running on OSX 10.10.1 and have a 2009 imac intel and I am having severe latency issues. I am not familiar with macs as this is my home computer used by other family members. Any help on how to troubleshoot why such latency issues?
When you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.
These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
The title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.
Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
Some private information, such as your name, may appear in the log. Anonymize before posting. -
Currently have iTunes 11.0.1.12 - how do I restore a previous version of iTunes that was far easier to use (much more familiar with)?
Apple is starting to feel like work and not play.
-
In logic Pro, when I open up an audio track or software track and load an audio file/loop or software file loop, there is no sound. I will finally get a sound out of one of the audio or software tracks after opening at least 5 of them alternately. Is anyone familiar with this kind of bug? It's really frustrating as this takes much time to complete work.
os x, Mac OS X (10.6)I'm not sure I follow your words Fuzzynormal. You've helped by offering the insight that my issue in Logic Pro 9 is not a bug but a feature. But fell short of enlightenment by being a judge of character and of how one should interact in this forum. You insinuate that I haven't tried to solve the issue on my own when in fact I have. These forums are always my last resort. You further suggest that I am complaining. This is not a complaint. It is a genuine issue that I cannot figure out. Then you think that Brazeca is holding my hand and being a nice guy. Brazeca is helping people like me who might not be as adept at using Logic Pro as probably you are.This community forum was established to raise questions, answers and dicussion to help Apple's customers better undertand their operating systems and related issues. You are doing a disservice by not contributing positively and by trying to make this forum what you want it to be. You may have all the time in the world to try figuring out stuff but we are not all like you. We all have different schedules and different levels of understanding. And that is what this forum is for - to help people move forward. If you can't contribute positively then keep silent. And by the way, you say to "read the words that are printed down to explain to you how that works" what words are you talking about? Why don't you be of some help instead of trying to own this forum.
-
I am new to the MAC world but I am very familiar with Lightroom on a PC. This weekend I was weeding out the pics I do not want on my MAC and now I have a ? by all my folders. How do I recover/get back to where I was 2 days ago?
These instructions will help you fix the problem: Adobe Lightroom - Find moved or missing files and folders
-
WLS 9.2 with TIBCO ems integration doesnt seem to be working
Hi, I followed the steps provided by Tibco doc on how to integrate with WLS 8 and they worked fine with my app, the messages were getting in to the Tibco queues, but I didnt find any steps on how to integrate TIBCO with WLS 9.2.
Still I managed to extrapolate the below steps from the WLS 9.2 JMS foreign server config instructions to have them work with TIBCO, but my App fails with errors saying... "Failed to send message using the connection..."
Anyone has the correct working instructions to integrate TIBCO with WLS 9.2?
---------- In Tibco ems --------------------
Created 2 queues:
OrderJMSQueue
ShippingMDBQueue
Created 2 connection factories:
ShippingMDBQueueCF
OrderJMSQueueCF
---------- end In Tibco ems --------------------
---------- In WLS 9.2 server --------------------
1. In C:\WLS92\user_projects\domains\pqedomain\bin\startweblogic.bat
Add:
set CLASSPATH=C:\Tibco\ems\clients\java\tibjms.jar;%CLASSPATH%
(assuming that Tibco is installed under C:\)
2. Start the WLS 9.2 Server
3. Open the WLS 9.2 admin page: http://localhost:7080/console
4. Select Services -> Messaging -> JMS Modules
5. Click New
a. Set Name: "jms-mod"
6. Click on "jms-mod"
7. Create a Resource "Foreign JMs server"
Name: PurchasingAppJMSServer
JNDI Initial Context Factory: com.tibco.tibjms.naming.TibjmsInitialContextFactory
JNDI Connection URL : tibjmsnaming://localhost:7222
8. Under PurchasingAppJMSServer
a. Click on Destinations -> New
i. Name: OrderJMSQueue
ii. Local JNDI Name: OrderJMSQueue
iii. Remote JNDI Name: OrderJMSQueue
b. Click on Save
9. Again under PurchasingAppJMSServer
a. Click on Destinations -> New
i. Name: ShippingMDBQueue
ii. Local JNDI Name: ShippingMDBQueue
iii. Remote JNDI Name: ShippingMDBQueue
b. Click on Save
10. Again under PurchasingAppJMSServer
a. Click on Connection Factories -> New
i. Name: OrderJMSQueueCF
ii. Local JNDI Name: OrderJMSQueueCF
iii. Remote JNDI Name: OrderJMSQueueCF
b. Click on Save
11. Again under PurchasingAppJMSServer
a. Click on Connection Factories -> New
i. Name: ShippingMDBQueueCF
ii. Local JNDI Name: ShippingMDBQueueCF
iii. Remote JNDI Name: ShippingMDBQueueCF
b. Click on Save
12. Come up to the Home page
13. Click on Services -> Foreign JNDI Providers
14. Click on New
15. Enter Name: PurchasingAppJMSServer
16. Click Save
17. Click on "PurchasingAppJMSServer" under the "Summary of Foreign JNDI Servers"
a. Set Initial Context Factory: com.tibco.tibjms.naming.TibjmsInitialContextFactory
b. Set Provider URL: tibjmsnaming://localhost:7222
c. Set User: admin
d. Click SaveI have tried this succesfully with 8.2 and 9.2. No patch was required though it is not a bad idea to apply patch.
As mentioned above, On weblogic side, I configured:
1) Foreign JMS Server
2) Foreign JMS Destination
3) Foreign JMS Connection Factory
I did not configure foreign jms provider.
On EMS side, I created a Queue. That's it.
I used default connection factory in EMS (QueueConnectionFactory)
This is how my MDB class looks like:
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.TextMessage;
import weblogic.ejbgen.MessageDriven;
import weblogic.ejbgen.ForeignJmsProvider;
@MessageDriven(ejbName = "SubscriberMessageDrivenBean",
destinationJndiName = "subscriberNotificationQueue",
destinationType = "javax.jms.Queue",
maxBeansInFreePool = "200",
initialBeansInFreePool = "20",
transTimeoutSeconds = "180",
defaultTransaction = MessageDriven.DefaultTransaction.NOT_SUPPORTED
@ForeignJmsProvider(connectionFactoryJndiName="QueueConnectionFactoryLocal")
public class SubscriberMessageDrivenBean extends JMSInterface {
public void OnMessage(Message inMessage) {
try {
System.out.println("Reached onMessage");
} catch (JMSException exp) {
e.printStackTrace();
and ejb-jar.xml like this......
<?xml version="1.0" encoding="UTF-8"?>
<!--
** This file was automatically generated by
** EJBGen WebLogic Server 9.2 SP1 Sun Jan 7 00:56:31 EST 2007 883308
-->
<ejb-jar
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
version="2.1">
<enterprise-beans>
<message-driven>
<ejb-name>SubscriberMessageDrivenBean</ejb-name>
<ejb-class>com.att.cpni.common.interfaces.jms.atlas.SubscriberMessageDrivenBean</ejb-class>
<transaction-type>Container</transaction-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>destinationType</activation-config-property-name>
<activation-config-property-value>javax.jms.Queue</activation-config-property-value>
</activation-config-property>
</activation-config>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>AccountMessageDrivenBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>SubscriberMessageDrivenBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
and weblogic-ejb-jar.xml like this.......
<?xml version="1.0" encoding="UTF-8"?>
<!--
** This file was automatically generated by
** EJBGen WebLogic Server 9.2 SP1 Sun Jan 7 00:56:31 EST 2007 883308
-->
<weblogic-ejb-jar
xmlns="http://www.bea.com/ns/weblogic/90" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-ejb-jar.xsd">
<weblogic-enterprise-bean>
<ejb-name>SubscriberMessageDrivenBean</ejb-name>
<message-driven-descriptor>
<pool>
<max-beans-in-free-pool>200</max-beans-in-free-pool>
<initial-beans-in-free-pool>20</initial-beans-in-free-pool>
</pool>
<destination-jndi-name>subscriberNotificationQueue</destination-jndi-name>
<connection-factory-jndi-name>QueueConnectionFactoryLocal</connection-factory-jndi-name>
</message-driven-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>180</trans-timeout-seconds>
</transaction-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar> -
After a months of stable work my new IPad suddenly denies to find cell network under any circumstances.Please advice if anyone familiar with that problem?
It sounds like there are a couple things going on here. First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance. Once you find this, make sure the service is started.
If not started, try to start it and see if it throws an error. If you get an error, post the error message your hitting. If the service starts, you can then launch SSMS and try to connect. If you have a default instance, you can use the machine
name in the connection dialog. Ex: "COWBOYS" where Cowboys is the machine name. However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format. Ex: COWBOYS\Romo (where Romo
is the instance name you set during install).
You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install. Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
Thanks,
Sam Lester (MSFT)
http://blogs.msdn.com/b/samlester
This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
"Mark as Answer" and
"Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread. -
I am not a newer to Java.
Frankly, I am familiar with the basic principle of java.
But I don't know how to further my study.That doesn't really tell us anything. "Familiar with the basic concept" has lots of interpretations, and beginners tend to think they're more skilled than they really are.
For beginner level stuff, check out the links below. If you find them too elementary, then you should have an idea of a particuar area you want to learn--sockets, web applications, database operations, etc.
If you just want to improve your overall skill, then study up on OO concepts, create some software, answer questions here and pay attention when you get corrected.
Beginner Resources
Sun's basic Java tutorial
Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
http://javaalmanac.com. A couple dozen code examples that supplement The Java Developers Almanac.
jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
Bruce Eckel's Thinking in Java (Available online.)
Joshua Bloch's Effective Java
Bert Bates and Kathy Sierra's Head First Java. -
Anyone familiar with Flash Presentations?
Hi.
I continue to have problems playing movieclips on certain
slides of a Flash Presentation.
If anyone has *reasonable* experience with Flash
presentations please let me know. You might be familiar with the
problem, or have suggestions.
Thanks in advance,
Kchez Lou,
> 1. Would I be better off just placing everything on the
main
> timeline, and saving the use of mc for animations that
can play
> continously (for instance animations that "accent" the
content
> of the slide, vs those used to put the content
together)?
Well, that would certainly be one approach, but then you
lose out on the
benefit of nested movie clips, not the least of which is
avoidance of
timeline sprawl. I played a bit more with the Slide API this
morning. I
can see what's going on. Under the hood, each slide is a
movie clip, and
they all exist at once, so if you have nested animation on
any slide ...
they all start playing even on slide 1, and might in fact
have played
through by the time you hit slide 5.
> 2. Do you know of a way to have an animation stop on the
last
> frame, yet replay on slide re-entry?
Here's what I came up with. Let's assume you have two
buttons on the
root presentation slide. By default, Flash gives you a root
slide named
"presentation" and a child slide named "slide1". In my
experiment, I added
a Next and Previous button to "presentation" and wired them
up like this:
btnNext.onRelease = function():Void {
this._parent.currentSlide.gotoNextSlide();
btnPrev.onRelease = function():Void {
this._parent.currentSlide.gotoPreviousSlide();
This uses the button event handling approach I prefer,
personally, over
on() and onClipEvent() -- I'm not sure which approach you're
using. In this
approach, the code codes into a keyframe, typically a
dedicated scripts
layer, rather than attached to the object itself. The buttons
have the
instance names btnNext and btnPrev. A function is assigned to
the
Button.onRelease event of each button instance, and the
functions call
either Slide.gotoNextSlide() or Slide.gotoPreviousSlide() as
appropriate.
In order to target the relevant Slide instance, I use the
Slide.currentSlide
property, which I reference via the expression this._parent.
Let me explain that, real quick. In the above code, the word
"this"
refers to the corresponding button instance itself -- in
btnNext's onRelease
handler, "this" refers to btnNext. btnNext -- the button
symbol -- is, by
nature, an instance of the Button class. Consulting the
Button class in the
ActionScript 2.0 Language Reference, I see that all button
instances have a
Button._parent property, which points to the object that
contains the
button. Cool. Therefore, from a button's point of view,
this._parent
refers to the timeline that contains the button. Normally,
such a reference
points to a MovieClip instance (which is what timelines are;
they're movie
clips). That's the case here, too, but thanks to the way
object-oriented
programming works, and because we're inside a Slide
presentation, the parent
movie clip of this button is also an instance of the Slide
class.
Look up "Slide class" in the Components Language Reference,
and you'll
see the full pedigree. Any instance of Slide has the
following family tree:
MovieClip > UIObject > UIComponent > View >
Loader > Screen > Slide. Slides
*are* movie clips, but they're more than that. They're also
UIObjects,
which are objects that contain all the functionality of movie
clips, and
then some. They're also UIComponents, which addes even more
functionality,
and so on ... all the way through Slide. One of the
properties of the Slide
class is Slide.currentSlide. Bingo!
So ... this._parent (in this context) refers to a Slide
instance, which
means this._parent.currentSlide refers to the currently
showing slide, which
is obviously also a Slide instance. For that reason, we can
still invoke
Slide class methods on the reference, which is why something
like
this._parent.currentSlide.gotoNextSlide() works.
Forgive me, by the way, if you already understand all of
this. Forum
replies are searchable, and who knows ... in the future, the
explanation has
the potential to help someone else, too. :)
Okay, so now the issue is, we want each current slide to run
through any
nested movie clips it may have, regardless of their instance
names, and tell
each movie clip to start again from frame 1 of its own
timeline. Amend the
above code to look like this:
import mx.screens.Slide;
btnNext.onRelease = function():Void {
this._parent.currentSlide.gotoNextSlide();
var slide:Slide = this._parent.currentSlide;
for (var prop:String in slide) {
if (typeof(slide[prop] == "movieclip")) {
slide[prop].gotoAndPlay(1);
btnPrev.onRelease = function():Void {
this._parent.currentSlide.gotoPreviousSlide();
var slide:Slide = this._parent.currentSlide;
for (var prop:String in slide) {
if (typeof(slide[prop] == "movieclip")) {
slide[prop].gotoAndPlay(1);
The import statement allows us to reference Slide as a
datatype, which
happens just below the line in each event handler that was
already there.
To save a few keystrokes (basically, to make the code easier
to read), we're
creating a temporary variable, slide, and setting it to the
same
this._parent.currentSlide expression we already used. Once
gotoNextSlide()
or gotoPreviousSlide() is called, the value of
this._parent.currentSlide
changes, because now a *new* slide is the current slide. It's
the new slide
we're interested in. Using the variable slide as a kind of
shorthand, we
use a for..in loop to run through all the properties of the
current slide.
If the datatype of a given propery is a movie clip, we tell
it to go to
frame 1 of its own timeline and start playing.
What I've spelled out may or may not fit, exactly, with your
current
circumstance, but that's why I spent a bit of time explaining
the mechanics
of it. I hope that steers you in a useful direction. :)
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj
"Luck is the residue of good design."
Maybe you are looking for
-
How to set multiple styles on a single component in flex ?
Hi , I would like to know how to set multiple styles on a single component in flex. Can anyone give me an example as to how to set multiple styles for a single component ? Thanks , Regards, Ajantha
-
How to change the project's language?
Hello, When creating a new DynPro Project you need to choose the Project language when you set the Project name. The default there is: "American English". Let's say I've created a project based on a certain language. Is it possible to change this lan
-
Why can't I download Itunes/quicktime????
When i try to install the new version on itunes when it gets to the quicktime part it says it cannot remove the old quicktime software and to contact my technical support group
-
Accidentally deleted /private/var/folders
Hi folks, yesterday I did something really stupid, I deleted recursively /private/var/folders But I was able to restore it from backup like follows: + mounted external drive (Backup with SuperDuper! on it) + created a tar ball from <backup>/private/v
-
Unable to partition my HD using Bootcamp Assistant
Hello, i`m trying to install Win 8.1 on my Mac Pro, i have a 3TB HD with a single partition. When i try to start Bootcamp Assistant it spits out: "The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitione