Flash buttons and xml
Hi...I am looking to an xml file to generate a simple text
link in my movie
that will load flv's. I don't want to load the links into a
component. I
just need simple link text buttons that change color on
rollover and act
like normal link buttons. Right now it loads into a list box
and I don't
like the default rollover stuff that can't be changed with
setstlye. Most
notable the box that appears and highlights around the
rollover choice. Can
anyone direct me in the right area toward a tut or something?
Not much help
on searches.
Thanks
if you already have a fla that loads an xml file and assigns
links, you don't need to start over. just find the code that parses
the xml file. use some trace() functions to see what's being loaded
and assign mouse handlers to your buttons instead of to your list
component.
Similar Messages
-
Flash buttons and slideshow don't show [was: Please help]
hello all and thanks in advance
ive made my site using dw cs3 and all works perfectly on my hdd when i preveiw in i.e or firefox ,however when i upload the site to my server (justhost)
the flash buttons and slideshow do not apear ! dont know what i can do to reslove this so any ideas would be great and thanks again for reading
regards martin
[Subject line edited by moderator to indicate what the question is about]hi again and thanks so much
the file was there but the script folder it was located in was using a capital letter to start ...doh
again thank you so much
regards martin -
Problems with Captivate Redirects, possibly Flash Security and XML
Hello fellow Captivarians,
First a little backstory, earlier in the year we developed a course that heavily used external image files, which were gathered and organised through an XML file, then placed into Captivate 4 through a widget. This was all developed in Actionscript 3 and was designed to be accessed locally, on the user's computer from a CD Drive.
We had a whole deal of issues with Captivate and Flash security issues, finding that we could not get the importing to work correctly in Internet Explorer as it outright refused to import the XML file (Presumably because of security issues). However, Firefox would work fine. Eventually we got it working via a bandaid solution by prepackaging the course with a firefox portable install.
Now many months later, we have discovered our previous solution still works, but it now outright denies any redirects from HTML page to HTML page, regardless if the content is on the CD or if it's on the harddrive. Buttons that link to external sources will not work, (even if it's just a local page in the same directory).Flash player simply refuses to redirect between HTML pages. We tried some older projects that were developed in AS2 - and this wasn't an issue.
The odd thing is however, on my computer it still works fine. However, on everyone elses in our office, it will not redirect at all. We are all running the same version of Flash Player, and the same version of Firefox...
Any ideas? Could it have been a recent update with the Flash Player that prevents this sort of interaction?
Cheers.Hi there
Have you tried configuring the Flash Security Settings? That's my guess.
Click here for a tutorial on how to configure
If this will be on CD-ROM or DVD, you may need to consider adding a light version of a Web Server to the media and launching via that.
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Hello all,
I've been having a bit of a hard time understanding how to get a button which I have created in Flash to navigate to the next slide of the PowerPoint presentation which it has been added into. I'm fairly new to Flash, so I believe that this is slightly out of my natural skill range, so hopefully someone will be able to help.
I understand that I somehow need to make use of fscommand in ActionScript, but I'm not sure how I can get Flash and PowerPoint to communicate between themselves. If anyone could write a walkthrough on how to do this, I would be bery grateful.
I'm using Flash MX 2004 7.0 and Powerpoint 2003.
ThanksHi. Why not to make the whole presentation in FLASH? What you have to do is to import all the slides inside FLASH. Then place one by one in the stills and then create the code to make the stills advance and show the slides by means of the button. The code for the button goes as follows:
on (release) {
nextFrame();
to introduce this code make sure you press the button and no the frame.
Then in order to make the presentation open and cover the screen, no matter how big it is, you need to enter the following code in the first frame:
stop();
fscommand ("showmenu",false);
fscommand ("fullscreen", true);
You will need also a button to quit the aplication. This is the code:
on (release) {
stop();
fscommand ("quit");
Now write all of this in your application and let me know your experience. MamenFLASH$ -
Check boxes, Radio Buttons, and XML Field Order
I am working with Adobe Designer Version 7.0. Hopefully this forum can still address my issues.
I am creating a registration form that will often be submitted via email to us for processing. To help make the data both easy to transfer for us into our excel file and to minimize the errors made by the people using the form, I need the form to be able to do a couple of things that I am having a hard time figuring out. My questions are the following:
I have a list of 7 check boxes that each insert a dollar value into a seperate numeric field on the form. Each check box has a unique dollar value associated with it. Is there any way to design the form so the user can only choose one of the check boxes? I tried using radio buttons in a group, but if a user mistakenly chose the wrong radio button and then selected another button from that group, it would add to the total in the Application Fee field and not subtract out the previous amount. Below is the code i used for one of the check boxes.
I have two numeric fields that the user must choose one or the other. Can I design those two fields (numHomes and numBuildings) so that if the you enter a value for one field, you cannot enter a value for the other field? Both fields are then calcuated in a seperate numeric field. Below is the code i used for the numeric field.
I want to be able to take the data emailed to us as an XML file when a user submits the results via email and directly paste it into our Excel file. To keep the cut and paste process simple, I want to make sure the order of the XML fields matches the order of the database fields so it can be done in one shot. Do you know how to organize the XML fields? They do not seem to correspond to the ordering found under the Hierarchy tab. Any thoughts on this?
Thanks
if (this.rawValue == 1) then
numAppFee.rawValue = numAppFee.rawValue + 350;
else
numAppFee.rawValue = numAppFee.rawValue - 350;
endif
numHomes * 50 + numBuildings * 100 + numDups * 10Create an XML Schema (XSD) and define that as the default form schema. The form data will conforms to the order of fields defined in the XML schema.
Hope that helps.
Nith -
Gray frame around flash buttons and more...
Hi,
1.I've used flash buttons in my home page,the problem is
that when u view the page with explorer u see a gray frame around
the buttons...
It is so ugly...some one knows how to fix it without using
the code?
2. Another problem, the behevior "show pop up menu" is not
valid,
i've used it before on that page....
i tried everything... i saved it ,linked it...
i dont know what is the problem...
thank you....if you can help
RacheliI'm experiencing the same problems with my flash buttons. As
you hover over them initially, a gray border surrounds them and an
alt tag pops up that says "click here to activate this control."
This confuses some of the visitors, becuase they perceive this as
if the buttons do not work. I suspect it may be a browser specific
problem...are there any quick fixes for this? Thanks for the help.
--Daniel Serna
Knight Aerospace Products, Inc. -
Flash buttons and History.back
Hi all
I am using a flash button created in DW studio 8.
But want to use the javascript:history.back() for the link.
I put in the link textfield javascript:history.back()
But that don't work how can i fix that please?
Thanks for all that can help me
HugoI wouldn't recommend the use of Flash buttons period.
They cannot be spidered.
They do not appear when the visitor doesn't have Flash
plugin.
They are not usable by screen assistive devices.
They have link and path problems after they have been
inserted on your page.
Your best bet is to forget they exist and use an ordinary
text or graphic
link.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"wwcbe" <[email protected]> wrote in message
news:ef2uo7$732$[email protected]..
> Hi all
> I am using a flash button created in DW studio 8.
> But want to use the javascript:history.back() for the
link.
> I put in the link textfield javascript:history.back()
> But that don't work how can i fix that please?
>
> Thanks for all that can help me
>
> Hugo
> -
When I first built www.tutsheaven.com, I used Dreamweaver and
Flash buttons. Everything has worked fine until IE7 came out. Now,
you need to double click on the buttons to navigate to the next
page. Is there a fix for this problem, or do I need to change all
of the buttons on this and some other sites?
Bob Tuttle
707-322-4959
[email protected]update dreamweaver 8 to 8.02, or get dreamweaver cs3.
-
Hello Flashers-
I bought a flash button template to play an audio file on a
website I'm working on. Now that I have bought the button, how do I
get it to play the audio file I want?
Here is the button set I bought:
Flash button
template
I appreciate any help I can get. Thanks.the audio file is an mp3 file. i am trying to put a flash
'play' button on our html site for a 30 second preview for a song.
if i can just embed the audio in a swf, then that would be awesome,
but i'm not sure how to do that. i'm also not familiar with loading
it externally, so either way i'm ill-equipped to make this work. i
assume if it is an external file then it needs to be loaded.
i appreciate any info you can share. -
Flash Components and XML Binding
I just ran through the XML binding Bike Trails tutorial about
a hundred times. I can get that to work just fine. But when I try
to work with my XML file, it keeps falling apart. I just don't get
it! I've been working on it for 2 days and it's still not working
right.
For one, the bindings are not showing up right. I have 2
combo boxes and then a final one I'd like to use to list the
stores. Here's a link to basically what I'm trying to do:
http://www.thinkseed.com/test/stores.html
My bindings keep falling apart. I get null values all the
time for the second drop box that's supposed to house the States
(the one on the site is a fluke...I accidentally had the
<store> node on a separate line instead of nested in the
<state> node. No idea why that one sort of worked.)
Here's an example of the XML code:The flashComponents are standard AS2 components, and you can look up their APIs in the Flash documentation. Here is the button docs:
http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001977.html#3654189
Looking at that, there is a getStyle() method, and I just tested it out:
put sprite(1).getStyle("borderStyle")
-- "inset"
put sprite(1).getStyle("fontFamily")
-- "_sans"
put sprite(1).getStyle("color")
-- 734012.0000
I'm not real sure what that means (probably the hex color converted to a float), but you can change the color like this:
sprite(1).setStyle("color","red")
And here is a page that lists all the styles that are defined:
http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001973.html#3136306 -
Hi,
I'm using Flash CS4,i'm having problems creating a xml file to work
with the action script for a 3D carousel. I've created folder for
the image png file and icons xml using a normal notepad in windows
for file to work with the flash action script 2.0, but in output menu the msg says
Error opening URL 'file:///C|/Users/User/Documents/caroselFile/icons.xml'.
They're no compiler errors. Should the notepad be xml editor? I have been
told i can use a normal notepad.
Maybe i should of saved it in the fla directry but don't know where
it is.
Thanks Larell<icons>
<icon image="icon1.png" tooltip="" />
<icon image="icon2.png" tooltip="" />
<icon image="icon3.png" tooltip="" />
<icon image="icon4.png" tooltip="" />
</icons>
Message was edited by: larellG -
Using a Flash button and rollover captions simultaneously
Hi,
I have a button that I created in Flash. When hovered over, the button turns a different color. I'd like to use this button simultaneously with the rollover caption feature in Captivate, but it looks like I can only get one or the other to work, depending which is stacked on top.
Anyone have any workaround ideas, besides creating each button individually in Flash and adding the text in the hover state?
I'm using CP6.
Thanks!Hi there
Why use Flash just to create a button rollover? Captivate offers Image buttons where you specify up to three images used for rollovers. And with the Captivate button you could enable the Hint caption to provide the rollover you are seeking.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Flash Buttons and UI Components need double click to work. Any Solution?
Hi,
I have just finished making an application for Kiosk in Flash. However while testing I noticed that the buttons I used and UI components like textfield, textarea, radiobuttons, etc need to be touched twice to make them function. Can anyone tell why this happens and how to solve this issue? Its very frustrating for a user to keep clicking on the component to make it active first and then make it work.
Note: Is it like Flash UI components need time to get active on screen and then they function?
Thanks in advance.Thanks for the reply ReshapeMedia.
What I want to say is I have a Flash exe file which contains feedback form for customers. This exe is displayed on Kiosk where user can interact with it using touch screen. The problem here is - when user touches (clicks) on the input field on screen or selects a radio button, it takes him several attempts to do so. In other words, user keeps on touching and tapping to activate the input field first and then somehow it gets activated and after multiple touches it allows them to enter the data/ radio button is selected and other buttons functions.
This obviously adds to users frustration.
This application is not loaded in IE so there is no browseer involved here.
You mentioned a script trigger a mouse click. What is that? (I have addEventListener on my buttons already) Kindly explain a bit. Thanks a lot. -
Hi,
I have been working on a flash app to provide users with an
FAQ area for a program I look after. I have all the faq solutions
in individual txt files which flash pulls in once the user has
selected a question which relates to their issue. The problem I am
having some of the text files use characters such as ' and %. When
looking at these files that flash pulls in half the text after
these characters is either missing or joined up without a space.
The dynamic text field has been set to render text as HTML
and I thought I would allow some basic html tags within the text
file, so I tried using the HTML number or name to reference the
correct character I need such as ' for ' and % for
%. Again these just made the rest of text after them disappear.
Can anyone help shed some light on a different way, or what
the capability of this method actually is? I was thinking XML but
I'm need very familiar with it and think I need some flash
communication software to work. Not sure if this is true if not
then maybe XML could work but will need some direction on how to
get started.
Many thanks for your time I'd appreciate any help I
receive.Hi me again,
I have been looking into XML and have got something very
basic working. I was wondering if there was a way to have all of my
faq solutions in an xml file (solutions.xml) each separated with an
element tag relating to the question. See attached code. The issue
is how to I get just the text for say installation when the user
selected the question relating to it.
I have a combo box showing all the questions so for example
'How to I install flash MX?' the data part would be
data:"installation". In the xml file the element tage would be
<installation>Insert the CD into your CD-Drive and follow the
onscreen instructions.</installation>. This would be the only
text I would want to be displayed in the answer_txt dynamic text
field.
I hope I have explained this enough and would really
appreciate some help. -
Flash Buttons and a nested movie clip
I have made my movie clip and now I want to nest it into a
button. I am not sure what code I need to use for this and how to
nest it. I want, when a person rolls over the button for the movie
clip to run. When they roll off of the button the movie clip stops.
When they click on the button it takes them to a link. If anyone
can please help me with this, I would SO greatly apprecaite it.
Thank You ahead of time.Thank You SOOOO Much for replying to this. I can't tell you
how much I appreciate your help.
I just assumed that was the only way I could do it, (nest
it.) So, my MC is called jiggle.
So everywhere you have the my_mc. Should I replace it with
jiggle.onRollOver etc....?
ALso you say to attach the code to the action layer in the
frame the MC appears, not in the MC itself.
So, in the timeline that I have my MC , I have an actions
layer. Do I not want an actions layer there? Should I just save the
timeline with my MC and then cut and paste it into another timeline
that has the actions layer?
I actually have 5 of these MC.that all need to do the same
thing, they are each for a different button.
Maybe you are looking for
-
Hi, I have just got a brand new 23' Apple Cinema display working with me new mac pro. About two days in to it's use the top half of the screen has started to flicker at random times and for no set time. I have got all the power cables as far away as
-
Multiple ALV Objects in one Report
I have multiple ALV ojbects in one ABAP report (one a grid, and one a tree). When selecting the choose display layout for either object - it returns the layouts for BOTH objects. Is there any way of limiting this to only return the layouts for the
-
Hi All, we want to use serials numbers for Wm managed materials.means we are planning to add on feildin TR and TO table also in Quant table .so when we doppicking we want to issue the right serial number to the customer. so please advice the advanga
-
Hi, During the upgrade from 4.6B to ECC 5.0, we are facing the following problem: In 4.6B, when we move the contents of one internal table to another ( itabA[] = itabB[] ), its happening properly, even though the structure of both the internal tables
-
Problem creating Refresh Group
Hi there, I try to create a refresh group, but I always get an Error Message: ORA-01858: a non-numeric character found where a digit was expected This is my code for creating the refresh group: BEGIN DBMS_REFRESH.make('refgroup1', 'mv_history', 'mv_s