Send variable to HTML help
Hi,
I need to tell my HTML page to hide a DIV once a button in my
flash movie has been clicked. I need to do this once without page
refresh.
I already have FlashVars going from my page to my movie but I
also need to return vars to my page. Is this possible?
Thanks for reading
See the ExternalInterface class in the Help - should be what
you're looking
for.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
Similar Messages
-
Need help sending variables from HTML to SWF...
I have a header with tab buttons--- When you are on a certain
page the coorisponding tab is a different color(as a locator).
Right now I have like, 7 or 8 different headers that are the
same thing minus the colored tab of the current page.
Is there a way to code the flash so that I only need one
header, but still keep the off-colored buttons when on the
coorisponding page?
Apparently, from what I have gathered I need to Send a
variable to the SWF from the embedding HTML using FlashVars or
SWFObjects' 'addVariable' method etc so the SWF knows which
tab/color to use.
But, I have no ideal where to start...uugggggg.
Any Suggestions????
I really, really need to figure this out.
Thanks in advance,
hutchthe easiest way to pass vars to the flash is by appending
them to the url of the flash:
e.g your swiff is called "mymovie.swf" and you want a
parameter "color" to be available on the _root level of your movie,
so all you have to do is embed the flash with the following url
into your html page:
"mymovie.swf?color=black"
now back in flash you can get the value of "color" like this:
in _root timeline:
color
in any other timeline:
_root.color
the value will be filled once the movie is called from within
the HTML as explained above -
So I have the below sql job that is send me the information but in a non readable format. I would like to make this an HTML email. Can you please help me.
I have try to reproduce http://www.wikihow.com/Send-a-Scheduled-HTML-Report-Directly-from-SQL-Server, but keep getting errors.
declare @query nvarchar(max)
set @query=
'use fascinhq select * from store where ID not in (
Select distinct ws.StoreID from worksheet as w
JOIN worksheetstore ws on w.id = ws.worksheetid
WHERE w.style = ''401'' and w.fromdate >= dateadd(hh, -6, GETDATE())
and w.Status in (3,4,7) )
and ID <> 4 '
EXEC msdb.dbo.sp_send_dbmail
@profile_name= 'MyMailProfile',
@recipients= '(My Email)',
@subject='RMSGP',
@query= @query
Thank you for the Help.
BrianYes you can, its very easy, just add (For XML Auto) :
set @query=
'use fascinhq select * from store where ID not in (
Select distinct ws.StoreID from worksheet as w
JOIN worksheetstore ws on w.id = ws.worksheetid
WHERE w.style = ''401'' and w.fromdate >= dateadd(hh, -6, GETDATE())
and w.Status in (3,4,7) )
and ID <> 4 '
For XML Auto
EXEC msdb.dbo.sp_send_dbmail
@profile_name= 'MyMailProfile',
@recipients= '(My Email)',
@subject='RMSGP',
@query= @query -
HELP!!!!! Sending variables
I am trying to send variables from a flash form. No trouble
for the normal form variables that sit at the root level, I press
my submit button (which is also on the root level), and they all
get sent fine. However, the variables that are inside a movie clip,
are not sent (they are in a movie clip as I have made a drop-down
menu for a multiple choice form question). This is the problem. Can
anyone please save the day and tell me how to send these variables
when I press submit?what code are you using to send your variables?
-
Sending emails with HTML or not?
I am developing an application which will send 1000's of emails and I'm debating on whether or not to send html in the email. I have two questions:
1. Do most email clients support html? Most of the recipients of the emails will be AOL, hotmail/msn, or yahoo clients. Are there any stats on how many people are running clients that don't support html?
2. The emails I send require an embedded image. Can I send an email with an image and it not be a html email? If so, how? A multipart email? If anybody has an example that would be great!
I'd prefer to not use HTML if possible.
Thanks,
JEBHere is a simplified version of the code. I've left out simple variable declarations, methods, and try-catch blocks but they are obivious...
// AQUIRE THE JAVAMAIL SESSION OBJECT
Properties props = new Properties();
props.put("mail.smtp.host", smtpHost);
Session session = Session.getInstance(props, null);
// PREPARE THE MULTIPART MESSAGE
Message message = new MimeMessage(session);
message.setFrom(new InternetAddress(from, personal));
if (bcc != null)
message.setRecipient(Message.RecipientType.BCC, new InternetAddress(bcc));
message.setSubject(subject);
MimeMultipart multipart = new MimeMultipart("alternative");
BodyPart bodyPartText = new MimeBodyPart();
BodyPart bodyPartHtml = new MimeBodyPart();
BodyPart bodyPartImage = new MimeBodyPart();
bodyPartImage.setDisposition(Part.INLINE);
FileDataSource fds = new FileDataSource(photo);
bodyPartImage.setFileName(fds.getName());
bodyPartImage.setDataHandler(new DataHandler(fds));
bodyPartImage.setHeader("Content-ID", "23abc@pc27");
message.setRecipient(Message.RecipientType.TO, new InternetAddress(to));
// THESE METHODS JUST RETURN TEXT OR HTML, RESPECTIVELY
String htmlContent = createHtmlContent();
String textContent = createTextContent();
// SEND A HTML AND TEXT ALTERNATIVE EMAIL FOR THOSE WHO DON'T SUPPORT HTML
bodyPartText.setContent(textContent, "text/plain");
bodyPartHtml.setContent(htmlContent, "text/html");
multipart.addBodyPart(bodyPartHtml ,0);
multipart.addBodyPart(bodyPartImage, 1);
multipart.addBodyPart(bodyPartText, 2);
message.setContent(multipart);
// SEND THE MAIL MESSAGE
Transport.send(message);Hope this helps,
JEB -
Send data from html to flash action script
Hi,
I would like my flash to act differently depending on what
html page it is on. Can I send information from html code to action
script?Hi,
Yes you can, by using FLASHVARS. Refer the attached code for
example. Also you can use Javascript setVariable method of Flash
object to set values in between i.e. after the page has loaded, as
in case of FLASHVARS these are sent to flash just at the begining
i.e. once SWF loads. In the attached exmple i've sent 2 variables
to Flash one is 'username' and other is 'userId', thse will be
fetched inside flash movie as _root.username and _root.userId.
Note: I've added flashvars as PARAM and also as an attribute
for EMBED tag (used by Mozilla, NS etc)
Hope this helps.
Thanks,
Sumeet -
Send message in HTML format from Service Desk
Dear All,
I have configure Service Desk in Solution Manager 7 EHP1 (ABAP+JAVA Stack).
I am able to send the message to end user in case of change status from "New" to "In process" in PDF or TEXT format.
I want to send same in HTML with link just like SAP Support message we are getting in our inbox.
How to do that?
Thanks in advance,
NiravHello Nirav,
Its not that easy, take a look a this excellent blog /people/riccardo.escher/blog/2009/10/09/pep-up-your-charm--part-3-turn-cinderella-pdf-mails-into-prettyusefull-ones
Hope that helps,
Federico -
Send Email in HTML Format with Javamail.
GOD BE BLESSED!
Hello dudes,
i create a jsp page let me send emails from a database using the API Javamail.
But these emails when i send then, goes in text format only, and i want to send emails in HTML format too. Anyone can help me?
I think the Javamail API can send in HTML format.
thanks and sorry, my english is basic but i think you understand. ;)
Adler MedradoI was trying to do the same thing...I found this on the java.sun.com website somewhere. Hope it works out for you.
try {
String host = "";
String from = "";
String to = "";
String fileAttachment = fileName;
// Get system properties
Properties props = new Properties();
// Setup mail server
props.put("mail.smtp.host", host);
// Get session
Session session1 =
Session.getInstance(props, null);
// Define message
MimeMessage message =
new MimeMessage(session1);
message.setFrom(
new InternetAddress(from));
message.addRecipient(
Message.RecipientType.TO,
new InternetAddress(to));
message.setSubject("");
// create the message part
MimeBodyPart messageBodyPart =
new MimeBodyPart();
//fill message
messageBodyPart.setText("");
Multipart multipart = new MimeMultipart();
multipart.addBodyPart(messageBodyPart);
// Part two is attachment
messageBodyPart = new MimeBodyPart();
DataSource source =
new FileDataSource(fileAttachment);
messageBodyPart.setDataHandler(
new DataHandler(source));
messageBodyPart.setFileName(fileAttachment);
multipart.addBodyPart(messageBodyPart);
// Put parts in message
message.setContent(multipart);
// Send the message
Transport.send( message );
}catch (Exception e){
System.err.print("Mailing error:");
System.err.println(e); -
I have about 800 topics in a RoboHelp HTML help project. I
need to send the files out for translations, so I need to get a
word count. Is something in RoboHelp that will generate a word
count on all files in a project?I use this all the time:
http://www.globalrendering.com/download.html
Its a free tool called Translator's Abacus and it can count
words in any set of files.
Jeanne -
I am working with the evaluation version of labVIEW as well and I have run into another error. I am using a MATLAB script node within a for loop and attempting to pass the for loop counter variable into the script. When I run the code it brings up a 1047 error and says "LabVIEW failed to send variable to the script server. Server:"" ". I looked up the error online which seems to have roots in a failed auto initialization of MATLAB. Is there something that I can do in labVIEW to fix the problem or is it strictly a MATLAB error?
I really appreciate your help.I'm using Labview 8.6 and Matlab 7.9 2009b on windows 7 (64bit)
when I tried to open the Lorenz Diff Eq.vi....it woes not work and gives the error
Error 1047 occurred at LabVIEW: LabVIEW failed to send variable to the script server. Server:"" in MATLAB script node - Lorenz Diff Eq.vi
I think there is no inital communication for opening the MATLAB server
any can help?
A.Hakim -
Problem with HTML Help import lib
I am doing a project and using HTML help as the help system. I have done
this with other projects on the same PC (in a different directory) just
fine. When I try build my specific new project I get
3 link errors
undefined symbol __imp__RegCloseKey@4 referenced in c:\supervisor
console\htmlhelp.lib
undefined symbol __imp__RegQueryValueExA@4 referenced in c:\supervisor
console\htmlhelp.lib
plus one more
Could the problem be the space in the directory name "\supervisor console"?
I am at a loss to what is missing from this new project. I am including the
same htmlhelp.lib as in the other project.We are using designer/headstart 6i.
Within Designer we have build a Module component with
several Sub components.
The Headstart HTML Help Generator doesn't seem to
allocate a context help ID prefix/suffix, for
(unbound-) items that are placed on the
sub-component.
Hello Mark,
I modified the generator so that it also generates help for items on subcomponents. Send me an email and I will send you the modified sources.
Regards, Rob -
What Class/Method/Object's would I use to send variable form data to BradySoft? I have a basic label setup in BradySoft and I want to send it variable form data (a serial number) from Labview ActiveX. I have attached Brady's ActiveX programmers guide but can't figure out what to use for this. P.S. I would call Brady or TekLynx tech support about this but they have a strict policy whereas BradySoft supports ActiveX but their tech support doesn't provide programming help with it. I figured I'd try the NI Forums.
Aaronb, I presume by publishing an ActiveX programmers manual the BradySoft software installs Active X objects. You may choose to interact with these objects within LabVIEW using Active X controls. The following link will provide a starting point for LabVIEW help topics on Active X communication: Select ActiveX Object Dialog Box
http://zone.ni.com/reference/en-XX/help/371361F-01/lvdialog/insert_active_x_object/
Building a Simple Web Browser Using ActiveX (Example of ActiveX arcitecture)
http://zone.ni.com/devzone/cda/epd/p/id/81 Hope this helps provide a bit of guidance. Cheers! -
NativeProcess: how to send variables between AIR and C#?
Hi, how do I make AIR send variables to C#? And how do I make C# send variables back to AIR?
Please help!You can send arguments back through the standard output of your c# code.
maybe this can help ?
http://www.adobe.com/devnet/air/flex/quickstart/articles/interacting_with_native_process.h tml
regards,
Alain -
Hi All,
My requirement is to send emails. I am using javamail and it works fine. But the body of the email should be in table format.
I am planning to use Html as below. But don't know how to combine html in java. Is there any other way of achieving it ? Please let me know if I am not clear.
<htm>
<table border="1">
<tr>
<td bgcolor="red">Header</td>
</tr>
<tr>
<td bgcolor="yellow">Sub Header1</td>
<td bgcolor="yellow">Sub Header1</td>
</tr>
<tr>
<td bgcolor="green">Values</td>
<td bgcolor="green">Values</td>
</tr>
</html>so, do I need another method which tells Java whereto output the HTML Tags ?
The method writes to a PrintWriter defined somewhere,
you can also pass the PrintWriter as third argument
to the method.
To generate a String containg the whole HTML Dokument
you would write something like:
StringWriter stringWriter = new StringWriter();
PrintWriter printWriter = new
PrintWriter(stringWriter);
writeStartTable();
writeStartRow();
writeCell("BlaBla", "green");
printEndTable();
printWriter.flush();
printWriter.close();
stringWriter.close();
String content = stringWriter().toString();
BodyPart mailBody = new MimeBodyPart();
mailBody.setContent(content, "text/html");
I was succesful in sending mail using HTML format. Thanks for ur reply.
But if I try send the mail in HTML format along with an attachment, the MIME type defaults to "text/plain".
Is there a way to set the MIME type to "text/html" when I send mail with an attachment.
Please help . Let me know if I am not clear -
Sending emails in HTML on iPhone?
How do I configure the iPhone 5 to send emails in HTML?
Lucky I stopped by again
We have heard of this problem from a small number of people over the last few weeks.
Briefly it seems that some contacts can be formatted weirdly in your address book. The easiest solution seems to be to export the problem contact as vcf and reimport, which cleans the contact in some way, then it should be fine.
More on solubleapps.com/MailShot-support, if you haven't visited there already.
Any problems please get in touch on our support email address and we'll try our best to help. Also Watch for the new update in a week or so.
Cheer, Peter
Maybe you are looking for
-
I would like someone to help.
-
Magic Bullet Looks is fixed...
For those of you who use Magic Bullet Looks, you may have noticed that it didn't work so well with CS4 - no preview image. Well, Red Giant released an update today. So far, it works great. I did catch one little bug in that you need to have the play
-
We have to add an VG224 in CUCM..and there is a MAC id need to be add. How we are gonna get that MAC, is there a command while logging into vgw that we need to give to get that MAC.
-
Advice on how to design this style of icons
I am very new to AI and want to develop some icons for Android OS (Please see the image below as an example of what I am referring to). It seems they all have a similar style -- simple, clean, drop shadows around the icon, and linear gradients. 1. Ar
-
My theory on why the 1.0.1 update won't work for some...
Ok, I've racked my brain and this is the only thing I could come up w/ because I'm following the instructions to a tee. I took a closer look @ the Firmware Update page and noticed this: "It now runs on localized systems that use languages that read r