I just added AdControl to my app, and want to frequently change ads on it.
So I set IsAutoRefreshEnabled = True. But I cannot find detailed information about how frequently the adds will be changed.
Can someone help me with this question, please?
Thx
I finally found the answer.
After 1 min. of showing ad a request for another ad is send, and when the new ad is downloaded it is shown. Usualy abouth 1-1,5 min when IsAutoRefreshEnabled set to "True"
Hope it helps :)
Related
I have 2 questions.
1. I keep getting signal SIGABRT and I don't know the issue. There questions didn't help. Project below!
2. When I get data from a website(mine) how would I display it in my table? Thanks.
Download: https://ufile.io/2sso0
The issue you get is when something isn't hooked up properly, like an outlet. Do you have some sort of outlet that you're not 100% sure works? If so, delete and add it again. Also something that I do a lot when I get this issue is to right click(two finger click) on the yellow circle on your view controller. Then if there's a yellow triangle, I click on the x and delete it. That fixes it for me.
I've added adDuplex to my App,
i've done :
1- set ad unit name
2- Add AdDuplex SDk
But one request i couldn't complete it,
which is "create a banner".I've made the app as template and target to the same app , but i cannot saving it .
Any ideas?
Thanks
To create a banner in AdDuplex you first have to insert 4 lines of text ad and then press save. Saving will fail if these lines are empty.
I am trying to send Iconic Tile Notification from Server to Client using node2dm. Node2dm provides us with 'mpns' module which I am using to send Messages. I want my notification to look like the first tile in the image and not like the second one.
Now I have two issue.
=>. First is, I am able to send notifications of second type where notification count appears in a circle. But I am not able to clear that notification count. I used
mpns.sendTile(pushUri, backgroundImage, count, title, backBackgroundImage)
for this. I tried sending count=0 for clearing the notification from tile but it didn't work.
=>. Second problem is, I tried sending notification of first type from above image since I was not able to clear the notification count for previous one. And also this looks more elegant. For this I used
mpns.sendIconicTile(pushUri, backgroundColor, count, title, iconImage, smallIconImage, wideContent1, wideContent2, wideContent3)
But with this. I am not even getting any tile update at all. There is an option of providing id in sendIconicTile() function, but I dont know what to pass it there. I don't have an id for my tile. Its primary default tile which I am trying to update, not a secondary tile. So I think 'id' shouldn't be required.
Can someone please help me with this. Or suggest some other way to update my tile.
Ok, I'm not familiar with node2dm, but I'll try to help. For the first problem, if you were sending notification by yourself you would set this line <wp:Count Action="Clear"></wp:Count> in notification XML payload. Now I'm not sure if you can do that with node2dm, but they should provide a way to set that.
The second problem looks as your client application doesn't have Iconic tile template. You need to change that in you app's WMAppManifest.xml. It needs to look something like this
<Tokens>
<PrimaryToken TokenID="YouAppNameToken" TaskName="_default">
<TemplateIconic>
<SmallImageURI IsResource="false" IsRelative="true">TileIcon.png</SmallImageURI>
<Count>0</Count>
<IconImageURI IsResource="false" IsRelative="true">TileIcon.png</IconImageURI>
<Title>Your title</Title>
</TemplateIconic>
</PrimaryToken>
</Tokens>
I'm working on a game and weird bug happens, when i want to display scores.
For example it shows 5 instead of 75. It happens sometimes, not regularly and only for a moment, until variable will change again.
The code is simple:
point_txt.text = String(points);
When I check variable "points" with trace(); it shows correctly.
Anyone got the same problem and know how to solve it?
This should fix your problem:
point_txt.text = String(points);
point_txt.width = point_txt.textWidth;
Cheers!
Change from the Properties panel Behavior: Single line
This is likely a question I know the answer to but from a logistical point of view I want to just make sure. A client has asked if it is possible to have an ad unit that will contain a few form fields. If a customer fills in part of these details and then hits "submit" they will be taken to the actual form whereby the data that they entered previously will be pre-populated.
Programatically I believe this is possible (using an iframe?) but as this is going to be coming from an ad unit (more specifically a SWF file) I want to know if this is going to be possible. Could it be done using HTML5?
I know this isn't much information but at the moment it's all the info I have - I will try and update the question with more when I can. Thanks!
Use externalInterface:
import flash.system.Capabilities;
var playerType:String = ExternalInterface.call("function(){return Capabilities.playerType}")
to do this, as in the following examples:
JavaScript and ActionScript Converse
Flash and JavaScript can Interact
Flex and JavaScript