I want to create a tail that behaves like a string
I want to create a tail and fasten one end to an object. The object is translating and has a small amount of rotation oscillation. I want the tail to behave like a string that has very little stiffness. It should curve from side to side as the object oscillates. I could probably figure this out by experimentation but I would much appreciate assistance.
Well, I don't know what you mean by "the object is translating", but to make a tail that behaves with a lot of curve, it needs to be comprised of segments. I would go with a replicator of a bunch of circles and then use the replicator sequence behavior to animate the curvature.
Andy
Similar Messages
-
How do I create a title, that behaves like a button?
Hi,
I'm using XML to load data from asp to flash. Here's the XML
example:
1. <?xml version="1.0" encoding="iso-8859-1"?>
2. <news>
3. <item>
4. <headline>Flash XML Based News reader out
today!</headline>
5. <date>05/09/1986</date>
6. <message>Today my new xml based flash news reader
came out, I am so excited!</message>
7. </item>
8. <item>
9. <headline>One day until the Flash XML Based News
reader is out!</headline>
10. <date>05/08/1986</date>
11. <message>Tomorrow my new xml based flash news
reader comes out, I am so excited!</message>
12. </item>
13. <item>
14. <headline>Two days until the Flash XML Based News
reader is out!</headline>
15. <date>05/07/1986</date>
16. <message>The day after tomorrow my new xml based
flash news reader comes out, I am so excited!</message>
17. </item>
18. </news>
And here's the ActionScript part:
1. // Initialize the xml object that our news will be loaded
into
2. var news_xml : XML = new XML();
3. // ignore all whitespaces inside of our xml file
4. news_xml.ignoreWhite = true;
5. // when the xml recieves a return from the load() function
call, execute this function
6. news_xml.onLoad = function( success : Boolean ) {
7. // if the xml file was successfully loaded
8. if ( success ) {
9. parseNews(this);
10. }
11. }
12. // call the load function on the xml object, passing in
the url of your xml file
13. news_xml.load("xmlTutorial.xml");
14. // this function will take our news xml object and parse
it
15. function parseNews( _xml : XML ) : Void {
16. // first we create an array that holds all the values of
the item nodes
17. var items : Array = _xml.firstChild.childNodes;
18. // now we want to iterate over every item in the items
array
19. // and parse the nodes as we see fit
20. for ( var i : Number = 0 ; i < items.length ; i ++ ) {
21. // here we set the text of the text field ( news_txt )
22. // the first thing we add to the textfield is the
headline then a line break
23. news_txt.htmlText += "<b>" + items
.childNodes[0].firstChild +"</b><br>";
24. // next we add the string date followed by the date value
in the xml file
25. news_txt.htmlText += "Date: " +
items.childNodes[1].firstChild + "<br>";
26. // now we add the message, then two line breaks, only for
formatting
27. news_txt.htmlText += " " + items
.childNodes[2].firstChild + "<br><br>";
28. }
29. }
So far is everything clear to me. But what I want to do now
is that after a user clicks on title, next happens:
the current swf unloads
the flash sends data to asp (ID of an article and ID of an
author, which movie to load next).
How do create a title/button?I know how to make a title to
behave like a link (just add the
http://... in the headline tag in XML
document. But this,..... I just don't know how to do that.
THX for any help2m, you are right. I should tell you about my concept. It's
all on the paper yet, because this is how I work - first I write
down everything on paper, study it and the next step in trying to
make it work on computer.
I have a main swf, I call it system.swf. System.swf receives
the info about the swfs, it must be loaded from html tag
<object><param>. The ID of the movies is send from
flash to asp and then via <object>back to flash. Does that
make sense? Is there a better way for that?
So, the system.swf is loaded for the whole time - let's say
it on level1. On level 2 are then loaded other swfs.It depends
which content the user wants to see.
About the article part:
first the user sees the list of last articles (title, date
and short description). When he/she clicks on the title, all the
action happens:
flash sends the data which article the user wants to read to
asp, asp searches in data base for the requested article and
creates xml, where are title, date and the whole content of the
article.
At the same time asp also sends via <object>tag in html
the id of the swf that must be loaded and the id of the author of
the article, so the swf, where the pictures of the all authors are,
will know what picute must load (this is the second swf that is
loaded on the article part - it's created like a gallery; the
author of the active article is bigger and if the user wants to
read the last article of other author, he/she just closes the
picture and then the images are moving in a slider way and when
he/she clicks on an image, it get larger and the last artcle of
this author is loaded).
And I wonder how can I make this all to happen: when the user
clicks on a title, all the var action happens?
If you have better idea how to create this, please, advice.
THX for the help so far -
I want to create an array that goes into a case structure where each element in the array is an individual case and gets done in order. Any ideas, I've been playing with the idea but have had no luck, is this even possible?
Hi,
Please check it out the attached Vi.. Is this you need?
Sasi.
Certified LabVIEW Associate Developer
If you can DREAM it, You can DO it - Walt Disney
Attachments:
Event.vi 11 KB -
I want to create a form that I can change at an instance that will store the information without replacing it: Here are examples of what i have:
This is the form: The True/False in column B are actually check boxes
Date
Job Name
Start
End
Hours Worked
Per Diem
Wednesday, Mar 5, 2014
Duke University
7:30 PM
2:30 AM
7.00
Arellano, Paul
TRUE
Wednesday, Mar 5, 2014
Duke University
7:30 PM
2:30 AM
7.00
0.00
Blackwell, Zach
FALSE
Christian, Charles
TRUE
Wednesday, Mar 5, 2014
Duke University
7:30 PM
2:30 AM
7.00
0.00
Christian, John
FALSE
Currence, John
FALSE
Curtis, Brandon
FALSE
Hawkins, Tyre
FALSE
King, Corey
FALSE
Nunez, Jose
FALSE
Rangel, Antonio
FALSE
Rice, Eric
FALSE
Salgado, Ricardo
FALSE
and the sheet that the index to looks like:
Saturday, Mar 15, 2014
Rice, Eric
Providence College
9:00 AM
7:30 PM
10.50
1
Saturday, Mar 15, 2014
Rice, Eric
Virginia Beach
7:30 PM
2:30 AM
7.00
Saturday, Mar 15, 2014
Salgado, Ricardo
0.00
Sunday, Mar 16, 2014
Arellano, Paul
Providence College
7:00 AM
8:00 PM
13.00
1
Sunday, Mar 16, 2014
Blackwell, Zach
0.00
Sunday, Mar 16, 2014
Christian, Charles
0.00
Sunday, Mar 16, 2014
Christian, John
0.00
Sunday, Mar 16, 2014
Currence, John
Providence College
7:00 AM
8:00 PM
13.00
1
Sunday, Mar 16, 2014
Curtis, Brandon
0.00
I want to be able to fill out the form and it place itself into Sheet 1 without changing everytime. I can index the array from the form, but it changes everytime.You think it would be the other way around.
Just speculation, but forms probably came to iOS first because of likely use for data entry in the field that syncs back to the Mac. On a small screen with a touch interface, forms make inputing values easier.
On the Mac, with its bigger screen, typing directly into a data table often works well enough.
SG -
want to create fillable PDF that can be used by many people running on both MAC and PC. What Adobe product should I use?
Hans-Gunter
Thanks so much. I downloaded Acrobat XI. It's been "extracting" for the past 30 minutes (even with a fast wi-fi). Hope this is not a problem.
Anne -
If I want to create a Group that is Group by page,Is that feasible?
Hi, Expert
I want to limit record number(50 records) per page,
and it will have a total column which is amount Salary,
so now I had set some formulas into report
First(in report Details)
WhilePrintingRecords;
Global numbervar DataCount := DataCount + 1;
ps.This variable counts record number and limits record within 50 records per page
when record passover 50, it will re-set variable to 0(this formulas set in Group Footer)
second(in Group Footer)
WhilePrintingRecords;
Global numbervar DataCount := 0;
ps.for re-set variable
third(New Page After)
Truncate ({@DataCount}/50)*50={@DataCount} and OnLastRecord=false
ps.For Next page
Fourth
WhilePrintingRecords;
Global numbervar pagetol;
salarytol:=salarytol +{table;1.amount}
Fifth
Global numbervar pagetol;
if (Truncate ({@DataCount}/50)*50)={@DataCount} then
pagetol:=0;
If I want to create a Group that is Group by page(50 records per page), because I want
to grand total of salary per page,Is that feasible?
How to achieve this goal??
Thanks & RegardsThanks lanWaterMan
Actually, my care is Report View,
my report will have Three Summary columns,
one is for 50 records,
second is for data type,
another is for all of records.
I will put the First Summary column behind(below) the last records
So it will look like "Grand total"(for 50 records 1 total).
And the Second Summary column will lay on Group footer(sum data group by data type).
And the last Summary column will lay on every page's bottom(sum all of data).
If I put first summary column in page footer, It will lay on bottom of page, not behind the last records(per fiftieth record).
So I think if I create group1 for 50 records(put in first Summary column on group1 footer) and group2 for data type(put in second Summary column on group2 footer),
then put the last summary column into page footer. Maybe, it will look like what i want.
Thanks & Regards -
I want to create a form that i can drop pictures in a certain place
i want to create a form that i can drop pictures into
Unfortunately Formscentral does not support drag and drop pictures into your form. If you want to form filler submit their images with other form data, you can use file attachment field. Add an file attachment field when design form, so that form filler can add their image file into it and submit with other form data.
Thanks,
Pengpeng Sun -
Using tables - wanting to create long table that runs from page to page
I want to create a table to which I can add rows as I work (alphabetizing). The final table will end up being 6-7 pages long. Inserting a page break did nothing--all rows below where the page break is still disappear and do not go onto the next page. This is a Word feature that I'm hoping I can have on appleworks. Does it exist?
I cannot put Word on this computer since I'm not running an OS high enough (I have 10.2.8)Cyndi:
Just wondering if you found your answer. I am having the same issue. I did finally figure out after several days of reading searches how to add pages to your table which is in >Format > document > then select the box for how many pages you want to go down or across in the box to the lower right corner. Then you can insert cells by highlighting the row by holding option key as you drag across the row & in Table click insert cells. Hope that helps. You can determine whether the table is horz. or vert. in > file > page set up. Click on the image of the page/man that displays the orientation that most closely fits your needs.
However, the problem that I'm continuing to have is that the >insert page break command does not appear to work in Tables. It remains greyed out no matter what I've tried. Short of trying some "tell" command that a fellow using 10.4. in Pages suggested. I'm in Appleworks 6 running on my iBook, as you are. I saw a reply from ms Peggy suggesting that there is some difficulty in getting that to work, and so far I would have to agree. Her idea was to add cells such that they would fall over the page break, which you can see using the >page view command in the Window drop down menu. But that would not be so neat with the lines running vertically from the top of page to the first box. I guess it could be squeezed down to the size of the "break". Is that all there is ?
iBook G4, 14, 933 MHz, Mac OS X (10.3.9) -
How to create a version that looks like the "quick preview" image?
Is there a way to easily create a version that is similar in appearance (mostly apparent as saturation)to what is seen when hitting the P key and viewing the "quick preview"? I shoot raw (Canon .cr2) and find that for many of my shots, the "quick preview" would be a nice starting point, and often a fine end-result, for saturation. Any hints welcomed. Thanks. Fred
Thanks for your comments and I certainly agree with your suggestions. I was hoping that there was something that I was overlooking that would essentially work like a "lift/stamp" and let me find settings that were embedded in the camera generated jpg. I know that you know your way around Aperture, so if you don't have a trick up your sleeve, I think it's probably not to be found.
-
I have created several short (3-5 minute) movies using iMovie 10.0.6 and Yosemite. I want to combine those short movies into one movie that I can loop and burn on a DVD or show in iMovie Theater. How can I do it? The movies are now shared to iTunes.
Another easy way to fix this.
What I've noticed is that upon upgrading your projects and events to work with iMovie 10, initially it will work... Until you quit iMovie and reopen it again. Any events with hashtags will show up without the star next to the iMovie event. SO, if you happen to read this, after upgrading to iMovie 10 from its predecessor, immediately change the event name to NOT include a hashtag/pound symbol.
Otherwise, if it's too late, you can either do the above or this...
Hold down option and click on iMovie. This will prompt you Locate, Create a New Library, Cancel this window, or Choose a different library. What you want to do is create a new library, call it whatever you want to, this will only be temporary. After the program opens, it should be a blank Library. Then go to File > Open Library > iMovie Library (your original library) and proceed to change the name of your events. Quit the program. Go into your Movies folder in Finder, delete the library you temporarily created, and your back in business. -
How to create a ring/listbox that behaves like a listbox in html?
Dear Sirs:
I have an arrays that represents people's names with associated values:
ID, Name
2, Sara
4, Marx
6, Jackson
9, Lisa
... and so on.
All I want to do is to populate a ring or listbox (btw, which one is the correct?) that displays only the names and tell me which is the value associated to the selected name by the user.
(That's pretty much the expected behaviour for those who are familiar with html).
An extra issue: How can I tell the ring/listbox which name to display as default?
Thank you so much!
Best regards,
Javier Mauricio
(Using Trial LabView)
PD: The enclosed VI shows that I have been only able to detect wich element number was selected (not
the ID).
Attachments:
test.vi 17 KBHello, Javier!
I'll do my best to answer your question.
Your sample VI was close. Since you can detect which element number was selected, the only thing that you need to do to display the value associated with the selected user name is to wire the element number to an Index Array function. Use the element number to select the correct row of the ID column. This gives you the value associated with the selected user name.
To tell the ring/listbox which name to display as default, you just set the Value property for the control to the value that you want as the default. You do this by creating a property node. Then select the Value property (by default, the Value property is set to read). Right-click the Value property in the property node and sel
ect Change to Write. Then you can wire your default value to it.
The attached VI shows how to do what you want to do.
Hope this helps.
Mark Ridgley
Attachments:
example.vi 33 KB -
I want to Create a Project that combines TWO VIs, is it possible?
Hi every one
I am working on a project that essentially is split into two part at the moment;
1. Data Acquisition - (In LabVIEW SignalExpress)
2. Data Manipulation
Now I want to combine them together so that they can work sequentially together at the same time (sequence being ACQUIRE DATA, then MANIPLUATE DATA).
Data Acquisition
I am reading two channels simultaneously. So SignalExpress (SE) is configured such that it ACQUIRES the data for (lets say) 2 seconds and then it WRITES this data as .lvm at a certain location.
Now because of the recording options available in SE (i.e. starting and stopping conditions met?) I have favored SE for data acquisition.
When I generate a LabVIEW code of this SE code, VI comes up fine, but I loose automatic control of "Stop Recording Data", i.e. user has to run the generated LabVIEW code, and the user has to MANUALLY start "Recording" and "Stop" it manually as well.
Question No1: How can I confugure the Data Acquisition VI directly in LabVIEW with the ability to ,
a) When user hits "Run", VI starts Acquiring the data simultaneously for specified time, and when that time has lapsed, automatically stops recoding it
b) The same VI also "Writes" the recorded data (specified time) at a specific location.
Data Manipulation
This VI does some data manipulation on already recoded data and is working fine.
Question: How can I best integrate the both parts of my project (Data Acquisition + Data Manipulation) in just the ONE VI, eliminating the need of having to acquire the data in SE and the manipulating it with LabVIEW?
I need help!
CheersWhat you are wanting to do is very easy. Check out the examples that ship with LV. You will find code for doing data acquisition, signal analysis and program architecture. You might also want to consider getting some good training to answer your basic question, or go through the getting started materials that ship with LV.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
I want to create an executable that installs the rte
Hi, I made a small program and want to use it on a computer that does not have labview or the rte installed.
How can I build the executable that will install the rte progamatically?
ThanksYou need to build an installer for the EXE. In the installer, include the RTE.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
I would like to create a form similar to a shopping bag where you can enter amount and unit price and it would grab the multiplied total, then it would add the sum of all in a totals section...
Sorry FormsCentral doesn't support calculations on online forms. You could achieve something like that with a PDF form (with the logic you need in it) and then import this PDF in FormsCentral.
If you use the PayPal integration with the online form then paypal will show the total.
Gen -
Is it possible to use Aperture to make a new jpg from two existing ones? I'd essentially like to create a photo collage (without using existing templates) that I can then print as a single image, rather than in a book. Any advice will be most welcome! Thanks.
https://discussions.apple.com/message/15678716#15678716
(Added)
The main point is that Aperture is used to make digital negatives as good as they can be (for the uses you define), but it does not ADD date to your digital negatives, nor does it produce NEW combination files. For those tasks you need a Graphics program.
Message was edited by: Kirby Krieger
Maybe you are looking for
-
How do I get more button sets for use in captivate?
Is there a good place to get buttons?
-
Will I lose everything if I make a new apple ID
I have been using my moms apple ID with her name and credit card and all her stuff because I was a kid with an Ipod and she liked to monitor what I was doing and downloading and stuff. Well now I am 18 and I am getting an Iphone. Im going to be payin
-
HELP ! After I upgraded my operating system on my mac, (from Snow Leopard (10.6 ? ) to Mountain Lion (10.8.2), virtually ALL of my documents (recipes, update logs, information of untold things), have been denied to me with my Microsoft Word for Mac
-
How can I find out the current platform type?
Hello, I want to find out the platform type (in the format of v$transportable_platform.platform_type) of a running Oracle instance (on 10g2 and 11g1). The v$transportable_platform shows a list of all supported platforms, and I want only the type that
-
Using Oracle Text with MS WORD
Hi, We have just installed Text and we want to use it for indexing hundreds of MS WORD documents that are in the same directory. But I could not find a document / example about indexing/filtering Word Documents. I will be grateful iy you can help me