Search found 37 matches

by unclewayne
Thu Jul 14, 2011 5:06 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

What about adding a sound to it?
this is not working:
if (total_points >= 5) AND (total_points mod 5 = 0) then
set the ICON of btn "facts" to ANY line of fld "iDlist"
play (specialfolderpath("engine") & "/sounds/buzz2.mp3")
end if
by unclewayne
Thu Jul 14, 2011 4:27 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

never mind the last post.
I fixed it. Thank you so much for all your help.

Now i am onto keeping the score in a database...
by unclewayne
Thu Jul 14, 2011 4:09 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

Two last issues: The only way it works is if i have it set the button "facts" to visible. how would i have it set to invisible for the first 5? I can alway fake it by putting a slice of the background as the icon for the first 5. Also it is only switching on the numbers that have 5 in it (5, 15, 25,...
by unclewayne
Thu Jul 14, 2011 3:41 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

Nope. :( This is what I have on the slider script: -- Down on constrainRectangularInit end constrainRectangularInit -- Up on constrainRectangularExit move image "sliderKnob" to 124,177 in 300 milliseconds set the blendLevel of field "unlockText" to distance(the location of graphic "startLine", the l...
by unclewayne
Thu Jul 14, 2011 1:09 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

When i say attached i mean on the object script. This is all that is attached to the score field: if (total_points >= 5) AND (total_points mod 5 = 0) then set the ICON of btn "facts" to ANY line of fld "iDlist" end if This is attached to the object that is causing the score to go up: -- Down on cons...
by unclewayne
Thu Jul 14, 2011 12:43 am
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

I did have them listed. still not working? does everything else look right? Let me completely simplify it. I have only 4 images now Image Names= 1, 2, 3, 4 Image Id's= 8000, 8001, 8002, 8003 I have a hidden button called "facts" I have a field called "score" that displays a score. I have a blank hid...
by unclewayne
Wed Jul 13, 2011 11:38 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

Let me completely simplify it. I have only 4 images now Image Names= 1, 2, 3, 4 Image Id's= 8000, 8001, 8002, 8003 I have a hidden button called "facts" I have a field called "score" that displays a score. I have a blank hidden field called "iDlist". Within "iDlist" in the inspector I have "8000, 80...
by unclewayne
Wed Jul 13, 2011 7:40 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

I owe you big when this is all done!!!

I have the script attached to my score field. I have all of my images in set to id 1-30 and set to invisible. i have a field named "tIDList". How do i list the id's on the tIDList's object inspector?
by unclewayne
Wed Jul 13, 2011 5:54 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

Sorry. I have to learn to be more clear.

Where do i make the list?

SO now i have a button at 150, 180 where do i list the IDs of my images? "list_with_image_IDs"
by unclewayne
Wed Jul 13, 2011 5:16 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

I am 98% with you. I have a field called "score" holding the points.

This is what is tripping me up:
This needs some preparation: a list of the IDs of your images, preferrably CR delimited, ONE id per line!
how do i make the list?
by unclewayne
Wed Jul 13, 2011 4:51 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

Sorry, I am making it more complicated than it need to be. I added this to the card script. Here it is broken down: I have 30 images (1-30.jpg) set at the same spot (150,180). they are all set to not visible on the card. When the score hits a multiple of 5 i would like it to randomly display 1 of th...
by unclewayne
Wed Jul 13, 2011 3:18 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

this is where I left off yesterday:

If field "score" =(x)5 then
place random 150, 180 (1.jpg, 2.jpg, 3.jpg, 4.jpg, 5.jpg)
end if
by unclewayne
Tue Jul 12, 2011 8:36 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

I am still really lost. I tried all the tricks i had and nothing is working.
by unclewayne
Tue Jul 12, 2011 3:26 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

So i have:
1.jpg
2.jpg
3.jpg
4.jpg
Up to 30.jpg

I want nothing to show up for the first 5 points than at 5 it would randomly pick one of my jpg's, then at every 5 points it would randomly pick another of the jpg's to appear and stay up for the next 5 points.
by unclewayne
Mon Jul 11, 2011 8:14 pm
Forum: iOS Deployment
Topic: Random Pop-Ups
Replies: 33
Views: 15904

Re: Random Pop-Ups

How to show a random pop up every 5 points.
I have them in the locations they should be in and set the visible off.

Go to advanced search