Welcome to the RareWire Community Board. Use the field below to add your own contribution or find answers in existing topics. 
0

Download of non-existent URL?

cahoots 11 jaar geleden bijgewerkt door icahill (Administrator) 11 jaar geleden 2
0

Platform tag not working?

cahoots 11 jaar geleden bijgewerkt door icahill (Administrator) 11 jaar geleden 2
0

Supported audio formats?

cahoots 11 jaar geleden bijgewerkt door icahill (Administrator) 11 jaar geleden 1
+1
Beantwoord

stop sound action when user scroll / swipe away from a page

paololuk 12 jaar geleden bijgewerkt door icahill (Administrator) 12 jaar geleden 6
I have this code. I want to stop the sound when the user scrolls away from the first page. Maybe the action soundstop doesn't target the right sound. I dont know...
Thanks

<!-- main wire hierarchy -->

<!-- intro -->
<action name="initialize" oninit="yes" >
<play action="sound1" />
</action>
<action name="sound1">
<sound action="play" source="other/arpa" type="mp3" />
</action>
<action name="soundstop">
<sound action="stop" source="other/arpa" type="mp3" />
</action>
<action name="stopsound">
<play action="soundstop"/>
</action>

<!-- carica pdf -->
<pdf name="vitadigesu" source="graphics/vitadigesu_ver4_retina_vettori.pdf" height="100%" width="100%" spreads="no" covertile="yes" tile="yes">

<!-- pannelli link - credits - aiuto - testi -->
<panel name="sound_arpa" alias="SOUND_ARPA" clip="yes" width="100%" height="100%" alpha="1" onpage="1" onscrollaway="stopsound"> </panel>
+1
Not a bug

Object variables and images. How can I do?

paololuk 12 jaar geleden bijgewerkt 12 jaar geleden 1
Object variables and images. How can I do?
I have this code:



<panel name="panel1_3" width="50" height="50" xpos="36" ypos="90" onpage="3" onclick="testo" clicktarget="IMGVIEWER" _image="graphics/testi/annunciazione.png"> </panel>
<panel name="panel1_4" width="50" height="50" xpos="36" ypos="90" onpage="4" onclick="testo" clicktarget="IMGVIEWER" _image="graphics/testi/nascita.png"> </panel>
<panel name="panel1_5" width="50" height="50" xpos="36" ypos="90" onpage="5" onclick="testo" clicktarget="IMGVIEWER" _image="graphics/testi/magi.png"> </panel>

<platform device="ipad">
<panel name="ImgViewer" alias="IMGVIEWER" width="1024" height="768" align="center" valign="center" alpha="0">
<panel name="canvas" width="1024" height="768" align="center" valign="center" background="#cc9966" alpha=".7"></panel>
<image name="testo" source="_image" alias="TESTO" width="1000" height="750" controls="yes" align="center" valign="center"></image>
<image name="close" source="close.png" align="right" valign="top" onclick="testoStop" width="50" height="50"></image>
</panel>
</platform>

<action name="testo">
<alpha value="1" time=".25"/>
<alpha value="0" time=".25" target="VBUTTON"/>
<platform device="ipad">
<reveal type="curldown" time="1" delay="0" />
</platform>
<load source="_image" target="VID" />
</action>

<action name="testoStop">
<videocontrol type="stop" file="_file" target="VID" />
<platform device="ipad">
<reveal type="curlup" time="1" target="IMGVIEWER" />
</platform>
<alpha value="0" time="0" target="IMGVIEWER" />
<alpha value="1" time=".25" target="VBUTTON"/>
</action>



Practically there are some pages and on every pages there is a link that load an image on a canvas like in the "Add Media Content Tutorial" with the "reveal effect" and a "close button"

Why doesn't work?

Thanks :)
+1

What can you teach me about APIs, POSTing, headers, and the like?

thillsman 12 jaar geleden bijgewerkt door John Heryer 12 jaar geleden 1
Ok, so I'm diving into the awesomeness that is PHP and APIs and such, and I've recently built a app that (among other things), passes values to a php file which stores the values in a SQL database through GET parameters in a URL (like http://domain.com/adduserdata.php?name=[var:name]&email=[var:email] )

It's pretty slick. (I create a tiny invisible web tag and navigate to this URL, where the php script takes the parameters and inserts them into a SQL database.) However, I'm thinking of more and more uses for it and I'm starting to think about security. What are the implications here? I'm sure I shouldn't pass a raw password via URL parameter, but is passing an encoded password ok?

Also, is there a better way to do this? (Meaning, should I use a datasource tag instead of a hidden web tag?) Can I use something like the postFile attribute or a httpheader? Will modifying the httpmethod attribute help me? I don't have a particular use case in mind, I'm just asking to beef up my knowledge of this little corner of WIRE and open up some more doors.
+1
Under review

tableview tutorials? Issues with scrolling and sizing

sovtek 12 jaar geleden bijgewerkt door icahill (Administrator) 12 jaar geleden 29
Any robust samples with tableview utilized as a pager? I'm using tableview just like you normally would have a pdf pager, but I'm having some sizing issues, back scrolling issues, and scroll orientation issues.

Can rowheight be defined for landscape and portrait view as diff values?
+1

Wifi connected devices

Lcdrgreg 12 jaar geleden bijgewerkt door icahill (Administrator) 12 jaar geleden 1
How can I use wire to connect to and control wifi connected devices such as in a home automation app? like an ip connected camera for example...
+1

Ever have an issue with oninit action loading more than once?

sovtek 12 jaar geleden bijgewerkt door icahill (Administrator) 12 jaar geleden 5
<!-- On Init Action -->

This simple code will load an alert message 3x's on load within my app.
Anything you can tell me that would be causing it to do this?
+1

Create Tag Help

Gruckman 12 jaar geleden bijgewerkt door icahill (Administrator) 12 jaar geleden 3
How do you make a create action that will make a panel every time it is pressed?
I want to make a button that will create a new panel every time it is pressed that has new attributes. Each panel needs to have its own actions as well.
+1
Beantwoord

How to get images to display in the correct size on rotate

Richard Lindley 12 jaar geleden bijgewerkt door icahill (Administrator) 12 jaar geleden 11
How do I get an image or panel to re-assess it's width or height on rotate?

Consider this:


<panel name="button1" width="100%" height="40%">
<image name="pic1" source="beforeyouvisit.png" width="100%" height="100%" lwidth="100%" lheight="100%" widesource="beforeyouvisit_wide.png" contain="yes" clip="no" align="center" valign="center"></image>
</panel>


If I start in portrait mode, the image displays properly. If I then rotate the device, the correct image is shown (_wide) but the image dimensions remain the same as in portrait, so the image is squaushed.

How do I get the images to display in the proper dimensions?
+1

What tags should I use to make a user manipulated UI?

Gruckman 12 jaar geleden bijgewerkt 12 jaar geleden 4
I'm a new coder. I am trying to make a app with multiple text fields that can be reconfigured by the user and saved as a template. What tags do I need to use to do something like this?
+1
Voltooid

Apple SandBox Alert Error

icahill (Administrator) 12 jaar geleden 0
Today Apple made some changes to their Sandbox Environment that caused a glitch alert.

See this stackoverflow topic: http://stackoverflow.com/questions/15...

To Fix this, you need to on your device:

1) Go to Settings->App store, and log out of your itunes account.
2) Reboot
3) Go back to Settings->App store, and log in
4) Problem solved.

Hopefully Apple will resolve this bug soon.
+1
Beantwoord

Apple local simulator

sovtek 12 jaar geleden bijgewerkt door icahill (Administrator) 12 jaar geleden 1
Is there any way to use the apple ipad simulator to view fusebox? I saw this in the vids. This would speed up early app production quit a bit.
+2

XML feed issues - image datasource

megawombat 12 jaar geleden bijgewerkt 12 jaar geleden 17
Hi,

I have taken the RSS Reader Demo example from RareWire and want to get it working with a Google product feed. This feed has individual ITEM containers, but separate g:image_link containers within each ITEM for the image URLs.

I cannot get the image to work for some reason.

I am defining one datasource:

datasource name="rsstest" source="http://www.mydomain.com/myfeed.xml" providertype="xml" parsenamespaces="yes" query="//item"

Then in the panel body I have:

image name="background" alias="BACKGROUND" width="100%" height="100%" background="#000000" datasource="rsstest" datasourcemapping="//*[name()='g:image_link']"

Is this not correct?

I just want the image to change as the user moves left and right.

Any help appreciated, thanks. Good product btw.
+1
Beantwoord

Can we simulate the iphone testing with an ipad in fusebox?

Camilo 12 jaar geleden bijgewerkt door icahill (Administrator) 12 jaar geleden 1
Can we simulate the all iphone dimensions with an ipad? In other words, I have an Ipad 1 to test. However, the app that I am building is for iphone only right now.

I thought about putting a style around the container but then iphone 3, 4 and 5 has different pixel resolutions.
+1
Beantwoord

Passing vars

Lcdrgreg 12 jaar geleden bijgewerkt 12 jaar geleden 2
we are creating a game within an app to determine if people lived or died in Quantrills raid...

I have put the images in a pager.
I have assigned pagenumber vars, ie _pagenum="1"
how do I pass that pagenumber to the action for the select buttons for survived or perished? In this case its a set of buttons at the bottom. tombstone, bday cake.

I also want to keep track of the number of correct responses with a running tally.

thanks
+1

How do you dynamically change a video that is playing using the action tag?

kevinbridges 12 jaar geleden bijgewerkt door icahill (Administrator) 12 jaar geleden 3
I've got an app that checks weather conditions (using Yahoo weather RSS feed) for a user entered zip code (or WOEID). Everything works great, but when I send a new video file request to the tag in my code, it just keeps playing the original video that I sen it. Do I have to do anything special to stop or unload the old video before the new one will play?

Here's the and sample code:

... (first time through, I play this video, and it appears just fine)

... (second time through, I try to play this video, but the original just keeps playing)